Consider a language that does not have arrays but does have
stacks as a data type.and PUSH POP..are all defined .Show
how a one dimensional array can be implemented by using two
stacks.
Answer Posted / gingercpu
One to pop and the other to push. Have to maintain all the
elements. Index converted to the # of push and pop
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
What is the size of structure in c?
Explain setjmp()?
write a programming in c to find the sum of all elements in an array through function.
Why c is called free form language?
What does it mean when the linker says that _end is undefined?
What are the different types of errors?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Is sizeof a keyword in c?
What is the significance of an algorithm to C programming?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
What is a wrapper function in c?
What is derived datatype in c?
What is int main () in c?
What is spark map function?