You are given a number n, you have to find all prime numbers from 1 upto n and print them (or save them in an array). A varriation is (which changes the answer) is you are given two numbers m and n and you are to find all prime numbers between them.
Engineer Software Interview Questions
511,683 engineer software interview questions shared by candidates
Swap two variables without using a temp.
Which programming language you most familiar with?
Check if a String contains a number or not
There is an array of size n which consists of any numbers from 1 to n .Find the numbers in the array which are appear more than once
Given a dictionary as a hashtable and a word. Find the minimum # of deletions needed on the word in order to make it a valid word in the dictionary.
write a function to calculate X^N
Find the least common root for 2 numbers in a BST
How would you determine if someone has won a game of tic-tac-toe on a board of any size?
If you have a ransom letter and magazines, can you construct the ransom letter from the words in the magazine.
Viewing 761 - 770 interview questions