LeetCode is a website that has programming-related questions that are designed to be solved in a limited amount of time. This repository is a collection of some of my solutions written in Rust.
No. | Title | Solution | Problem | Difficulty |
---|---|---|---|---|
1 | Two Sum | Rust | Leetcode | Easy |
3 | Longest Substring Without Repeating Characters | Rust | Leetcode | Medium |
49 | Group Anagrams | Rust | Leetcode | Medium |
54 | Spiral Matrix | Rust | Leetcode | Medium |
55 | Jump Game | Rust | Leetcode | Medium |
72 | Edit Distance | Rust | Leetcode | Hard |
73 | Set Matrix Zeroes | Rust | Leetcode | Medium |
75 | Sort Colors | Rust | Leetcode | Medium |
115 | Distinct Subsequences | Rust | Leetcode | Hard |
169 | Majority Element | Rust | Leetcode | Easy |
242 | Valid Anagram | Rust | Leetcode | Easy |
282 | Expression Add Operators | Rust | Leetcode | Hard |
317 | Shortest Distance from All Buildings | Rust | Leetcode | Hard |
334 | Increasing Triplet Subsequence | Rust | Leetcode | Medium |
350 | Intersection of Two Arrays II | Rust | Leetcode | Easy |
368 | Largest Divisible Subset | Rust | Leetcode | Medium |
435 | Non-overlapping Intervals | Rust | Leetcode | Medium |
452 | Minimum Number of Arrows to Burst Balloons | Rust | Leetcode | Medium |
485 | Max Consecutive Ones | Rust | Leetcode | Easy |
495 | Teemo Attacking | Rust | Leetcode | Easy |
713 | Subarray Product Less Than K | Rust | Leetcode | Medium |
774 | Minimize Max Distance to Gas Station | Rust | Leetcode | Medium |
875 | Koko Eating Bananas | Rust | Leetcode | Medium |
929 | Unique Email Addresses | Rust | Leetcode | Easy |
1035 | Uncrossed Lines | Rust | Leetcode | Medium |
1134 | Armstrong Number | Rust | Leetcode | Easy |
1137 | N-th Tribonacci Number | Rust | Leetcode | Easy |
1239 | Maximum Length of a Concatenated String with Unique Characters | Rust | Leetcode | Medium |
1275 | Find Winner on a Tic Tac Toe Game | Rust | Leetcode | Easy |
1293 | Shortest Path in a Grid with Obstacles Elimination | Rust | Leetcode | Hard |
1328 | Break a Palindrome | Rust | Leetcode | Medium |
1457 | Pseudo-Palindromic Paths in a Binary Tree | Rust | Leetcode | Easy |