Coding Questions and answers from Hacker-rank and Leet-Code

Sometimes it's useful to have multiple examples of questions both similar and dissimilar. Most of the questions and solutions are asked in quantitative research/trading firms and are also utlized for machine learning positions to check pragmatic programming know-how.