General Questions about leadership principle, 3 coding questions and 1 system design question
Engineer Software Interview Questions
511,738 engineer software interview questions shared by candidates
Fastest way to find the middle node in a linked list
In java and using math, check if a number is a palindrome.
Asked to write a method were it's passed an array of numbers and a single number. I needed to return true if there was two numbers in the array that if added totaled the single number. I was then asked to rewrite it to make it run faster.
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.
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.
Write a function that takes in an array and repeats an integer that appears the most.
Check if tic-tac-toe has a winner
Give an algorithm to find the kth largest element in an unsorted vector of integers.
Was asked a very interesting tree problem.Given a tree and a number N, construct another tree such that each node of the tree has either 0 or N elements,except for one node which has between 0 to N elements.Only other constraint is that ancestry is preserved in the new tree.
Viewing 861 - 870 interview questions