Find loop in a Linked List
Que : Write a program to check whether there is a loop in linked list . For example see in the following figure we have loop : Method 1...
Posted by Admin on
Joins in Database
Explain all the Joins ? An SQL join clause combines records from two or more tables in a database. It creates a set that can be saved as ...
Posted by Admin on
Aricent Group Interview Experience Set 1
Aptitude Test The aptitude test was conducted online and consisted of 4 parts 1. English 2. Mathematical Aptitude 3. Computers( pseudo...
Posted by Admin on
MAQ Software Interview Experience Set 1.
Aptitude Test The first round was conducted on 15th November 2012,Ist round held on 14:00 and of 50 minutes.first round consists of 75 mu...
Posted by Admin on
Measure 45 minutes using two candles
Que : You are given a match-box and two candles of equal size, which can burn 1 hour each. You have to measure 45 minutes with these candl...
Posted by Admin on
SQL Complex Queries Interview Question Set 1
Que : You are given a table named Employee with columns EmployeeId, Name , ManagerId in it. Write an SQL statement to find out all the mana...
Posted by Admin on
One Rupee Mystery Puzzle
Que : Three friends rent a room for Rs.30 by paying Rs.10 each. The owner decides to give them a discount Rs.5 and gives it to the broker. ...
Posted by Admin on
Heavy or Light Weight Ball Puzzle
Que : You have eight balls: seven are the same weight, and one is heavier or lighter than the rest. Given a scale that only tells you which...
Posted by Admin on
Maximum 5 elements from 3 given Array
Write a program to find out the maximum 5 distinct elements from the 3 given array . For example if we are given three array as follows : ...
Posted by Admin on
Sapient Nitro Interview Solution Set -1
Round 1 : Written Round (Technical + Aptitude) Round 2: (Technical Interview) Que: What is the difference between C and C++? C:- ...
Posted by Admin on
3 Room Puzzle
There are three rooms, and there are Princess, Flowers and Snake in those rooms. The doors of all the rooms have incorrect nameplates. i.e....
Posted by Admin on
Power of 2
Write a program to check whether the given number is a power of 2 or not . For example if the given number is 8 then it should print true e...
Posted by Admin on
Swapping two number using third variable or without using third variable
Write a program two swap two number using third or without using third variable. For example if we have two num1=5 and num2 =6 then after ...
Posted by Admin on
Basic Linux Commands
Pwd: pwd command will print your home directory on screen, pwd means print working directory. /u0/ssb/ishant is output for the command ...
Posted by Admin on
Explain Volatile Keyword in C
Volatile keyword is intended to prevent the compiler from applying certain optimizations which it might have otherwise applied because ordi...
Posted by Admin on
Big Endian vs Little Endian
Big-endian and little-endian are terms that describe the order in which a sequence of bytes are stored in computer memory. Big-endian ...
Posted by Admin on
Move all zeroes to the end of array
Given an array , write a program to move all the zero to the end of array . For example if the given array is { 1, 0, 2, 1, 0, 3, 0, 0, 5 }...
Posted by Admin on
Count number of leaf nodes in a binary tree
Write a program to count the number of leaf nodes in a binary tree . For example if we have the following tree then it must return 3(as it ...
Posted by Admin on
String literal vs String Object in Java
How many objects will be created in the following cases : 1) String s1 = new String ("Everybrickmatters"); 2) String s2= ...
Posted by Admin on
Subscribe to:
Posts (Atom)