Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rust-interview/rust-leetcode-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-leetcode-solutions

Build Status Coverage Status

Acknowledgements


cd kamyu104
cargo test

Algorithms

Bit Manipulation

# 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 Minimum Unique Word Abbreviation 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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.