Skip to content

whogurdevil/Problems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

count.png

This repo is for saving the solutions for practise questions of DSA.

Date Solution Problem URL logic used
Jan 1-2 subarray.cpp GeeksForGeeks Vector
Jan 6 romantomath.cpp leetcode Hashmap
Jan 7 containsdupli.cpp leetcode sets
Jan 9 TwoSum.cpp leetcode Vector Array
Jan 10 maxfreqnumhshmp.cpp CodingNinjas Hashmaps
Jan 11 SimmArr.cpp CodingNinjas Hashmaps
Jan 12 firstlastoccur.cpp CodingNinjas Binary Search
Jan 13 Pivot & mountain(google it!) Google It! Binary search
Jan 14 - bookallocation.cpp - painterproblem.cpp - aggressivecows.cpp -CodingNinjas -CodingNinjas -CodingNinjas Binary Search
Jan 15 revarray.cpp -merge2array.cpp -movezeroes.cpp -CodingNinjas -LeetCode -LeetCode Vector Arrays
Jan 16 -palindrome1.cpp -replacespaces.cpp -validpalindrome.cpp -CodingNinjas -CodingNinjas -LeetCode Arrays
Jan 17 -printlikeawave.cpp -removeocc.cpp -search2d1.cpp -searchin2d2.cpp -spiralmatrix.cpp -CodingNinjas -LeetCode -leetcode -LeetCode -LeetCode - STL - 2D ARRAYS
Jan 18 -jaggedarr.cpp -findgcd.cpp -countprimes.cpp -modularexponential.cpp -pairsum.cpp -jaggedarray(googleit!) -LeetCode -LeetCode -CodingNinjas -CodingNinjas - Sieve of Erasthenes -modulo conversions -euclid's gcd -vectors -2d array
Jan 19 -sumorproduct.cpp -React state manipulation CodingNinjas Type conversion
Jan 20 - 24 -binarysrchin2d.cpp -CodingNinjas - Modified Binary Search
Jan 25 - 27 -arrsum.cpp -countnum.cpp -issorted.cpp -linearSrchUsingRecc.cpp -binarySrchUsingRecc.cpp -fibbo.cpp -countWaysStair.cpp -LocalRepo -LeetCode -LeetCode -CodingNinjas Recurssive Relations
Jan 28 -bubbleSortUsingRecc.cpp -exponentusingrecc.cpp -insertionSortUsingRecc.cpp -selectionSortUsingRecc.cpp -revstringusingrecc.cpp -Local -CodingNinjas Reccursion
Jan 29 -mergesortusingrecc.cpp -quicksort.cpp -subsets.cpp -Local -CodingNinjas -LeetCode Reccursion
Jan 30-31 (monthly revisit all problems) (monthly revisit) + powxn.cpp -bubblesort.cpp -selectionsort.cpp -LeetCode -GeeksForGeeks -GeeksForGeeks -Reccursion -Month(Jan)
Feb 1 removeDuplicates.cpp - Started React Native app development leetCode Sets
Feb 2 -React navigation(screen,tab,drawer) ans Hooks -subsets.cpp -subsequences.cpp -keypadproblem.cpp -LeetCode -CodingNinjas -LeetCode Recursion
Feb 3 -permutation.cpp -React native collaborative work using github LeetCode Reccursion
Feb 4-5 ratinmaze.cpp GeeksForGeeks Reccursion
Feb 6 shuffleTheArr.cpp - React native environment setup on hackathon's team's system Leetcode Dual Pointer
Feb 7 fruitsIntoBasket.cpp LeetCode HashMaps
Feb 8 jumpGame2.cpp LeetCode Common
Feb 9-25 linkedList.cpp -doublyLinkedList.cpp -circularLinkedList.cpp local Linked List
Feb 26 reverseLinkedList.cpp -findMiddleLinkedList.cpp codingNinjas -CodingNinjas LinkedList
Feb 27 - Mar 5 detectAndRemoveLoop.cpp CodingNinjas Linked List
Mar 6 - 8 removeDupliSortLink.cpp removeDupliUnsortLink.cpp CodingNinjas -CodingNinjas Linked List
Mar 9 sortLinkedList012.cpp mergeTwoSortedLL.cpp CodingNinjas CodingNinjas Linked List
Mar 10-16 checkPalindromeLL.cpp addTwoLL.cpp GeeksForGeeks GeeksForGeeks Linked List
July 9 cloneLL.cpp GeeksForGeeks LL rearranging or map
July 10 mergeSortLL.cpp flattenLL.cpp CodingNinjas CodingNinjas LL Two pointer
July 11 twoStacks.cpp CodingNinjas Stack array
July 12 deleteMiddle.cpp validParenthesis.cpp CodingNinjas CodingNinjas Stacks reccursion
July 13 validString.cpp redundantBracket.cpp reverseStack.cpp insertAtBottom.cpp sortStack.cpp CodingNinjas CodingNinjas CodingNinjas CodingNinjas CodingNinjas Stacks reccursion
July 14 🎂 nextSmallest.cpp codingNinjas Stacks
July 15 largestAreaInHisto.cpp codingNinjas Stacks
July 16-17 celebrity.cpp maxRectangle.cpp geeksforgeeks geeksforgeeks Stacks
July 18 nStacks.cpp codingNinjas Stacks
July 19-20 getMinStack.cpp CodingNinjas Stacks
July 21 queue.cpp circularQueue.cpp codingNinjas codingNinjas Stacks
July 22 dequeue.cpp CodingNinjas Queues
July 23 reverseQueue.cpp kReverseQueue.cpp GeeksForGeeks GeeksForGeeks Queues
July 24-25 negativeInteger.cpp GeeksForGeeks Queue
July 26 repeatingChar.cpp GeeksForGeeks Queues
July 27-28 circularTour.cpp GeeksForGeeks Queue
July 29 kQueue.cpp GeeksForGeeks Queue
Sept 11 heightOfTree.cpp GeeksForGeeks Trees
Sept 12 countLeaf.cpp CodingNinjas Trees
Sept 13 diameterOfTree.cpp GeeksForGeeks Trees
Sept 14 isBalanced.cpp GeeksForGeeks Trees
Nov 26 verticalOrderTraversal.cpp topView.cpp GeeksForGeeks GeeksForGeeks Trees(horizontal and vertical distances from root node) use with map and queue
Nov 27 bottomView.cpp leftView.cpp rightView.cpp diagonalView.cpp GeeksForGeeks GeeksForGeeks GeeksForGeeks GeeksForGeeks Trees(remeber to pass map by reference and use recursion with distances from root)
Nov 29 longestBloodlineSum.cpp GeeksForGeeks Trees
Dec 2 lca.cpp GeeksForGeeks Trees reccursion
Dec 3 ksumpaths.cpp GeeksForGeeks Trees reccursion
Dec 4 kthCommonAncestor.cpp GeeksForGeeks Trees reccursion
Dec 5 - 24 maxSumNonAdj.cpp inPreBuildTree.cpp inPostBuildTree.cpp burningTree.cpp morrisTraversal.cpp GeeksForgeeks GeeksForgeeks GeeksForgeeks GeeksForgeeks LeetCode Trees
Dec 25 - 27 flattenTree.cpp searchInBst.cpp GeeksForGeeks CodingNinjas tree, BST
Dec 28 - 29 balanceBst.cpp findKthSmallest.cpp findPredSucc.cpp flattenBst.cpp lcaInBst.cpp partialBst.cpp twoSumBst.cpp CodingNinjas CodingNinjas CodingNinjas CodingNinjas CodingNinjas CodingNinjas CodingNinjas Binary Search Trees
Dec 30 - 31 mergeTwoBsts.cpp CodingNinjas Binary Search Trees
---------- ---------- ---------- ----------
Happy New Year 2024
---------- ---------- ---------- ----------
Jan 1 largestBstInBt.cpp CodingNinjas Binary Search Trees

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published