What will be printed by this python program: class Parent: x = 0 class Child1(Parent): pass class Child2(Parent): pass Parent.x = 1 print(Parent.x, Child1.x, Child2.x) Child1.x = 2 print(Parent.x, Child1.x, Child2.x) Child2.x = 3 print(Parent.x, Child1.x, Child2.x)
Quantitative Interview Questions
10,167 quantitative interview questions shared by candidates
Brain teasers and Monte Carlo Simulations
What are python data structures? Tell us about the courses you did in school. Tell us about your projects
How do you balance priorities?
I was asked to describe which specific techniques were used by the strategies.
Standard SJT style questions but you rank them 1-5
expected tosses to find 4 heads in a row? expected tosses for THHH ? which of these will take lesser tosses? If you sample in a random series, then, there’s equal probability of finding THHH and HHHH but THHH takes lesser time to come, how do you explain this discrepancy?
standard puzzle with 25 horses, 5 lanes and minimum number of races required to find 3 fastest ones
How would you evaluate the algorithm?
The first and third ones are coding. The first is pretty easy. The third one I think is a leetcode medium to hard level. The second is a behavioral question.
Viewing 7371 - 7380 interview questions