TT/Solutions

  Don’t expect these are the best solutions 🐵.

Also don’t expect these to contain readable code! I may post a blog on my personal website on solutions design (so check that or something, if it exists).

I primarily code in C, C++, or Java. Occasionally, Python if we can abuse Python to solve the problem (or my hands are tired).

Currently, I am in love with Go (written on August 2025).

This is not a repository of all solutions or known solutions. Don’t you dare make a pull request or issue recommending changes or a solution to a problem. These are my solutions! So don’t get your monkey hands and try to improve upon them.

References

These solutions usually are just facelift-ed versions of your usual algorithms.

Steven S. Skiena. 2008. The Algorithm Design Manual (2nd ed.). Springer.

Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein. 2009. Introduction to Algorithms, Third Edition (3rd ed.). The MIT Press.

Steven Halim, and Felix Halim. Competitive Programming (4th ed.). Lulu Press.