Technical Given an unsorted array of numbers (that may contain repeated numbers), print or produce a data structure that contains all the pairs that have a sum equal to a number k. Do not include pairs that are the same numbers in a different order. Ex. [3,2,6,2,0,5,3,8,7,10] [(0,10),(2,8),(3,7)]
Software Engineer Interview Questions
467,307 software engineer interview questions shared by candidates
Implement a method to check if a tree is unival
string to int and add them
How would you code a function to tell the size of your CPU (i.e. if it is 32 bit, 64 bit etc.) without the use of sizeof or other helpful functions?
Given a string of words, reverse the words. Ex: "I like cats" --> "cats like I"
a coding question about given a lowercase string 'ab',write a program to generate all possible lowercase and uppercase combination {'AB',‘Ab’,'aB' and 'ab'}
The most difficult question for me was the coding questions. They asked about what a certain line of code did and then they had me code a sorting algorithm or sorts. I was asked to code a function that would find the first none repeated letter.
How would you design a database that allows these two tables to be stored and be infinitely expandable, while maintaining speed of execution?
//A program to find the sum of contiguous subarray within a one-dimensional array of numbers which has the largest sum. //{-2, 3, 3, -1, -2, 1, 5, -3} //{2, 3, 4, 1, 2, 1, 5, 3}
Something about an alien dictionary that I had to find the correct sorting of the letters.
Viewing 2141 - 2150 interview questions