Computer Science, asked by banupriya02, 8 months ago

4
The daily temperature recordings of a city are stored in a dynamic stack for a period
of one month You are consulted to find the minimum temperature recorded in the entire
month, in constant time Write a program to accomplish this
Hint: Use another stack (dynamic stack). Push the new temperature into the first stack and
push either the neil temperature or the current minimum, whichever is minimum, into the
second stack At the end, retum the top element from the second stack as the minimum
temperature​

Answers

Answered by arshkherada
2

Answer:

bhai ye 1 questions he ya 10

Similar questions