Given an int array int list = {4,5,6,1,2,...} and an integer int target = 8 Write a function to return all the pairs (x, y) in the integer array that x + y = target (remove the duplicate one)
Software Developers Interview Questions
96,169 software developers interview questions shared by candidates
What data structure would you use or design to implement a suggestion box for a user searching for someone in a telephone directory
given an array, all the elements in the array appear twince, only one element appears only once. Find that element. Eg, the array is 2 4 2 3 4 1 3 6 6, 1 should be the answer.
Implement a function in C that takes a string "Hey" and converts it to "[H][e][y]" with no return value
how different processes communicate with each other the advantages and disadvantages regarding multithreading vs multiprocessing given an input of integers that represent stock prices, how to get the best buying and selling price (notice you can only sell after you have bought the stock)
You're given a binary tree--not necessarily complete or proper--and you need to give each node a "friend" pointer that points to the node to its right in the tree. This node is on the same level but is not necessarily a sibling, which makes the problem a little tricky. The friend pointer of the node farthest to the right on each level should be null.
How can doctors encourage patients to take action on routine maintenance (e.g. cancer screening exams, vaccines), particularly when lacking any other reason to make contact?
Please write a function that accepts a floating number and returns its square-root. You may not use built-in square root function from your language. However, basic operators like addition, subtraction, multiplication are allowed. Please take into consideration the floating precision.
What way can you tell if an integer is odd or even?
There were some mathematical puzzles.
Viewing 281 - 290 interview questions