GS attempts

Attempt 1:

Written round: C++, SQL, Analytical reasoning

Round – 1:

  • Write a function to return angle between minute hand and hour hand at any particular time (as input)
  • Give nth number in Fibonacci series
  • Stack implementation

Round – 2:

  • Pirate and gold coin puzzle
  • Circular parking lot puzzle

Round – 3:

  • Given 20,000 numbers (in range 1-25,000), store them in a space of 4000 bytes
  • What is ‘Pure Virtual Constructor’?
  • When is copy constructor called? What about assignment operator?
  • c = a+++++b, how does compiler distinguish what is this?


Leave a comment

Filed under Interviews

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s