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 Interview Questions
843,559 engineer interview questions shared by candidates
Why do you want to work for Openreach
Check if a String contains a number or not
What do the 400 series HTTP status codes represent?
Which programming language you most familiar with?
Why OVO
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
* Write a function, preferably in C or C++, to reverse a string.
Onsite Interview 2 a): check whether a number is the power of 2 b) Skyline silhouette puzzle . c) Discussion on uses of hash-tables and trees ? d) Few general questions on Work and academic background .
How would you determine if someone has won a game of tic-tac-toe on a board of any size?
Viewing 931 - 940 interview questions