One good question I was asked in one of the interview in my career.
Implement Integer value Stack such a way that all the following operations are constant operation, i.e. O(1).
void push(int n) -> Pushes element n on the stack
int pop() -> Pops element from the top of the stack and return it.
int max() -> Returns maximum of all elements contained in the Stack at that moment.
Isn't it a good Question?
Implement Integer value Stack such a way that all the following operations are constant operation, i.e. O(1).
void push(int n) -> Pushes element n on the stack
int pop() -> Pops element from the top of the stack and return it.
int max() -> Returns maximum of all elements contained in the Stack at that moment.
Isn't it a good Question?
38DC367EA2
ReplyDeletekiralık hacker
hacker arıyorum
belek
kadriye
serik
0B107A4FCD
ReplyDeletekiralık hacker
hacker arıyorum
kiralık hacker
hacker arıyorum
belek
A0F8950E94
ReplyDeleteGörüntülü Show Uygulamaları
Whatsapp Ücretli Show
Görüntülü Sex Sohbet
D34241A194
ReplyDeleteWhatsapp Görüntülü Show Güvenilir
Skype Şov
Görüntülü Show