Computer Hardware & Software interview questions

Sort: Popular Date
Sort: Popular Date
1 of 1 found helpful

“Make a program that writes a Binary Search Tree to a file. Now create a program that reads those files and recreates a Binary Search Tree.”

“Find the 20 longest strings in a text file.”

“Assume that you are given the head and tail pointers of a doubly linked list where each node can also have a single child pointer to another similar doubly linked list. There are no cycles in this…”

 * Suppose we have a sorted array in ascending order, with no duplicates:
 * {1, 2, 3, 4, 5, 6, 7}
 * Somehow an unknown amount of numbers at the beginning are shifted to the end…”

“You have a cake. How many straight cuts do you need to divide the cake into 8 equal pieces?”

“Given a binary tree, how would you set the keys/values of all the nodes and their child pointers to null. No language restriction.

Do it iteratively in O(N) time with O(1) space complexity where N…”

“How to compute top k numbers in an array?”

“Write a program to reverse the numbers (e.g 12345 to 54321), without using vectors.”

“Write an algorithm to verify if a tree is a binary search tree.”

“Most of the technical questions focused on power supply design. For this position this is a one of the more difficult tasks so they want to know how switching regulators work and different trade…”

7180 of 29,870 Interview Questions