|
Microsoft Interview Questions (CPP)
|
|
C++ Algorithims which are commonly asked during Microsoft Interview. Click here to contribute new cpp interview questions in this section
|
| |
|
Combinations in a character array.
|
Write a program that takes input a char array and outputs all the combinations of the characters in the character array.
Example: consier char array {'a','b','c'}
the output shouold be abc,cab,bac,acb,cba,bca that is all the combinations of characters 'a','b','c'.
(Read More... )
Average Rating:  |
|
|
N-Queen Problem.
|
|
Write a Program to solve N-Queen Problem.
(Read More... )
|
|
Reverse a string
|
|
Reverse a string using recursive function
(Read More... )
|
|
Rewrite the StrTok() function
|
Rewrite the StrTok() function.
(Read More... )
|
|
Program the Fib Sequence without recursion
|
|
Everyone learns how to do recursion with the Fibonacci sequence in Programming 101. Do it programmatically without recursion.
(Read More... )
|
|
Implement and test a memcpy function
|
Given a function header (in fact an out-of context function call):
memcpy(src, dst, size)
Write an implementation and test cases.
Be sure to ask additional questions on what exactly the function does and the range of arguments as well.
(Read More... )
|
|
Implement an allocator
|
|
Implement a memory allocator, i.e. malloc function, free function and all data structures, needed for that.
(Read More... )
|
|
Write and test ATOI function
|
|
Write algorithim for ATOI function
(Read More... )
|
|
Clock Hand Angles
|
|
An asked question from MS Interview last year. Easy one...
(Read More... )
|
|
Reverse the pairs of elements in a single linked list
|
|
Given a single linked list write a function to swap each pair of nodes in the list
(Read More... )
|
|
|
|
|
|
|
|
 |
|
|
New Articles
Combinations in a character array.
Write a program that takes input a char array and outputs all the combinations of the characters in the character array.
Example: consier char array {'a','b','c'}
the output shouold be abc,cab,bac,acb,cba,bca that is all the combinations of characters 'a','b','c'.
N-Queen Problem.
Write a Program to solve N-Queen Problem.
Reverse a string
Reverse a string using recursive function
|
|
|
|
Most Popular Articles
Crazy Guy On The Airplane
A line of 100 airline passengers is waiting to board a plane. they each hold a ticket to one of the 100 seats on that flight.
What are your greatest weaknesses
Beware - this is an eliminator question, designed to shorten the candidate list. Any admission of a weakness or fault will earn you an âAâ for honesty, but an âFâ for the interview.
Question: Tell me about yourself.
Many candidates, unprepared for the question, skewer themselves by rambling, recapping their life story, delving into ancient work history or personal matters.
|
|
|
|
|
|
|
|
|