Skip to content

rajrupdasofficial/gfg_dsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GFG-160-Days-DSA-Challenge-

I am on a challenge to tackle the GFG DSA sheet starting from 22 march. I am documenting my solutions on github. I will try to solve all the problems in C and C++ and later on I will also upload a Rust based solution which will be a modern solution of C and C++ DSA implementation.

Thank you if you find my solutions helpful please give a *.

Day 01: Second Largest ✅

Day 02: Move All Zero's ✅

Day 03: Reverse an Array ✅

Day 04: Rotate an Array ✅

Day 05: Next Permutation ✅

Day 06: Majority Element II ✅

Day 07: Stock Buy and Sell – Multiple Transaction Allowed ✅

Day 08: Stock Buy and Sell – Max one Transaction Allowed ✅

Day 09: Minimize the Heights II ✅

Day 10: Kadane's Algorithm ✅

Day 11: Maximum Product Subarray ✅

Day 12: Max Circular Subarray Sum ✅

Day 13: Smallest Positive Missing Number ✅

Day 14: Implement Atoi ✅

Day 15: Add Binary Strings ✅

Day 16: Anagram ✅

Day 17: Non Repeating Character ✅

Day 18: KMP Search Algorithm ✅

Day 19: Min Chars to Add for Palindrome ✅

Day 20: Strings Rotations of Each Other ✅

Day 21: Sort 0s, 1s and 2s ✅

Day 22: Find H-Index ✅

Day 23: Count Inversions ✅

Day 24: Overlapping Intervals ✅

Day 25: Insert Interval ✅

Day 26: Non-overlapping Intervals ✅

Day 27: Merge Without Extra Space ✅

Day 28: Number of occurrence ✅

Day 29: Sorted and Rotated Minimum ✅

Day 30: Search in Rotated Sorted Array ✅

Day 31: Peak element ✅

Day 32: K-th element of two Arrays ✅

Day 33: Aggressive Cow ✅

Day 34: Allocate Minimum Pages ✅

Day 35: Kth Missing Positive Number in a Sorted Array ✅

Day 36: Spirally traversing a matrix ✅

Day 37: Rotate by 90 degree ✅

Day 38: Search in a Row-Column sorted matrix ✅

Day 39: Search in a row-wise sorted matrix ✅

Day 40: Search in a sorted Matrix ✅

Day 41: Set Matrix Zeroes ✅

Day 42: Two Sum - Pair with Given Sum ✅

Day 43: Count pairs with given sum ✅

Day 44: Find All Triplets with Zero Sum ✅

Day 45: Intersection of Two arrays with Duplicate Elements ✅

Day 46: Union of Arrays with Duplicates ✅

Day 47: Longest Consecutive Subsequence ✅

Day 48: Print Anagrams Together ✅

Day 49: Subarrays with sum K ✅

Day 50: Count Subarrays with given XOR ✅

Day 51: Count all triplets with given sum in sorted array ✅

Day 52: Count Pairs whose sum is less than target ✅

Day 53: Sum Pair closest to target ✅

Day 54: Pair with given sum in a sorted array ✅

Day 55: Count the number of possible triangles ✅

Day 56: Indexes of Subarray Sum ✅

Day 57: Count distinct elements in every window ✅

Day 58: Longest substring with distinct characters ✅

Day 59: Trapping Rain Water ✅

Day 60: Container With Most Water ✅

Day 61: Equilibrium Point ✅

Day 62: Longest Subarray with Sum K ✅

Day 63: Largest subarray of 0's and 1's ✅

Day 64: Product array puzzle ✅

Day 65: Reverse a linked list ✅

Day 66: Rotate a Linked List ✅

Day 67: Merge two sorted linked lists ✅

Day 68: Linked List Group Reverse ✅

Day 69: Add Number Linked Lists ✅

Day 70: Clone List with Next and Random ✅

Day 71: Detect Loop in linked list ✅

Day 72: Find the first node of loop in linked list ✅

Day 73: Remove loop in Linked List ✅

Day 74: LRU Cache ✅

About

GFG DSA challenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published