Describe advantages and disadvantages of the various stock
sorting algorithms

Answer Posted / amirtha

in stack we can use arrays.it is easy to implement.but the
push &pop can be done only at one postion.it has find
several real time applications like cars in a shed,no of
coins placed one above.

Is This Answer Correct ?    0 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is return a keyword in c?

602


What is the meaning of 2d in c?

617


praagnovation

1781


What are identifiers and keywords in c?

575


What is the usage of the pointer in c?

608






how to create duplicate link list using C???

2079


Lists the benefits of c programming language?

600


Explain what are the different data types in c?

762


Are the variables argc and argv are local to main?

793


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

4748


Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

1524


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

1909


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

1637


What are the usage of pointer in c?

708


Is malloc memset faster than calloc?

622