Given an infinite stream of numbers, find the top 50 integers. What's the data structure to use, and what's the time complexity.
Development Engineer Interview Questions
37,103 development engineer interview questions shared by candidates
Write a program to find the square root of a double.
Write a function to search for a string within another string. Analyze it's complexity, and propose optimizations.
Write a program to check if a number has rotational symmetry i.e is the same when rotated by 180 degrees. Ex 1691, 181, 11, 1001
Write a function that takes in an array and repeats an integer that appears the most.
Given a string of Rs and Gs, design an algorithm to produce a string with Rs in the front and Gs after that. The number of flips from Rs to Gs or otherwise should be minimum. The number of Rs and Gs in the end need not be same as that in the beginning, however the length of the entire string should be the same.
General Questions about leadership principle, 3 coding questions and 1 system design question
First question was to find all numbers that occurred an odd-number of times in an array and second question was implement a stack that could return the largest number in the stack at anytime.
Check if tic-tac-toe has a winner
Write a program to determine if a character array is an anagram of another character array.
Viewing 131 - 140 interview questions