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).
Software Engineer New Grad Interview Questions
3,069 software engineer new grad interview questions shared by candidates
cant say because I signed NDA
Variable length sliding window question
Given a list of generic items, describe/code the approach would you take to finding the most common item.
Two coding questions. I could barely answer one in the time given.
I was asked to solve a brain teaser involving chess. I think it was something to do with start and end position.
String manipulation/recursion problem. Was a pain to parse the format of the string they gave me; I got kind of flustered in some of it, but the recruiter said it was okay and that it was a messy question designed to see how you break up a big problem into smaller parts.
Min Heap, Longest Common Substring, DFS
How would you approach a full day of work given a collection of tasks you're assigned to do? (time management)
medium difficulty coding questions
Viewing 2221 - 2230 interview questions