How do you find the fifth last element of the linked list using only one traversal
Software Engineer Staff Interview Questions
420,519 software engineer staff interview questions shared by candidates
Give a similar one here: Find 4 numbers in an integer array and they sum zero
How to decide if a graph is acyclic?
Find duplicate elements in two lists
NDA. Study algorithms and data structures. I used Cracking the Coding Interview
Delete node in BST
Remove an item from a singly linked list. Next: do it with no additional memory usage
Difference between c++ and java?
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
Staircase problem: Given a stair of size N and two ways to reach next step, take 1 step at a time or take 2 steps at a time. What is the total possible ways you can reach staircase of particular length?
Viewing 1441 - 1450 interview questions