Java C C++  Interview  Top 30 Programs - Programming Questions Frequently Asked Programs
1) Write code to check a String is palindrome or not?
2) Write a method which will remove any given character from a String?
3) Print all permutation of String both iterative and Recursive way?
4) Write a function to find out longest palindrome in a given string?
5) In an array 1-100 numbers are stored, one number is missing how do you find it?
6) In an array 1-100 exactly one number is duplicate how do you find it?
7) In an array 1-100 many numbers are duplicates, how do you find it?
8)Given two arrays, 1,2,3,4,5 and 2,3,1,0,5 find which number is not present in the second array.
9) How do you find second highest number in an integer array?
10) How do you find middle element of a linked list in single pass?
11) How do you find 3rd element from last in single pass?
12) How do you find if there is any loop in singly linked list? How do you find the start of the loop?
13) How do you reverse a singly linked list?
14) How do you find depth of binary tree?
15) Write code to print InOrder traversal of a tree?
16) Print out all leaf node of a binary tree?
17) Write a program to sort numbers using quick sort?
18) Write a program to implement binary search algorithm
19) How do you sort Java object using Comparator?
19) Write code to check whether a no is power of two or not?
20) Write a program to check whether a no is palindrome or not?
21) Write code to check whether a no is Armstrong no or not
22) Write a program to find all prime number up to a given numbers?
23) Write function to compute Nth Fibonacci number? Both iterative and recursive?
24) Write a program to find out if two rectangles R1 and R2 are overlapping?
35) You need to write a function to climb n steps you can climb either 1 step at a time or 2 steps a time, write a function to return number of ways to climb a ladder with n step.
26) Write code for Generate Random No in a range from min to max?
27) Write program for word-wrap which should work on any screen size?
28) Design an algorithm to find the frequency of occurrence of a word in an article?
29) Write a program to implement blocking queue in Java?
30) Write a program for producer-consumer problem?


Kindly Share This Post »»

Responses

0 Respones to "Java C C++ Interview Top 30 Programs - Programming Questions Frequently Asked Programs"

Post a Comment

 
HOME | Freshers | Exp | Java | SQL | Walkins | OffCampus | BankJobs
=*= PRIVACY POLICY And DISCLAIMER =*=
Some of the stuff contained this site are found on internetThis site is not responsible for publishing all available Information as well accuracy, please check posted Information with its original sources, e.g. News Papers/ Websites etc.We collect all the Information form the Internet.
Software My Zimbio
Copyright © 2013 Career+ Blog +Google | Disclaimer | Privacy Policy | Contact