Algorithm LeetCode Data Structure For every problem I tried my best to come up with as more solutions as I can, including those not accepted. And in every solution I added my thinking about how to solve it and why it failed, mostly with time-complexity analysis and test cases.