The solutions for Leetcode's problem

Overview

Leetcode

The solutions for Leetcode's problem

# Ttitle Solution Diffculty
1 Two Sum Rust, TypeScript Easy
5 Longest Palindromic Substring Rust, TypeScript Medium
9 Palindrome Number Rust, TypeScript Easy
11 Container With Most Water Rust, TypeScript Medium
14 Longest Common Prefix Rust, TypeScript Easy
20 Valid Parentheses Rust, TypeScript Easy
21 Merge Two Sorted Lists Rust, TypeScript Easy
26 Remove Duplicates from Sorted Array Rust, TypeScript Easy
27 Remove Element Rust, TypeScript Easy
33 Search in Rotated Sorted Array Rust, TypeScript Medium
35 Search Insert Position Rust, TypeScript Easy
53 Maximum Subarray Rust, TypeScript Easy
55 Jump Game Rust, TypeScript Medium
56 Merge Intervals Rust, TypeScript Medium
57 Insert Interval Rust, TypeScript Medium
58 Length of Last Word Rust, TypeScript Easy
62 Unique Paths Rust, TypeScript Medium
66 Plus One Rust, TypeScript Easy
70 Climbing Stairs Rust, TypeScript Easy
83 Remove Duplicates from Sorted List Rust, TypeScript Easy
88 Merge Sorted Array Rust, TypeScript Easy
91 Decode Ways Rust, TypeScript Medium
92 Reverse Linked List II Rust, TypeScript Medium
94 Binary Tree Inorder Traversal Rust, TypeScript Easy
98 Validate Binary Search Tree Rust, TypeScript Medium
100 Same Tree Rust, TypeScript Easy
102 Binary Tree Level Order Traversal Rust, TypeScript Medium
104 Maximum Depth of Binary Tree Rust, TypeScript Easy
105 Construct Binary Tree from Preorder and Inorder Traversal Rust, TypeScript Medium
121 Best Time to Buy and Sell Stock Rust, TypeScript Easy
125 Valid Palindrome Rust, TypeScript Easy
139 Word Break Rust, TypeScript Medium
141 Linked List Cycle TypeScript Easy
143 Reorder List Rust, TypeScript Medium
144 Binary Tree Preorder Traversal Rust, TypeScript Easy
152 Maximum Product Subarray Rust, TypeScript Medium
153 Find Minimum in Rotated Sorted Array Rust, TypeScript Medium
167 Two Sum II - Input Array Is Sorted Rust, TypeScript Medium
169 Majority Element Rust, TypeScript Easy
190 Reverse Bits Rust, TypeScript Easy
191 Number of 1 Bits Rust, TypeScript Easy
198 House Robber Rust, TypeScript Medium
205 Isomorphic Strings Rust, TypeScript Easy
206 Reverse Linked List Rust, TypeScript Easy
213 House Robber II Rust, TypeScript Medium
217 Contains Duplicate Rust, TypeScript Easy
219 Contains Duplicate II Rust, TypeScript Easy
226 Invert Binary Tree Rust, TypeScript Easy
230 Kth Smallest Element in a BST Rust, TypeScript Medium
235 Lowest Common Ancestor of a Binary Search Tree Rust, TypeScript Easy
238 Product of Array Except Self Rust, TypeScript Medium
242 Valid Anagram Rust, TypeScript Easy
257 Binary Tree Paths Rust, TypeScript Easy
268 Missing Number Rust, TypeScript Easy
300 Longest Increasing Subsequence Rust, TypeScript Medium
322 Coin Change Rust, TypeScript Medium
344 Reverse String Rust, TypeScript Easy
338 Counting Bits Rust, TypeScript Easy
349 Intersection of Two Arrays Rust, TypeScript Easy
350 Intersection of Two Arrays II Rust, TypeScript Easy
371 Sum of Two Integers Rust, TypeScript Medium
377 Combination Sum IV Rust, TypeScript Medium
435 Non-overlapping Intervals Rust, TypeScript Medium
541 Reverse String II Rust, TypeScript Easy
543 Diameter of Binary Tree Rust, TypeScript Easy
557 Reverse Words in a String III Rust, TypeScript Easy
572 Subtree of Another Tree Rust, TypeScript Easy
647 Palindromic Substrings Rust, TypeScript Medium
670 Maximum Swap Rust, TypeScript Medium
680 Valid Palindrome II Rust, TypeScript Easy
704 Binary Search Rust, TypeScript Easy
781 Rabbits in Forest Rust, TypeScript Medium
844 Backspace String Compare Rust, TypeScript Easy
977 Squares of a Sorted Array Rust, TypeScript Easy
1122 Relative Sort Array Rust, TypeScript Easy
1143 Longest Common Subsequence Rust, TypeScript Medium
1189 Maximum Number of Balloons Rust, TypeScript Easy
1588 Sum of All Odd Length Subarrays Rust, TypeScript Easy
2016 Maximum Difference Between Increasing Elements Rust, TypeScript Easy
You might also like...
Proof-of-concept on how to solve Bitcoin's light node sync problem with zkSNARKs
Proof-of-concept on how to solve Bitcoin's light node sync problem with zkSNARKs

