different between array and heap
Software Development Interview Questions
36,968 software development interview questions shared by candidates
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.
Consider a simple array. What is the time complexity to insert, search, delete an element?
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.
Write a program to reverse the words in a string in place. for eg; " I am sam " --> " sam am I "
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
Target Sum from leetcode
You have a list of packages A, B, C such that A is dependent on B,C,D and B is dependent on D and C is dependent on E etc. Print the sequence of packages to run
Viewing 291 - 300 interview questions