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
1,135,768 engineer interview questions shared by candidates
Why do you want to work for Openreach
Swap two variables without using a temp.
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 .
Viewing 1131 - 1140 interview questions