Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Learn Cpp from Beginner to Advanced ✅ Practice 🎯 Code 💻 Repeat 🔁 One step solution for c++ beginners and cp enthusiasts.

License

NotificationsYou must be signed in to change notification settings

Lakhankumawat/LearnCPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GitHub repo size

LearnCPP

 forks forks forks forks forks

All Contributors

What's Inside 🗃

Read the following steps before contributing.

Follow StepsGet Started
Alt textAlt text
Alt textAlt text

Algorithms

Follow these steps
New Algorithm'Please see if the algorithm is already present'
What to include"Your algorithm should be efficiently written with proper code / comments / time complexity / space complexity / link to gfg or any other documentation on top in code file"
Where to includeplease commit your algorithm in the correct folder or discuss[here](https://github.com/Lakhankumawat/LearnCPP/discussions/7)before committing to where to include`
README"Please check whether your directory has a README file, if there is then edit your algorithm name with a link, otherwise create a new one "how your README should look like

Problem Statement

Follow these steps
New Problem Statement'Please see if the problem is present already? If it is do not commit your own '
What to include"Your problem statement solution should be efficiently written with proper code / comments / time complexity / space complexity / link to problem statement in code file"
Where to includeMost of the Problem Statements are insidehereplease commit your problem solution in the correct folder or discussherebefore committing for where to include
README"Please check whether your directory has a README file, if there is then edit your algorithm name with a link, otherwise create a new one "how your README should look like
Additional Context"There are three levels of problem statement"1-Level 1 `likewise 2-Level 2 & 3-Level 3, please include your problem statement with a solution in the right level you prefer

To add programs usingSTL, follow the same approach asAlgorithms

Readme

Fond of designing README this section will be helpful to you

Follow these steps
🆕 New README'Please see if there is no README in any folder if no? Then please design it, if yes? Then please edit it accordingly to your contribution and follow the guidelines '
🤔 What to include"Your README should be efficiently and written / link to problem statement in README at the top"see exmaple
✅ Must Contain1. and explain in brief about addition2. An Image of addition i.e how it works3. Mention the Pseudo Code4. Time and Space Complexities5. Advantages6. Disadvantages
🪧 Where to includeInside the folder where programs are residing, discussherebefore committing to where to include

Why contribute?

  • If you find any errors or bugs then please report them by creating an issue.
  • If you can provide a more efficient solution or implementation of the algorithm then make sure to contribute.
  • If you want to implement an algorithm, data structure etc.., which is not yet there, then you can open up a PR regarding the same.
  • Link to discussion forum

Want to contribute?


🌟 Stargazers Over Time 🌟

Stargazers over time

Project Maintainers ❤️



LakhanKumawat ᵖ⁺

💻👀📆

Nikita Sharma

💻👀 🚧

SK MIRAJ

💻 👀 🚧

Gunjan

💻 👀 🚧

Siddhi Bhanushali

💻 👀 🚧

Pooja Mangal

👀

TRIDIB BAG

👀

Aditi

👀

Vilsi Jain

👀


  • Array

#Problem Statement & ExplanationSolution
1Array OperationsSolution
2Antispiral MatrixSolution
3Counting Divisibl eSubstringsSolution
4First Negative in Every WindowSolution
5Maximum Sum SubarraySolution
6Missing and Repeating NumberSolution
7Peak in 1D ArraySolution
8Prefix SumSolution
9Reversing of ArraySolution
10Sort an Array of 0's 1's and 2'sSolution
11Best Time to Buy and Sell StockSolution
12Symmetric MatrixSolution
13Trace and NormalSolution
  • Backtracking

#Problem Statement & ExplanationSolution
1Hamiltonian CycleSolution
2N-QueenSolution
3Rat in MazeSolution
4Subset SumSolution
5The Knight’s Tour ProblemSolution
  • Bit Manipulation

#Problem Statement & ExplanationSolution
1Bit ManipulationSolution
2Cout Set BitsSolution
3Swapping 2 NumbersSolution
  • Disjoint Set Union

#Problem Statement & ExplanationSolution
1Disjoint Set UnionSolution
  • Dynamic Programming

#Problem Statement & ExplanationSolution
1Rod CuttingSolution
2Equal Sum Partition ProblemSolution
3Shortest Common Super-sequenceSolution
4Trapping Rain Water ProblemSolution
5Longest Common Subsequence ProblemSolution
6Egg Dropping PuzzleSolution
7Climbing StairsSolution
8Min Cost Climbing StairsSolution
9Unique PathsSolution
10Unique Paths IISolution
11Minimum Falling Path SumSolution
12Knapsack with Duplicate ItemsSolution
13Minimum number of deletions and insertions requiredSolution
14Coin ChangeSolution
15Kadane's AlgorithmSolution
160-1 KnapSackSolution
17Traveling Sales PersonSolution
18Subset SumSolution
19Minimun Insertions form PalindromeSolution
  • Extra

#Problem Statement & ExplanationSolution
1TurtleSolution
2ProjectileSolution
3DesignSolution
  • Graph Algorithms

#Problem Statement & ExplanationSolution
1Multistage Graph Shortest PathSolution
2Bellman FordSolution
3Floyd WarshallSolution
4Dijsktra Single Source Shortest PathSolution
  • Graphs

#Problem Statement & ExplanationSolution
1Articulation PointsSolution
2Graph ColoringSolution
3Check BipartiteSolution
4Add and delete edge of directed graph in an adjacency matrixSolution
5create and display an adjacency matrixSolution
6Adjacency ListSolution
7Adjacency List Using HashmapSolution
8PrimsSolution
9Prims using Priority QueueSolution
10KruskalSolution
11kruskal DSUSolution
12Ford FulkersonSolution
13Breadth First SearchSolution
14Depth First SearchSolution
  • Greedy Algorithms

#Problem Statement & ExplanationSolution
1Optimal Merge PatternSolution
2Huffman CodingSolution
3Fractional KnapSackSolution
4Job SchedulingSolution
5Busyman ProblemSolution
  • HashMap

#Problem Statement & ExplanationSolution
1HashMapsSolution
2MapSolution
3MultimapSolution
4UnorderedMapSolution
5UnorderedMaps CustomHashmaps OperatorOverloadingSolution
6SetSolution
7Unordered SetSolution
  • Heap

#Problem Statement & ExplanationSolution
1k largestSolution
2Min HeapSolution
3Max HeapSolution
4HeapifySolution
5Heap SortSolution
  • Linked List

#Problem Statement & ExplanationSolution
1Singly Linked ListSolution
2Removing DuplicatesSolution
3Searching in a linked listSolution
4Reverse a Linked ListSolution
5Middle element of the linked listSolution
6Palindrome linked listSolution
7Segregate Even OddSolution
8Merge K Sorted LinkedListSolution
9LRU CacheSolution
10Circular Linked ListsExplanation
11Reverse a Doubly Linked ListSolution
  • Mathematical Algorithms

#Problem Statement & ExplanationSolution
1SegmentedSieveSolution
2Armstrong numberSolution
3Eulid Greatest Common DivisorSolution
4Prime SumSolution
5Factorial Larger NumbersSolution
6Juggler SequenceSolution
  • Miscellaneous

#Problem Statement & ExplanationSolution
1Exception HandlingSolution
2Lambda FunctionsSolution
3Friend ClassSolution
4Friend FunctionSolution
  • Priority Queue

#Problem Statement & ExplanationSolution
1Priority QueueSolution
2Priority Queue STL ComparatorSolution
  • Problem Statements and Solution

#Problem Statement & ExplanationSolution
1Aggressive CowsSolution
2Pair with given sum in sorted doubly linked listSolution
3Maximum of all Subarrays of size kSolution
4Lowercase to UppercaseSolution
5Counting FrequenciesSolution
  • Queue

#Problem Statement & ExplanationSolution
1Queue Using Linked ListSolution
2Queue Using ArraySolution
3[Queue STL]Solution
4Circular Queue Using LinkedListSolution
5Reverse QueueSolution
6Circular Queue Using ArraySolution
  • Recursion

#Problem Statement & ExplanationSolution
1Inversion CountSolution
2Replace PISolution
3Tower of HanoiSolution
4Calculating GCD and LCM by RecursionSolution
5Taylor series by Horner's ruleSolution
6Types of RecursionSolution
  • STL

#Problem Statement & ExplanationSolution
1Pairs STLSolution
2Lists-OperationSolution
3ListsSolution
4MultisetSolution
5SetsSolution
6VectorSolution
  • Searching Algorithms

#Problem Statement & ExplanationSolution
1Linear SearchSolution
2Binary SearchSolution
3Search Element in a Rotated Sorted ArraySolution
  • Sets

#Problem Statement & ExplanationSolution
1Cartesian Product of two SetSolution
2Union of two setsSolution
  • Sorting Algorithms

#Problem Statement & ExplanationSolution
1Bubble SortSolution
2Insertion SortSolution
3Quick SortSolution
4Merge SortSolution
5Counting SortSolution
6Bucket SortSolution
7DNF SortSolution
8Selection SortSolution
  • Stack

#Problem Statement & ExplanationSolution
1Infix to postfix conversionSolution
2Redundant ParenthesisSolution
3Stack ADT using Linked ListSolution
4Converting decimal number to binarySolution
5Stacks Without STLSolution
6Stacks STLSolution
7Next Greater ElementSolution
8Bracket Balancing Using StackSolution
  • String Algorithms

#Problem Statement & ExplanationSolution
1KMPSolution
  • Strings

#Problem Statement & ExplanationSolution
1StringsSolution
2String ToknizerSolution
3String SortingSolution
4String ReverseSolution
5String ComparisonSolution
6Longest Word In SentenceSolution
7String PalindromeSolution
  • Template

#Problem Statement & ExplanationSolution
1Class TemplateSolution
2Function TemplateSolution
  • Tree

#Problem Statement & ExplanationSolution
1Ceil Value in BSTSolution
2Check Valid BSTSolution
3Floor Value in BSTSolution
4BSTSolution
5AVLSolution
6Array to BstSolution
7Construct BST From Preorder TravsersalSolution
8Height of the binary treeSolution
9Largest Bst in a Binary TreeSolution
10Diameter of Binary TreeSolution
11Number of leaf nodes in binary treeSolution
12FenwickTreeSolution
13Iterative Preorder and Postorder Traversal of Generic TreeSolution
14Level order traversal in a Genric TreeSolution
15Mirror of a Genric TreeSolution
16Diameter of a Genric TreeSolution
17Minimum distance between two nodes in a Genric TreeSolution
18Construct and Display Genric TreeSolution
19Diagonal TraversalSolution
20Morris TraversalSolution
21Preorder TraversalSolution
22Postorder TraversalSolution
23Inorder TraversalSolution
24Levelorder TraversalSolution

Contributors ✨

Thanks goes to these wonderful people (emoji key):


LakhanKumawat ᵖ⁺

💻👀📆

Chetas Shree Madhusudhan

💻

Nikita Sharma

💻👀

Ujjwal Bansal

💻

Supratim2000

💻

Puneet Kaur

💻

StarEditorBoy

💻

Parthib Sarkar

💻

rutujaingole

💻

Suhotra Dey

💻

SATYAM KUMAR

💻💡

Aastik Sharma

💻

Shivani Thorve

💻

Ikko Ashimine

👀💻

All Contributors

💻

gaurangSaraswat-07

💻

Anurag Kumar Singh

💻

Divyansh Singh

💻

VaishnaviMandloi

💻

Aditya Kumar Singh

💻

aditim26

💻

IZHAR AHMAD

💻

Priyanshu Saxena

💻

Mrudula-Kulkarni

💻

Sahil Horo

💻

ShruthiKartik

💻

Aneesh Tripathi

💻

Md Nazish Arman

💻

SHUBHAM LAKHERA

💻

aparnamittal

💻

Rahul Sharma

💻

Jayanth MKV

💻

Sidharth Sarangi

💻

Rahul kumar

💻

Purvak Baliyan

💻

Mohammad Ruman

💻

Vinaya Sree Modem

💻

Maithili Kharabe

💻

Shashank Venkat

💻

Janhavi Kale

💻

TRIDIB BAG

💻

Sebin Francis

💻

Kalash Singhal

💻

Bhavneet Singh

💻

Jyoti Singh

💻

Aisha

💻

Bhumika Tewary

💻

arzitmahajan

💻

PeritusDeveloper

💻

Prashant Raj

💻

Ritika Garg

💻

Shweta Bhagat

💻

Abhilipsa Sahoo

💻

Akshat Agarwal

💻

Uhini Mukherjee

💻

Pragati Verma

💻

Dewanshi Paul

💻

Arun G Nayak

💻

Sukriti

💻

Sarthak S Kumar

📖

Deeptarshi Biswas

💻

PRANSHU JAIN

💻

Hend Ahmed

💻

Shatakshi-Choudhary

💻

Aly Eyad

💻

Michael Ehab

💻

Shraddha

💻

Sanya Gera

💻

Utkarsh Saxena

💻

Ayushi Bisht

💻

Mirette Amin

💻

Lakshay Narula

💻

Supriya Kumari

💻

Gaurav Patel

💻

NISHKARSH SAXENA

💻

Purva-Gharat

💻

Yasmeen ElKararty

💻

Chahat Mittal

💻

riya singh

💻

arushi_garg

💻

Shiwangi Kumari

💻

Ayush Rudani

💻

mugdhaPandey

💻

Rahul Barnwal

💻

This project follows theall-contributors specification. Contributions of any kind are welcome!

Happy Coding !!




© LearnCPP 2022
All Rights Reserved

Developed with ❤️ in India 🇮🇳

Releases

No releases published

Packages

No packages published

Contributors85

Languages


[8]ページ先頭

©2009-2025 Movatter.jp