Code Monkey home page Code Monkey logo

leetcode-solutions's Introduction

License Language



What is this?

These are Solutions of some problems from LeetCode made specifically for beginners and who are in the intermediate level.

If you like this project, please leave me a star. โ˜…

Problem-Solving ๐Ÿ’ป

# Title Solution Animation Difficulty
665 Non-decreasing Array Solution Medium
7 Reverse Integer Solution Medium
98 Validate Binary Search Tree Solution Medium
204 Count Primes Solution Medium
19 Remove Nth Node From End of List Solution Medium
34 Find First and Last Position of Element in Sorted Array Solution Medium
229 Majority Element II Solution Medium
142 Linked List Cycle II Solution Medium
560 Swap Nodes in PairsSubarray Sum Equals K Solution Medium
187 Repeated DNA Sequences Solution Medium
56 Merge Intervals Solution Medium
207 Course Schedule Solution Medium
848 Shifting Letters Solution Medium
1352 Product of the Last K Numbers Solution Medium
147 Insertion Sort List Solution Medium
380 Insert Delete GetRandom O(1) Solution Medium
477 Total Hamming Distance Solution Medium
148 Sort List Solution Medium
729 My Calendar I Solution Medium
676 Implement Magic Dictionary Solution Medium
384 Shuffle an Array Solution Medium
677 Map Sum Pairs Solution Medium
2095 Delete the Middle Node of a Linked List Solution Medium
1109 Corporate Flight Bookings Solution Medium
24 Swap Nodes in Pairs Solution Medium
167 Two Sum II - Input Array Is Sorted Solution Medium
287 Find the Duplicate Number Solution Medium
382 Linked List Random Node Solution Medium
1508 Range Sum of Sorted Subarray Sums Solution Medium
1023 Camelcase Matching Solution Medium
378 Kth Smallest Element in a Sorted Matrix Solution Medium
985 Sum of Even Numbers After Queries Solution Medium
912 Sort an Array Solution Medium
1584 Min Cost to Connect All Points Solution Medium
901 Online Stock Span Solution Medium
215 Kth Largest Element in an Array Solution Medium
398 Random Pick Index Solution Medium
49 Group Anagrams Solution Medium
2043 Simple Bank System Solution Medium
347 Top K Frequent Elements Solution Medium
973 K Closest Points to Origin Solution Medium
230 Kth Smallest Element in a BST Solution Medium
1433 Check If a String Can Break Another String Solution Medium
1721 Swapping Nodes in a Linked List Solution Medium
1860 Incremental Memory Leak Solution Medium
1222 Queens That Can Attack the King Solution Medium
442 Find All Duplicates in an Array Solution Medium
1529 Minimum Suffix Flips Solution Medium
2023 Number of Pairs of Strings With Concatenation Equal to Target Solution Medium
1669 Merge In Between Linked Lists Solution Medium
701 Insert into a Binary Search Tree Solution Medium
1347 Minimum Number of Steps to Make Two Strings Anagram Solution Medium
1823 Find the Winner of the Circular Game Solution Medium
1381 Design a Stack With Increment Operation Solution Medium
921 Minimum Add to Make Parentheses Valid Solution Medium
1561 Maximum Number of Coins You Can Get Solution Medium
1630 Arithmetic Subarrays Solution Medium
2221 Find Triangular Sum of an Array Solution Medium
763 Partition Labels Solution Medium
1305 All Elements in Two Binary Search Trees Solution Medium
1877 Minimize Maximum Pair Sum in Array Solution Medium
1817 Finding the Users Active Minutes Solution Medium
1551 Minimum Operations to Make Array Equal Solution Medium
2149 Rearrange Array Elements by Sign Solution Medium
2130 Maximum Twin Sum of a Linked List Solution Medium
2161 Partition Array According to Given Pivot Solution Medium
1409 Queries on a Permutation With Key Solution Medium
2120 Execution of All Suffix Instructions Staying in a Grid Solution Medium
2125 Number of Laser Beams in a Bank Solution Medium
535 Encode and Decode TinyURL Solution Medium
1038 Binary Search Tree to Greater Sum Tree Solution Medium
1315 Sum of Nodes with Even-Valued Grandparent Solution Medium
1282 Group the People Given the Group Size They Belong To Solution Medium
1769 Minimum Number of Operations to Move All Balls to Each Box Solution Medium
1828 Queries on Number of Points Inside a Circle Solution Medium
1476 Subrectangle Queries Solution Medium
1929 Concatenation of Array Solution 1929 Easy
1920 Build Array from Permutation Solution 1920 Easy
1108 Defanging an IP Address Solution 1108 Easy
1512 Number of Good Pairs Solution 1512 Easy
2011 Final Value of Variable After Performing Operations Solution 2011 Easy
771 Jewels and Stones Solution 771 Easy
1470 Shuffle the Array Solution 1470 Easy
1603 Design Parking System Solution 1603 Easy
1637 Widest Vertical Area Between Two Points Containing No Points Solution 1637 Easy
1672 Richest Customer Wealth Solution 1672 Easy
1431 Kids With the Greatest Number of Candies Solution 1431 Easy
1678 Goal Parser Interpretation Solution 1678 Easy
938 Range Sum of BST Solution 938 Easy
1480 Running Sum of 1d Array Solution 1480 Easy
1365 How Many Numbers Are Smaller Than the Current Number Solution 1365 Easy
1281 Subtract the Product and Sum of Digits of an Integer Solution 1281 Easy
2114 Maximum Number of Words Found in Sentences Solution 2114 Easy
1221 Split a String in Balanced Strings Solution 1221 Easy
1688 Count of Matches in Tournament Solution 1688 Easy
1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree Solution 1379 Easy
1313 Decompress Run-Length Encoded List Solution 1313 Easy
1486 XOR Operation in an Array Solution 1486 Easy
1662 Check If Two String Arrays are Equivalent Solution 1662 Easy
1342 Number of Steps to Reduce a Number to Zero Solution 1342 Easy
1773 Count Items Matching a Rule Solution 1773 Easy
1528 Shuffle String Solution 1528 Easy
1816 Truncate Sentence Solution 1816 Easy
2236 Root Equals Sum of Children Solution 2236 Easy
2194 Cells in a Range on an Excel Sheet Solution 2194 Easy
2108 Find First Palindromic String in the Array Solution 2108 Easy
2325 Decode the Message Solution 2325 Easy
2006 Count Number of Pairs With Absolute Difference K Solution 2006 Easy
709 To Lower Case Solution 709 Easy
1832 Check if the Sentence Is Pangram Solution 1832 Easy
557 Reverse Words in a String III Solution 557 Easy
1859 Sorting the Sentence Solution 1859 Easy
1684 Count the Number of Consistent Strings Solution 1684 Easy
1732 Find the Highest Altitude Solution 1732 Easy
1572 Matrix Diagonal Sum Solution 1572 Easy
1913 Maximum Product Difference Between Two Pairs Solution 1913 Easy
1464 Maximum Product of Two Elements in an Array Solution 1464 Easy
1323 Maximum 69 Number Solution 1323 Easy
2315 Count Asterisks Solution 2315 Easy
2037 Minimum Number of Moves to Seat Everyone Solution 2037 Easy
832 Flipping an Image Solution 832 Easy
1614 Maximum Nesting Depth of the Parentheses Solution 1614 Easy
1290 Convert Binary Number in a Linked List to Integer Solution 1290 Easy
1534 Count Good Triplets Solution 1534 Easy
1844 Replace All Digits with Characters Solution 1844 Easy
169 Majority Element Solution 169 Easy

leetcode-solutions's People

Contributors

mohamedmetwalli5 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.