Write a function that determines whether a given number is a prime. Discuss perf improvements.
Development Engineer Interview Questions
37,115 development engineer interview questions shared by candidates
Print all permutations of a string *using no extra memory\data structures* (pointer variables are ok) + after i solved that it became tougher - handle duplicates (E.g aaab permutation should not print duplicates)
how to reverse words in a string preserving the formatting
Shuffle Linked List
Find the max int in an onordered binary tree.
Diagonally flip a two dimensional array.
Given the root of a binary search tree, link all the nodes at the same level, by using an additional Node* level.
How can you write a recursive function calculating the exponential of a number?
The interviewer confused me like hell when describing the question. Every node of the tree has a pointer to its left most child. each node has a pointer to its next sibling. Its a BST. Find the smallest value in the tree.
How to get 4L from 2 containers of size 3L and 5L
Viewing 671 - 680 interview questions