BTC Warp Prove and verify the longest Bitcoin PoW chain BTC Warp is a proof-of-concept system that aims to solve the client-syncing problem for Bitcoi

Benchmarking C, Python, and Rust on the "sp" problem

Fast SP Various implementations of the problem in this blog post. Requirements To run this, you will need Rust Nightly and Python 3.8+ with numpy. Rus

Radiate is a parallel genetic programming engine capable of evolving solutions to many problems as well as training learning algorithms.

Radiate Coming from Evolutionary Radiation. Evolutionary radiation is a rapid increase in the number of species with a common ancestor, characterized

Minimal, flexible framework for implementing solutions to Advent of Code in Rust

This is advent_of_code_traits, a minimal, flexible framework for implementing solutions to Advent of Code in Rust.

Efficient ML solutions for long-tailed demands.

MegFlow MegFlow 是一个面向视觉应用的流式计算框架, 目标是简单、高性能、帮助机器学习应用快速落地。 Features 基于 async-std[features=tokio1] 的高效异步运行时调度器 简洁的基于 toml 的建图描述格式 支持静态、动态、共享子图 支持 Rust/P

Advent of Code 2021 puzzles & solutions in Rust

Advent of Code 2021 These are puzzles for the Advent of Code 2021 challenge, written and solved in the Rust programming language. The puzzle for each

Repository with my Advent of Code 2021 puzzle solutions 🎄
Repository with my Advent of Code 2021 puzzle solutions 🎄

🎄 Advent of Code 2021 🎄 I decided to stick with Rust this year and try to improve a bit on it, I basically haven't used it since last year's AoC, so

Voluntarily contributed solutions for the first practical exercise for the Compilerbau lecture WiSe 2021/2022 of Ulm University

Solutions for the first practical exercise Compilerbau lecture WiSe 2021/2022 - Ulm University Contributing Want to add your solution? Great! Just add

My solutions to Advent of Code 2021 (mostly in rust)

Advent of Code 2021 Small code to solve problems at https://adventofcode.com/2021. Most of the code are written in Rust. How to run solutions For exam

Solutions of Advent of Code 2021 in Rust, and some other languages.

advent-of-rust Solutions of Advent of Code 2021 in Rust, and some other languages. Puzzles Puzzle Stars Languages Day 1: Sonar Sweep ⭐ ⭐ Rust Python D

🎄 My Rusty Solutions to AOC 2021

🎄 Advent-Of-Code-2021 My Rusty Solutions to Advent Of Code 2021 Day 01: Sonar Sweep [A, B] Day 02: Dive! [A, B] Day 03: Binary Diagnostic [A, B] Day

🎄My Advent of Code 2021 solutions in the Rust programming language

Advent of Code 2021 in Rust My Advent of Code 2021 solutions in the Rust programming language. This repository holds a separate Rust project for each

