Coder Social home page Coder Social logo

jatin-shihora / leetcode-solutions Goto Github PK

View Code? Open in Web Editor NEW
95.0 1.0 24.0 2.71 MB

This are the Collections of LeetCode , GFG questions that I have solved till now!! [Note: This repository gets updated daily with new questions]

License: MIT License

C++ 87.70% Python 3.79% Java 2.79% JavaScript 3.78% TypeScript 1.94%
cpp leetcode-solutions gfg-solutions daily-coding-problem-solutions interview-questions leetcode interview-preparation dsa dsa-algorithm dsa-practice

leetcode-solutions's Introduction

LeetCode & GFG-Solutions

This are the Collections of LeetCode , GFG questions that I have solved till now!! [Note: This repository gets updated daily with new questions]

License

MIT License

Copyright (c) 2022 Jatin-Shihora

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Basically it means you can do whatever you want with this repo ;)

LeetCode Topics

Array

0719-find-k-th-smallest-pair-distance
1207-delete-nodes-and-return-forest
1691-minimum-number-of-days-to-disconnect-island
1720-crawler-log-folder
1741-sort-array-by-increasing-frequency
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2255-minimum-swaps-to-group-all-1s-together-ii
2306-create-binary-tree-from-descriptions
2681-put-marbles-in-bags

Simulation

1803-average-waiting-time
1951-find-the-winner-of-the-circular-game

String

0273-integer-to-english-words
1060-longest-repeating-substring
1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder
1756-minimum-deletions-to-make-string-balanced
2217-step-by-step-directions-from-a-binary-tree-node-to-another
3276-minimum-number-of-pushes-to-type-word-ii

Stack

0145-binary-tree-postorder-traversal
1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder
1756-minimum-deletions-to-make-string-balanced

Math

0264-ugly-number-ii
0273-integer-to-english-words
1951-find-the-winner-of-the-circular-game

Recursion

0025-reverse-nodes-in-k-group
0273-integer-to-english-words
1951-find-the-winner-of-the-circular-game

Queue

1951-find-the-winner-of-the-circular-game

Tree

0145-binary-tree-postorder-traversal
1207-delete-nodes-and-return-forest
1653-number-of-good-leaf-nodes-pairs
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2306-create-binary-tree-from-descriptions

Depth-First Search

0145-binary-tree-postorder-traversal
1207-delete-nodes-and-return-forest
1653-number-of-good-leaf-nodes-pairs
1691-minimum-number-of-days-to-disconnect-island
2217-step-by-step-directions-from-a-binary-tree-node-to-another

Binary Tree

0145-binary-tree-postorder-traversal
1207-delete-nodes-and-return-forest
1653-number-of-good-leaf-nodes-pairs
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2306-create-binary-tree-from-descriptions

Hash Table

0138-copy-list-with-random-pointer
0264-ugly-number-ii
1207-delete-nodes-and-return-forest
1741-sort-array-by-increasing-frequency
2306-create-binary-tree-from-descriptions
3276-minimum-number-of-pushes-to-type-word-ii

Sorting

0719-find-k-th-smallest-pair-distance
1741-sort-array-by-increasing-frequency
2681-put-marbles-in-bags
3276-minimum-number-of-pushes-to-type-word-ii

Dynamic Programming

0264-ugly-number-ii
1060-longest-repeating-substring
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1756-minimum-deletions-to-make-string-balanced

Graph

1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance

Shortest Path

1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance

Binary Search

0719-find-k-th-smallest-pair-distance
1060-longest-repeating-substring

Rolling Hash

1060-longest-repeating-substring

Suffix Array

1060-longest-repeating-substring

Hash Function

1060-longest-repeating-substring

Sliding Window

2255-minimum-swaps-to-group-all-1s-together-ii

Greedy

2681-put-marbles-in-bags
3276-minimum-number-of-pushes-to-type-word-ii

Counting

3276-minimum-number-of-pushes-to-type-word-ii

Linked List

0025-reverse-nodes-in-k-group
0138-copy-list-with-random-pointer

Two Pointers

0719-find-k-th-smallest-pair-distance

Heap (Priority Queue)

0264-ugly-number-ii
2681-put-marbles-in-bags

Breadth-First Search

1691-minimum-number-of-days-to-disconnect-island

Matrix

1691-minimum-number-of-days-to-disconnect-island

Strongly Connected Component

1691-minimum-number-of-days-to-disconnect-island

leetcode-solutions's People

Contributors

jatin-shihora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.