Giter Club home page Giter Club logo

leetcode-solutions's Introduction

project-leetcode

The aim is to build and maintain a repository that has quality editorials to all the problems on LeetCode, no need to buy LeetCode Premium subscription.


Problems Solved

# Title Problem Statement Solution
1. Merge two Sorted Lists https://leetcode.com/problems/merge-two-sorted-lists/ in: C++, JAVA
2. Merge k Sorted Lists https://leetcode.com/problems/merge-k-sorted-lists/ in: C++
3. Sort List https://leetcode.com/problems/sort-list/ in: C++
4. Reverse a Linked List https://leetcode.com/problems/reverse-linked-list/ in: C++
5. Odd Even Linked List https://leetcode.com/problems/odd-even-linked-list/ in: C++
6. Reverse Nodes in k-groups https://leetcode.com/problems/reverse-nodes-in-k-group/ in: C++
7. Flatten Binary Tree to Linked List https://leetcode.com/problems/flatten-binary-tree-to-linked-list/ in: C++
8. Copy List with Random Pointer https://leetcode.com/problems/copy-list-with-random-pointer/ in: C++
9. Flatten a Multilevel Doubly Linked List https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list/ in: C++
10. Linked List cycle II https://leetcode.com/problems/linked-list-cycle-ii/ in: C++
11. Add Two Numbers https://leetcode.com/problems/add-two-numbers/ in: C++
12. Swap Nodes in pairs https://leetcode.com/problems/swap-nodes-in-pairs/ in: C++
13. Rotate List https://leetcode.com/problems/rotate-list/ in: C++
14. Partition List https://leetcode.com/problems/partition-list/ in: C++
15. Best time to buy and sell stock https://leetcode.com/problems/best-time-to-buy-and-sell-stock/ in: C++
16. Best time to buy and sell stock II https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/ in: C++
17. 132 Pattern https://leetcode.com/problems/132-pattern/ in: C++
18. Trapping Rain Water https://leetcode.com/problems/trapping-rain-water/ in: C++
19. Validate Binary Search Tree https://leetcode.com/problems/validate-binary-search-tree/ in: C++
20. Factorial Trailing Zeroes https://leetcode.com/problems/factorial-trailing-zeroes/ in: C++
21. Symmetric Tree https://leetcode.com/problems/symmetric-tree/ in: C++
22. Meeting Rooms III https://leetcode.com/problems/meeting-rooms-iii/ in: JAVA
23. Path Sum https://leetcode.com/problems/path-sum/ in: JAVA
24. Path Sum II https://leetcode.com/problems/path-sum-ii/ in: JAVA
25. Path Sum III https://leetcode.com/problems/path-sum-iii/ in: JAVA
26. Reverse Odd Levels of Binary Tree https://leetcode.com/problems/reverse-odd-levels-of-binary-tree/ in: JAVA
27. Minimum Money required before transactions https://leetcode.com/problems/minimum-money-required-before-transactions/ in: JAVA
28. Rotate Image https://leetcode.com/problems/rotate-image/ in: Python
29. Serialize and Deserialize Binary Tree https://leetcode.com/problems/serialize-and-deserialize-binary-tree/ in: Python
30. Bitwise AND of Numbers Range https://leetcode.com/problems/bitwise-and-of-numbers-range/ in: Python
31. Keys and Rooms https://leetcode.com/problems/keys-and-rooms/ in: Python
32. Encrypt and Decrypt Strings https://leetcode.com/problems/encrypt-and-decrypt-strings/ in: Python
33. Valid Sudoku https://leetcode.com/problems/valid-sudoku/ in: Python
34. Group Anagrams https://leetcode.com/problems/group-anagrams/ in: Python
35. Climbing Stairs https://leetcode.com/problems/climbing-stairs/ in: Python
36. Simplify Path https://leetcode.com/problems/simplify-path/ in: Python
37. Pow(x, n) https://leetcode.com/problems/powx-n/ in: Python
38. Longest Common Subsequence https://leetcode.com/problems/longest-common-subsequence/ in: Java
39. House Robber II https://leetcode.com/problems/house-robber-ii/ in: Java
40. Minimum Swaps To Make Sequences Increasing https://leetcode.com/problems/minimum-swaps-to-make-sequences-increasing/ in: Java
41. The Employee That Worked on the Longest Task https://leetcode.com/problems/the-employee-that-worked-on-the-longest-task/ in: Python
42. Find The Original Array of Prefix Xor https://leetcode.com/problems/find-the-original-array-of-prefix-xor/ in: Python
43. Using a Robot to Print the Lexicographically Smallest String https://leetcode.com/problems/using-a-robot-to-print-the-lexicographically-smallest-string/ in: Python
44. Increasing Triplet Subsequence https://leetcode.com/problems/increasing-triplet-subsequence/ in: Python
45. Break a Palindrome https://leetcode.com/problems/break-a-palindrome/ in: Python
46. Permutation Sequence https://leetcode.com/problems/permutation-sequence/ in: Python
47. Word Break II https://leetcode.com/problems/word-break-ii/ in: C++

Contributors




A big Thanks to all the contributors! ๐Ÿค



leetcode-solutions's People

Stargazers

 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.