Ho presentato la mia candidatura tramite segnalazione di un dipendente. Ho sostenuto un colloquio presso Doctor Insta (Gurgaon, Haryana) nel mese di feb 2019
Colloquio
I've applied through referral. An assignment containing 2 programs have been given to me and i had to submit it with in 3 days. Then , I have been called for interview . Well, a written test was conducted containing basic python questions. After passing that interviewer asked me a few questions to check my logic in programming
Domande di colloquio [2]
Domanda 1
A binary list is given containing " 0 and 1 " . I've have to sort the list as [0,0,00,0,00,0,0,1,1,1,11,1,1....] . But, i was not allowed to use sort /sorted inbuilt function and you can use only one loop either while or for loop and that also even once and only in this list , not allowed to make another list also.
If i have given 2 stacks then how will i use push and pop method that when i use pop ,the value got remove but where do i store that value so that i can use it again if i want using push method.