questions were easy to solve 2d array question and classes-based callback function creation question. The follow-up questions were difficult. Optimal solution was answered but then the question was changed to cache topic and then I was asked how to optimize if we want to use cache. The question was 2d array in form of balanced binary tree and the last row decides if the root will be 1/0. If both children are 1 only then parent is 1 otherwise 0. For this cache was used later and I was asked to optimize it. We agreed till log(n) time complexity but the interviewer wanted something else.
Software Developer New Grad Interview Questions
2,866 software developer new grad interview questions shared by candidates
A shop in HackerLand contains n items where the price of the ith item is priceli]. In one operation, the price of any one item can be increased or decreased by 1. Given q queries denoted by the array queryll, find the minimum number of operations required to make the price of all items equal to each queryli] (0 ≤ i < q).
Variable length sliding window question
How would you approach a full day of work given a collection of tasks you're assigned to do? (time management)
Given a list of generic items, describe/code the approach would you take to finding the most common item.
first question of phone interview is about palindrome string, the second is about stack.
Min Heap, Longest Common Substring, DFS
medium difficulty coding questions
Odd string Do they belong
Design a room reservation system?
Viewing 2071 - 2080 interview questions