Save a tree to an array
Development Interview Questions
137,392 development interview questions shared by candidates
implement strtok
Given an unfair coin, devise an algorithm to produce a fair coin's output.
Probability of a knight making a valid move on NxN matrix in m steps.
Given a string of format '2+3*2-1', calculate and return the result. No parenthesis in the input, just integers and + - * / operators. Operator precedence has to be considered. Linear time complexity and minimal data structure use is preferred.
Given a triangle, determine if its a scalene, equilateral, isosceles or neither... required knowledge of triangle properties, I learnt these properties about two decades ago so ofcourse I was fuzzy on the details, completely unexpected
Design a data structure where insertion, deletion, data access and get random element are all done in O(1), i.e., constant time. (Without using STL or Hash tables)
What is a class?
Can more than one exception be there in one catch block?
Why do you want to join sales
Viewing 301 - 310 interview questions