File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
2nd Year DATA STRUCTURE/Assignment 1 Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ # QUESTION
2+
3+ * * Implement the ADT Array using C programming language . Allowable range of
4+ data may be integers . Implement the functions like Display ( ), Insert ( ), Delete ( ),
5+ Reverse ( ), RemoveDuplicates ( ), Replace ( ) and Search ( ). The first five functions
6+ are as discussed in the class . Replace ( ) and Search ( ) is defined as follows :* *
7+
8+ * * Replace (A , n , x , y ) – Element ‘x ’ will be replaced by element ‘y ’ in the array ‘A ’
9+ of size ‘n ’.* *
10+
11+ * * Search (A , n , key ) – the Array ‘A ’ with ‘n ’ elements be searched for the value
12+ ‘key ’. The function should return the first position of the occurrence of the ‘key ’.
13+ Will return (-1 ), if the element is not present in the array .* *
14+
15+ # ANSWER
16+
You can’t perform that action at this time.
0 commit comments