This repository takes some of the public questions available from Leetcode and HackerRank and provides some sample solutions.
Note that the solutions are not necesserilly the most optimal - they are just sample solutions with passing tests to the problems.
These are the types of questions/answers expected from pair coding exercises in companies such as FaceBook, Google etc. Do not though they can sometimes expect an even more efficient solution!
Check specific packages for areas to cover, such as 'leetcode.fb.heaps.LargestTripleProducts' is a facebook style question on heaps.