My solutions for the Advent of Code 2021 in Scala, Python, Haskell and Rust.

Advent of Code 2021 These are my Advent of Code 2021 solutions written in Scala 3, Haskell, Python and Rust. Day Title L1 L2 L3 L4 01 Sonar Sweep Scal

My solutions to the Advent of Code 2020.

AdventofCode2021 My solutions to the advent of code event 2021. For this edition I chose to solve the puzzles using Rust 🦀 . Day Name Link Solution 1

My solutions for Advent of Code 2021, in Rust

Advent of Code 2021 These are my solutions. I have decided to use Rust for now. I'm new to Rust, so it might be some of the worst Rust code you've see

My solutions to the advent of code 2021 problems.

Advent of Code 2021 My solutions to the AOC 2021 problems in Rust. Solutions Task Status Day 1 ✔️ , ✔️ Day 2 ✔️ , ✔️ Day 3 ✔️ , ✔️ Day 4 ✔️ , ✔️ Day 5

My solutions for the 2021 edition of the Advent of Code, using Rust and SOM (Simple Object Machine)

Advent of Code 2021 These are my solutions for the 2021 edition of the Advent of Code. The solutions are all implemented using both Rust and SOM (Simp

Remmy's Advent of Code solutions

Advent of Code in Rust - remmycat's solutions Benchmarks on MacBook Pro (13-inch, 2019), 2.8 GHz Quad-Core Intel Core i7 (Day 15 and 19, yikes…) Emoji

Solutions to Advent of Code 2021, coded in rust

Advent of Code 2021 (aoc-2021-rust) Solutions to Advent of Code 2021 (https://adventofcode.com/2021), coded as part of my efforts to learn Rust Run co

Owner
Eleven
Coding for fun and with ❤️
Eleven
my leetcode solutions in rust

My Leetcode Solution in Rust Run cargo run {id} to initialize the template submission file of "question #id". Run cargo test test_{id} to test the sol

Aylei 598 Jan 1, 2023
Fastest solutions for various Rust algorithms from challenges

Algs These are the results of going through various challenges and solutions to find the fastest and most concise algorithms. It is structured by data

Jack Clayton 1 Jan 20, 2022
The solutions for Leetcode's problem

Leetcode The solutions for Leetcode's problem # Ttitle Solution Diffculty 1 Two Sum Rust, TypeScript Easy 5 Longest Palindromic Substring Rust, TypeSc

Eleven 2 Jul 21, 2022
Leetcode Solutions in Rust, Advent of Code Solutions in Rust and more

RUST GYM Rust Solutions Leetcode Solutions in Rust AdventOfCode Solutions in Rust This project demostrates how to create Data Structures and to implem

Larry Fantasy 635 Jan 3, 2023
Dancing Links (“dlx”) solver for the exact cover problem, written in Rust. Can be used to create a sudoku solver.

Dancing Links “dlx” Dancing Links solver for “algorithm X” by Knuth This solver solves the exact cover problem using “algorithm X”, implemented using

bluss 4 Nov 19, 2022
Implementation of Yao's Millionare problem in Rust

Yao's Millionaire Problem Two millionaires wish to know who is richer; however, they do not want to find out inadvertently any additional information

Daniel Ramos 2 Jul 2, 2022
A patch to fix tracing LocalTime problem.

tracing-local-time A patch to fix tracing LocalTime problem. Tracing-subscriber now has a bug in LocalTime, so build ourselves' to fix it. In this pat

Cris Liao 2 Dec 27, 2021
Red-blue graph problem solver - Rust implementation

Red-blue graph problem solver - Rust implementation The problem is the following: In a directed graph, each node is colored either red or blue. Furthe

Thomas Prévost 2 Jan 17, 2022
Three-body Problem with rust

Briefing In physics and classical mechanics, the three-body problem is the problem of taking the initial positions and velocities (or momenta) of thre

Alvaro Alves 1 Feb 3, 2022