You have two arrays with N integers in them. Merge those arrays using a recursive algorithm so that the integers in the final array are sorted.
Software Interview Questions
747,653 software interview questions shared by candidates
given a number as a string write a algorithm to map to its oral description. I.e. "1" -> "11" //this can be thought of as there is one one. "11" -> "21" // there are two ones "21" -> "1211" // there is one two and one one "1211" -> "111221" ect. //there is one one, one two and two ones
How to find the only different number in two unsorted arrays?
You are going to take some numbers as an input from a file. You need to witer a program to find longest increasing sequence. You should process it as soon as you are taking an input. After finishing the last input immediately you should be able to tell the sequence. Input: 1 5 3 4 6 4 Output: 3 4 6
Q: Write a function that can tell if a string is a palindrome regardless of punctuation or capitalization?
Given two unsigned integer values, write a function that returns the first divided by the second. You cannot (of course) use div or mod operators - only addition, subtraction and multiplication. Discuss the strengths/weaknesses/algorithmic complexity of your solution. Is there a better way to do it? If so, what, and what is its complexity?
A list with a set of integers. All elements appear even number of times while one appear odd number of times. Find this number that appear odd number of times
Design a system for counting how many times an item is clicked on. You need to record clicks and be able to report how many clicks for a given item. Be able to report which items are the most popular. Keep in mind scalability, since this is Amazon we're talking about.
What is the time complexity of your solution?
If we write for(i=0;i<10;i++); printf("%d",i); What will be the output?
Viewing 661 - 670 interview questions