leetcode

This page is an attempt to solve leetcode problems with Rust. The whole page is synced per day with my personal fork of leetcode-sync, note we only kept the latest submission, and to simplify the process, I write the intuition as comment in submissions.

I tries to write the solution in the most elegant and idiomatic way as possible after referring to others’ solutions, although sometimes leetcode doesn’t make it easy.

problems