Is this valid/what would this do (C): int *p; p=0; p++; printf("%d",p);
Software Interview Questions
550,668 software interview questions shared by candidates
f has the following contract: For any two strings, s1 & s2, then: f(s1)==f(s2) if and only if strcmp(s1,s2) == 0 Design a function that satisfies this contract.
given 2 unsigned ints a and b, return 1 unsigned int = a/b, rounded to nearest int without float operation
Implement the functions for a stack and function getMinimum() all with O(1) complexity.
Print a binary search tree. Each level on a new line.
How can one implement a queue with only a stack implementation?
Simple regex matching.
Write running code to print out the level order traversal of a binary tree
Phone interview questions: Given an array of numbers (1,2,3,8,0,2,2,0,10), move all 0s to the right end and all other numbers to the left while keeping relative order of non-zero numbers. Has to be linear in time and in-place.
Viewing 1291 - 1300 interview questions