Implement the "see and tell" algorithm with a given seed number x and a number of iterations y. Output the result on iteration y
Software Interview Questions
551,665 software interview questions shared by candidates
Given a sorted array, write a program to decide if two elements sum up to a third.
print out all prime numbers in a given string. abc2134kd31 -> 2, 13, 3, 3
Given a string, remove all the duplicate characters (not necessarily consecutive)
Given a page size and a number, align the number with the nearest page. (Note: This was a phone interview question. The interviewer and I used an online document to share ideas about this problem.
An optimal algorithm to check whether a hand of cards was a full house (in Poker) or not.
Only they need money no interview questions
Just one question: shift an array to the right by n positions such that the right most indexes are become the first ones and the first ones move ahead. like: 1 2 3 4 5 --> shift by 2 --> 4 5 1 2 3
There is an NxM grid containing a robot at (1, 1) and a destination at (N, M). Robot can move only up or right. Some locations can have obstacles. Find the number of unique paths from (1, 1) to (N, M). What is the time complexity of your algorithm?
Viewing 201 - 210 interview questions