Find the least common ancestor of 3+ nodes, in a binary tree wher the nodes only point to their parents. No child pointers.
Softwareentwickler Backend Interview Questions
513,117 softwareentwickler backend interview questions shared by candidates
Given an array and a sum, determine if any of the items add up to sum. Do a linear space solution and constant time solution.
in an array of characters find the character that is repeated the most
Write production quality code to find whether a given binary tree is a BST or not. You can't make any global variable.
Given an array of integers [1,2,3,4]. and target t = 5. Come up with a solution that will print out all the unique pairs in the array that are equal t.
Find the angle between the hour hand and the minute hand on a clock given the hour, minute and second.
Write a program to reverse the words in a string in place. for eg; " I am sam " --> " sam am I "
Difference between an array and a linked list
How to find the unique integer in an array, where all the other numbers appear twice.
Questions are easy if you've practised using CTCI & Leetcode
Viewing 2011 - 2020 interview questions