Principal consultant Interview Questions in Bangalore, India |

Principal consultant Interview Questions in Bangalore


principal consultant interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

analytical- there are 50 floors in a building. You are given two balls which can break at a certain f trheight . Give a solution where you can determine the critical height at which a ball breaks. the solution should be optimised to give the least no. of tries for the worst case scenario(i.e where the ball breaks on the 50th floor only)

3 Answers

think over !!

first ball --- throw it every floor from the iteration the second balls breaks second ball --- throw it every 3 or 4 or 5 floor ... When the second ball breaks, you know there are only 3 or 4 or 5 floors to check ... O (log n) complexity ... best case O(1)

i'll go with binary search procedure..since it stands a better chance

How will you save a hierarchical data into a file.

2 Answers

How to reverse the linked list

1 Answer

*How to find out the inorder successor of a node in a tree??

1 Answer

Check if a pattern string is present in base string

1 Answer

Write a program to match starting of a query string and return all matching words from the dictionary.

1 Answer

Discussion of solution design to Question 1

1 Answer

Design of a dynamic Pricing engine for Hotel/Flight/etc booking

1 Answer

don't remember many of the difficult tech questions.

1 Answer

Scenario based solutions; Performance tuning; Basic questions; like which index you create in which scenario and why? explain and counter questions like what will happen if we create X type of index instead of Y type.

1 Answer