Profile picture

Tsung-Yu Chan

Building things for the web. Curious, creative, caffeinated.

HomeArchivesCategoriesAbout
  • htop Cheat Sheet: System Monitoring & Troubleshooting

    A concise reference for interpreting htop metrics, color codes, and shortcuts.

    04/23/2026
  • Knuth-Morris-Pratt Algorithm

    A practical introduction to the Knuth-Morris-Pratt algorithm for string matching.

    12/09/2024
  • Sieve of Eratosthenes

    How the Sieve of Eratosthenes efficiently finds prime numbers up to a given limit.

    11/05/2024
  • Tmux Notes

    Notes on tmux basics, sessions, windows, panes, and useful shortcuts.

    11/04/2024
  • Checking Whether a Number Is a Multiple of Three

    A quick explanation of how to check whether a number is a multiple of three in O(1).

    11/03/2024
  • Modular Arithmetic

    An introduction to modular arithmetic, including modular inverses and Fermat's little theorem.

    10/19/2024
  • Merging Split Downloads from Google Drive

    How to handle and merge split downloads from Google Drive more efficiently.

    10/18/2024
  • Boyer-Moore Majority Voting

    How the Boyer-Moore majority voting algorithm finds elements that appear more than n/2 or n/3 times.

    10/16/2024
  • Binary Search

    An introduction to binary search, common variants, and C++ implementations.

    10/04/2024
  • Heap and Heap Sort

    An overview of heaps and heap sort in C++, including core operations and STL usage.

    08/31/2024
1 / 2Next →

© 2026 TsungYu Chan. Built with Next.js & Tailwind.