Skip to content

A collection of leetcode problems from the "Top Interview 150" list, solved in Rust.

Notifications You must be signed in to change notification settings

flpStrri/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦀 Leetcode in Rust

This is a collection of leetcode problems from the "Top Interview 150" list, solved in Rust.

How to test

You need to have Rust installed. If you don't have it, you can install it from here.

To run the tests, you can use the following command:

cargo test

Problems

## Title Solution Difficulty
1 Merged Sorted Array Rust Easy
2 Remove Element Rust Easy
3 Remove Duplicates from Sorted Array Rust Easy
4 Minimum Path Sum Rust Medium
5 Remove Duplicates from Sorted Array II Rust Medium
6 Majority Element Rust Easy
7 Rotate Array Rust Easy
8 Best Time to Buy and Sell Stock Rust Easy
9 Best Time to Buy and Sell Stock II Rust Medium
10 Jump Game Rust Medium
11 Jump Game II Rust Medium
12 H Index Rust Medium
13 Insert Delete GetRandom O(1) Rust Medium
14 Product of Array Except Self Rust Medium
15 Gas Station Rust Medium
16 Candy Rust Hard
17 Trapping Rain Water Rust Hard
18 Roman to Integer Rust Easy
19 'Integer to Roman' Rust Medium

About

A collection of leetcode problems from the "Top Interview 150" list, solved in Rust.

Topics

Resources

Stars

Watchers

Forks

Languages