1. If a node of a binary tree caught fire, and it can make its children and its roots to get caught. what is the time taken to get the whole tree burnt? 2. Write the code for finding height of binary tree.
Development Intern Interview Questions
5,458 development intern interview questions shared by candidates
he then directly moved to DSA he asked me about the DS concepts i know based on that he asked total 3 dsa questions 1st Q Valid Parenthesis 2nd Q Check whether the tree 2 is subtree of Tree 1 or not 3nd Q LCA in BST
How would you design a database for a highschool?
Given a string of characters figure out how many palindromes are in the list of words.
Implement a modified bubble sort.
Given a 32-bit integer, return a list of all bit positions of that integer that are set to 1.
Not really difficult
They ask questions about your resume, (my projects and experience). Then they ask behaviour questions, like what if this/that.
What constitutes good code?
Normal interview, no unexpected question
Viewing 1731 - 1740 interview questions