What is the most difficult decision have you ever made in Software Development ?
Software Development Engineer Interview Questions
33,184 software development engineer interview questions shared by candidates
Implement a stack that supports push, pop and mode(the one from statistics) operation. Gave an O(log n ) push and pop and O(1) mode operation.Another good question was implement atoi function. I assumed it as base 10 but was asked to support from binary to any base numbers(even base 50).
second question. No idea how to implement in O(1) time.
Most questions are around data structures. Also expect word puzzles, like write an algorithm to spell out actual numbers. E.g. 121 -> "One Hundred and Twenty One".
Give you an array of integers without duplication. Let you write a piece of code to return the pairs that their sum is 100.
Given an array of integers and k, print all the pairs of numbers (a,b), both of them inside the array, such that a+b=k
Most efficient algorithm for sorting infinitely long array
Questions related to stacks, queues (Eg:Implement a queue using stacks) Trees were heavily asked as well (Print a tree spirally, check if one BT is a mirror of another BT)
Sorting a list of some random type
The input to a function is an array of n elements.Output of that function is also an array where each element is product of all elements in the input array except the one with same index. Input ::::: 1 2 3 4 Output ::::: 2*3*4 1*3*4 1*2*4 1*2*3
Viewing 711 - 720 interview questions