cd kamyu104
cargo test
# | Title | Solution | Time | Space | Difficulty | Tag | Note |
---|---|---|---|---|---|---|---|
0136 | Single Number | C++ Python ------ Rust |
O(n) | O(1) | Easy | ||
0137 | Single Number II | C++ Python ------ Rust |
O(n) | O(1) | Medium | ||
0190 | Reverse Bits | C++ Python ------ Rust |
O(1) | O(1) | Easy | ||
0191 | Number of 1 Bits | C++ Python ------ Rust |
O(1) | O(1) | Easy | ||
0201 | Bitwise AND of Numbers Range | C++ Python ------ Rust |
O(1) | O(1) | Medium | ||
0231 | Power of Two | C++ Python ------ Rust |
O(1) | O(1) | Easy | LintCode | |
0260 | Single Number III | C++ Python ------ Rust |
O(n) | O(1) | Medium | ||
0268 | Missing Number | C++ Python ------ Rust |
O(n) | O(1) | Medium | LintCode | |
0318 | Maximum Product of Word Lengths | C++ Python ------ Rust |
O(n) ~ O(n^2) | O(n) | Medium | Bit Manipulation, Counting Sort, Pruning | |
0342 | Power of Four | C++ Python ------ Rust |
O(1) | O(1) | Easy | ||
0371 | Sum of Two Integers | C++ Python ------ Rust |
O(1) | O(1) | Easy | LintCode | |
0389 | Find the Difference | C++ Python ------ Rust |
O(n) | O(1) | Easy | ||
0393 | UTF-8 Validation | C++ Python ------ Rust |
O(n) | O(1) | Medium | ||
0401 | Binary Watch | C++ Python ------ Rust |
O(1) | O(1) | Easy | ||
0411 | C++ Python | O(2^n) | O(n) | Hard | 🔒 | ||
0421 | Maximum XOR of Two Numbers in an Array | C++ Python ------ Rust |
O(n) | O(n) | Medium | ||
0461 | Hamming Distance | C++ Python ------ Rust |
O(1) | O(1) | Easy |