Typical types of tree questions, such as finding the maximum tree length, closest path to various sets of nodes, along with being able to detect levels of all nodes as efficiently as possible.
Developer Intern Interview Questions
12,170 developer intern interview questions shared by candidates
Print a path of knight in chess
Discussed about my academic projects.
Find the number of binary trees with N leaves.
Nothing of that sort. Was pretty simple. Was asked to find all valid paranthesis strings of length "2n" given an integer "n".
Given the head of a linked list, return the middle node.
You have three beans and a double-pan balance scale, one bean is heavier. How do you find the heaviest one?
Describe how the producer-consumer problem works
No difficult question
1) Started with a DSA question . The problem was : There are n companies ,each company with certain number of products(say , Mi is the number of the products of ith company , where i=1 to n) . Given ratings for each of these products . You have to return the order of products from highest to lowest rating on a condition product should be in a roundrobin fashion . 2) followed by few SQL queries . 3) Finally some HR questions , like behavioural .
Viewing 751 - 760 interview questions