Explain why do you use Ref hook and how do you use it? (They expected the answer in code level)
Engineer Intern Interview Questions
18,210 engineer intern interview questions shared by candidates
I was asked about a time when I had a disagreement with a colleague and was able to resolve it
Open ended coding question about taking data, preprocessing it, and then turning it into a linked list and displaying information about it like (print all above x, all above y, etc. ) Analyze complexity, change it to be faster, etc.
How to traverse to the middle of a Linked list ?
They gave me a short C++ class and main function and asked, line-by-line, which constructor or destructor runs at each step and why, and to point out any memory-management issues (copy vs. assignment, leaks, uninitialised members).
Get k nearest coordinates to the origin given a list of n coordinates.
Given a string of type “(({X}({Y})))(Z)”, determine the max depth of nested parentheses in the string. Answer is in this case 4. Parentheses without variables in them do not count.
Given a bipartite graph, separate the vertices into two sets.
check palindrome, print subsets, multiply numbers in string.
https://leetcode.com/problems/two-sum/ and some same level and hard DSA questions
Viewing 1531 - 1540 interview questions