Given a array (it has some zeros and non-zero numbers), sort it such that all zeros should go to the right side of the array and non-zeros numbers shouldn't change the order ex: 2, 0, 3, 1,0,4 ==> 2,3,1,4,0,0 Conditions: shouldn't use extra space (temp variables ok), should do in 0(n) time
Engineer Software Interview Questions
419,836 engineer software interview questions shared by candidates
A C coding test without using any library functions to do some string manipulation.
Can we use the final keyword with the constructor?
Differences between Perl and Python
Logical questions on programs
C programming questions typically asked in interviews.
More qns about pointers! And assignments in if and while looks. if ( a = b) {} and while(a=b) {}
Swap two integers without using additional variable.
1. Write a code for bubble sort. 2. What are the osi layers and explain them. 3. What are pointers. 4. A puzzle : We have two pits with capacities of 5 and 4. How will you measure 2 litres of water with these pots.
Write a code that gets a sentence and print the sentence in reverse. e.g. "My name is John" -> "John is name My"
Viewing 3391 - 3400 interview questions