Q: minimal deletions needed to form a palindrome
New Grad Software Engineer Interview Questions
2,866 new grad software engineer interview questions shared by candidates
Given a binary tree root and function which prints the value of the node at the (x,y) position in the screen, write a function to print the entire tree in the screen. A lot of edge cases to take care here... 1. The resolution of the screen (its dimensions). 2. Cannot collapse two values at the screen. 3. How do you take care of large numbers on the same vertical line? 4. This was the follow-up question. Maybe it was because I first started with using the same distance for all the children at the same level. The question was to optimize the distance used. For example to use only distance 1 if I didn't need more. Some examples to understand what I talking about. 1 d=1 / \ d = 1 2 3 1 / \ d = 2 / \ 2 5 / \ / \ d = 1 3 4 6 7 You can not use d=1 at the first level because 4 and 6 will collide.
How are the malloc and Free function in C is working? How will you construct one?
Binay Tree Lowest Common Ancestor
Construct a binary tree with the preorder traversal string and the inorder traversal string.
Reverse Words in a String Find Path in a Maze Find Pivot in Sorted Array
Run length encoding and Dynamic programming problem using matrices. The run-length is pretty easy using a stringbuilder and iterating over each char in the string they pass through as an argument. The other problem was iterating through a matrix using two different reference points and finding shortest path between the two.
Create a tic tac toe game
girl i dont remember its been like 2 years
2 recursion problems, and other 2 were leetcode easy-medium
Viewing 1441 - 1450 interview questions