Sort a topologically sorted linked list with both positive and negative numbers
Sde Interview Questions
16,612 sde interview questions shared by candidates
Find most repeated number in list, and also find how many times it's repeated. Find diameter of tree (max length between any two nodes) etc
problem on array of arrays
debug a sorting array function
rearrange the string so that no consecutive characters are the same.
A OOD design question: design a pizza shop in any language.
Directly Coding Optimal approaches without even Self-intro, The two were, first character of repetitive letters in a word and something similar to count occurrences in a sorted array
All the regular behavioral questions were asked, for example, “How do you take criticism?” and “How do you identify the root cause of a problem?” They weren’t particularly tough, but each question had multiple follow-ups and could be quite grilling. The LeetCode questions were recently Amazon-tagged and were only minor variations of those.
Behavioural type of questions focusing on certain role or scenario
They asked me to solve a problem on finding the longest substring without repeating characters. I explained my approach using a sliding window technique, optimized it to O(n), and implemented it in C++.
Viewing 621 - 630 interview questions