Smarkets interview question

Graph, array, and string manipulation questions. Popular questions on Leetcode.