Write code to do a k-way merge of sorted lists
Software Intern Interview Questions
17,721 software intern interview questions shared by candidates
Write a binary search in a BST.
reverse a string
Given two arrays with numbers, to return an array containing only those numbers occurring in both the arrays
Find all of the non-concentric palindromes in a string. Do so in linear time.
difference between an array and a vector.
Play a game that always starts from you. Each time you can only pick up 1 or 3 or 4 coins from the table. Who leaves the enemy with no coins to pick up wins the game. Assume that your enemy is super intelligent that if there is a way he/ she can win, he/ she wins. Question: Write a function to return if you will win or lose the game say given n coins on the table.
How would you find the second largest integer in an unsorted array? Write the code.
Given a text file, perform a pre-processing step to create a DS; so later when queried for a word, the lookup is very fast.
How do you check if the 5th bit is a 1 in a binary number
Viewing 2011 - 2020 interview questions