Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
chirag64
/
rust-leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
154 Commits
154 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.gitignore
.gitignore
00001. Two Sum.rs
00001. Two Sum.rs
00004. Median of Two Sorted Arrays.rs
00004. Median of Two Sorted Arrays.rs
00006. ZigZag Conversion.rs
00006. ZigZag Conversion.rs
00007. Reverse Integer.rs
00007. Reverse Integer.rs
00009. Palindrome number.rs
00009. Palindrome number.rs
00012. Integer to Roman.rs
00012. Integer to Roman.rs
00013. Roman to Integer.rs
00013. Roman to Integer.rs
00020. Valid Parenthesis.rs
00020. Valid Parenthesis.rs
00026. Remove Duplicates from Sorted Array.rs
00026. Remove Duplicates from Sorted Array.rs
00058. Length of Last Word.rs
00058. Length of Last Word.rs
00066. Plus One.rs
00066. Plus One.rs
00205. Isomorphic Strings.rs
00205. Isomorphic Strings.rs
00389. Find the Difference389. Find the Difference.rs
00389. Find the Difference389. Find the Difference.rs
00682. Baseball Game.rs
00682. Baseball Game.rs
00807. Max Increase to Keep City Skyline.rs
00807. Max Increase to Keep City Skyline.rs
01025. Divisor Game.rs
01025. Divisor Game.rs
01029. Two City Scheduling.rs
01029. Two City Scheduling.rs
01030. Matrix Cells in Distance Order.rs
01030. Matrix Cells in Distance Order.rs
01037. Valid Boomerang.rs
01037. Valid Boomerang.rs
01041. Robot Bounded in Circle.rs
01041. Robot Bounded in Circle.rs
01046. Last Stone Weight.rs
01046. Last Stone Weight.rs
01052. Grumpy Bookstore Owner.rs
01052. Grumpy Bookstore Owner.rs
01131. Maximum of Absolute Value Expression.rs
01131. Maximum of Absolute Value Expression.rs
01144. Decrease Elements To Make Array Zigzag.rs
01144. Decrease Elements To Make Array Zigzag.rs
01147. Longest Chunked Palindrome Decomposition.rs
01147. Longest Chunked Palindrome Decomposition.rs
01154. Day of the Year.rs
01154. Day of the Year.rs
01160. Find Words That Can Be Formed by Characters.rs
01160. Find Words That Can Be Formed by Characters.rs
01176. Diet Plan Performance.rs
01176. Diet Plan Performance.rs
01184. Distance Between Bus Stops.rs
01184. Distance Between Bus Stops.rs
01189. Maximum Number of Balloons.rs
01189. Maximum Number of Balloons.rs
01217. Play with Chips.rs
01217. Play with Chips.rs
01221. Split a String in Balanced Strings.rs
01221. Split a String in Balanced Strings.rs
01222. Queens That Can Attack the King.rs
01222. Queens That Can Attack the King.rs
01260. Shift 2D Grid.rs
01260. Shift 2D Grid.rs
01262. Greatest Sum Divisible by Three.rs
01262. Greatest Sum Divisible by Three.rs
01281. Subtract the Product and Sum of Digits of an Integer.rs
01281. Subtract the Product and Sum of Digits of an Integer.rs
01282. Group the People Given the Group Size They Belong To.rs
01282. Group the People Given the Group Size They Belong To.rs
01290. Convert Binary Number in a Linked List to Integer.rs
01290. Convert Binary Number in a Linked List to Integer.rs
01299. Replace Elements with Greatest Element on Right Side.rs
01299. Replace Elements with Greatest Element on Right Side.rs
01304. Find N Unique Integers Sum up to Zero.rs
01304. Find N Unique Integers Sum up to Zero.rs
01309. Decrypt String from Alphabet to Integer Mapping.rs
01309. Decrypt String from Alphabet to Integer Mapping.rs
01310. XOR Queries of a Subarray.rs
01310. XOR Queries of a Subarray.rs
01317. Convert Integer to the Sum of Two No-Zero Integers.rs
01317. Convert Integer to the Sum of Two No-Zero Integers.rs
01318. Minimum Flips to Make a OR b Equal to c.rs
01318. Minimum Flips to Make a OR b Equal to c.rs
01323. Maximum 69 Number.rs
01323. Maximum 69 Number.rs
01333. Print Words Vertically.rs
01333. Print Words Vertically.rs
01341. The K Weakest Rows in a Matrix.rs
01341. The K Weakest Rows in a Matrix.rs
01342. Reduce Array Size to The Half.rs
01342. Reduce Array Size to The Half.rs
01346. Check If N and Its Double Exist.rs
01346. Check If N and Its Double Exist.rs
01347. Minimum Number of Steps to Make Two Strings Anagram.rs
01347. Minimum Number of Steps to Make Two Strings Anagram.rs
01351. Count Negative Numbers in a Sorted Matrix.rs
01351. Count Negative Numbers in a Sorted Matrix.rs
01352. Product of the Last K Numbers.rs
01352. Product of the Last K Numbers.rs
01385. Find the Distance Value Between Two Arrays.rs
01385. Find the Distance Value Between Two Arrays.rs
01387. Sort Integers by The Power Value.rs
01387. Sort Integers by The Power Value.rs
01400. Construct K Palindrome Strings.rs
01400. Construct K Palindrome Strings.rs
01431. Kids With the Greatest Number of Candies.rs
01431. Kids With the Greatest Number of Candies.rs
01432. Max Difference You Can Get From Changing an Integer.rs
01432. Max Difference You Can Get From Changing an Integer.rs
01433. Check If a String Can Break Another String.rs
01433. Check If a String Can Break Another String.rs
01446. Consecutive Characters.rs
01446. Consecutive Characters.rs
01447. Simplified Fractions.rs
01447. Simplified Fractions.rs
01491. Average Salary Excluding the Minimum and Maximum Salary.rs
01491. Average Salary Excluding the Minimum and Maximum Salary.rs
01492. The kth Factor of n.rs
01492. The kth Factor of n.rs
01493. Longest Subarray of 1's After Deleting One Element.rs
01493. Longest Subarray of 1's After Deleting One Element.rs
01507. Reformat Date.rs
01507. Reformat Date.rs
01508. Range Sum of Sorted Subarray Sums.rs
01508. Range Sum of Sorted Subarray Sums.rs
01509. Minimum Difference Between Largest and Smallest Value in Three Moves.rs
01509. Minimum Difference Between Largest and Smallest Value in Three Moves.rs
01523. Count Odd Numbers in an Interval Range.rs
01523. Count Odd Numbers in an Interval Range.rs
01526. Minimum Number of Increments on Subarrays to Form a Target Array.rs
01526. Minimum Number of Increments on Subarrays to Form a Target Array.rs
01556. Thousand Separator.rs
01556. Thousand Separator.rs
01558. Minimum Numbers of Function Calls to Make Target Array.rs
01558. Minimum Numbers of Function Calls to Make Target Array.rs
01559. Detect Cycles in 2D Grid.rs
01559. Detect Cycles in 2D Grid.rs
01588. Sum of All Odd Length Subarrays.rs
01588. Sum of All Odd Length Subarrays.rs
01603. Design Parking System.rs
01603. Design Parking System.rs
01636. Sort Array by Increasing Frequency.rs
01636. Sort Array by Increasing Frequency.rs
01668. Maximum Repeating Substring.rs
01668. Maximum Repeating Substring.rs
01670. Design Front Middle Back Queue.rs
01670. Design Front Middle Back Queue.rs
01716. Calculate Money in Leetcode Bank.rs
01716. Calculate Money in Leetcode Bank.rs
01720. Decode XORed Array.rs
01720. Decode XORed Array.rs
01732. Find the Highest Altitude.rs
01732. Find the Highest Altitude.rs
01748. Sum of Unique Elements.rs
01748. Sum of Unique Elements.rs
01749. Maximum Absolute Sum of Any Subarray.rs
01749. Maximum Absolute Sum of Any Subarray.rs
01827. Minimum Operations to Make the Array Increasing.rs
01827. Minimum Operations to Make the Array Increasing.rs
01828. Queries on Number of Points Inside a Circle.rs
01828. Queries on Number of Points Inside a Circle.rs
01829. Maximum XOR for Each Query.rs
01829. Maximum XOR for Each Query.rs
01844. Replace All Digits with Characters.rs
01844. Replace All Digits with Characters.rs
01845. Seat Reservation Manager.rs
01845. Seat Reservation Manager.rs
01859. Sorting the Sentence.rs
01859. Sorting the Sentence.rs
01860. Incremental Memory Leak.rs
01860. Incremental Memory Leak.rs
01861. Rotating the Box.rs
01861. Rotating the Box.rs
01876. Substrings of Size Three with Distinct Characters.rs
01876. Substrings of Size Three with Distinct Characters.rs
01877. Minimize Maximum Pair Sum in Array.rs
01877. Minimize Maximum Pair Sum in Array.rs
01893. Check if All the Integers in a Range Are Covered.rs
01893. Check if All the Integers in a Range Are Covered.rs
01894. Find the Student that Will Replace the Chalk.rs
01894. Find the Student that Will Replace the Chalk.rs
01941. Check if All Characters Have Equal Number of Occurrences.rs
01941. Check if All Characters Have Equal Number of Occurrences.rs
01974. Minimum Time to Type Word Using Special Typewriter.rs
01974. Minimum Time to Type Word Using Special Typewriter.rs
02000. Reverse Prefix of Word.rs
02000. Reverse Prefix of Word.rs
02001. Number of Pairs of Interchangeable Rectangles.rs
02001. Number of Pairs of Interchangeable Rectangles.rs
02006. Count Number of Pairs With Absolute Difference K.rs
02006. Count Number of Pairs With Absolute Difference K.rs
02022. Convert 1D Array Into 2D Array.rs
02022. Convert 1D Array Into 2D Array.rs
View all files
Repository files navigation
README
More
items
rust-leetcode
Solving leetcode in rust
About
Solving bi-weekly contest LeetCode problems in Rust
Topics
algorithm
algorithm-challenges
algorithms
leetcode
leetcode-solutions
rust
rust-lang
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.