Archive

Hello! This is the list of my Algorithm solutions.
The entries are sorted by last modified time by default, while the displayed date corresponds to the initial creation time, i.e., the first accepted submission.
For C++ solutions at LeetCode, we could close I/O synchronization to get a better performance.

Solution() { // close I/O synchronization 
    cin.tie(nullptr);
    std::ios::sync_with_stdio(false);
}

2026

2024

2023

2022