Solutions to typical software engineering puzzles used in job interviews. Learn deeper coding skills by understanding algorithms and datastructures used in the tech industry.
Reverse a singly linked list
Given a reference to the head of a singly linked list, reverse it and return a reference to the head of the reversed list.
Sum of two elements (2sum)
Given an array of integers and an integer target, return indices of the two numbers such that they add up to the target.