We have numbers from 1 to 52 that are put into a 51 number array, what's the best way to find out which number is missing?
Software Engineers Interview Questions
419,816 software engineers interview questions shared by candidates
Find nth fibbonacci number in less than 0(n).
NDA
Given two sets of numbers find the elements in A that appear in B (set intersection)
Write a function which takes two strings as parameters and returns a string of common characters between the two strings but no duplicates. Use hash table to implement the algorithm.
Hardest Q was: Here's a binary tree: find the longest path within it. So, find a path between any two leaf nodes, where the path is the longest.
1. Implement a method that verifies if one string can be constructed by another. E.g: "aaabc" can be constructed by "aaabbbccd" 2. Given a linked list containing numbers (Node element), implement a method that returns two lists: one containing even numbers and one odd numbers - without allocating new list elements.
Write a function to calculate build order given a project with a list of dependencies that also need to be built
Some project related questions like choice of datastructure and how would i optimize the code
Given an infinite number line from -INFINITY to +INFINITY and we are on zero. We can move n steps either side at each n’th time. Find minimum number of steps to reach k.
Viewing 2501 - 2510 interview questions