Hot Favourite Interview Questions : Programming Test
Part-1
1. Check Prime number2. Find factorial of given number3. Fibonacci series4. Palindrome check for string (input is string)5. Palindrome check for number (input is 'int' number)6. Reversing a number (input is 'int' number)7. Patterns printing-> Outputaababcabcd-> Output1121231234-> Output543215432543545->Output122333444455555->Output1121231234123121->Output12 23 3 3->Output (diamond)** ** * ** * * ** * ** **8. Anagrams program( Defn. Two strings can be said as anagrams if they have same number of occurrences of each individual characters in any order of arrangement)ex. shyam have angrams yashm ysham etc...
Part 2 : 1. Sum upto n numbers using for or do-while or while loop2. Matrix operations : Addition, Multiplication for 3x3 Matrix3. Implement sorting : ascending descending.4. IMplement Binary search5. In an array from a given range (say 1 - 100) numbers are stored in random order. Find the missing number. example :give range : 1 - 10Enter numbers in array : 7 5 3 4 2 1 8 9 10ans : 6 is missing6. Reversing a singly inked-list7. Find the third last element from linked-list in a single pass8. Middle element of the linked list in a single pass9. Amstrong number10. Find all prime number upto a given number
Friday, 9 January 2015
Interview question
Saturday, 20 December 2014
Monday, 13 October 2014
Subscribe to:
Comments (Atom)