Ex -Intern at Reliance Jio || 365 Days Of Coding Challenge||5🌟 C++||4 🌟 C|| Data Structure ||problemSolving||OOPS||SQL||Computer Network|| Operating System

In this post, I’ve shared how the 60-day POTD streak powered by NPCI helped me improve my problem-solving consistency, strengthened my DSA concepts, and built a disciplined coding habit.@geeksforgeeks @NPCI_NPCI
12
πŸš€ Day 60/60 – GFG Γ— NPCI Challenge 🎯 Solved: URLify a Given String Approach: πŸ” String Manipulation Replaced spaces with %20 efficiently. Completed 60 days of consistency πŸš€πŸ’ͺ #60DaysChallenge #DSA #Strings #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI @geeksforgeeks
1
15
πŸš€ Day 59/60 – GFG Γ— NPCI Challenge Solved: Remove Spaces Approach: βœ‚οΈ String Traversal Filtered out spaces while building the result string. #60DaysChallenge #DSA #Strings #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI @geeksforgeeks
8
πŸš€ Day 58/60 – GFG Γ— NPCI Challenge Solved: Next Smallest Palindrome Approach: πŸ” String Manipulation + Carry Handling Mirrored digits and handled carry to form the next palindrome. πŸ’ͺ #60DaysChallenge #DSA #Strings #GeeksforGeeks #NPCI @GeeksforGeeks @NPCI_NPCI
2
πŸš€ Day 57/60 – GFG Γ— NPCI Challenge Solved: Toeplitz Matrix Approach: πŸ“Š Matrix Traversal Checked diagonals to ensure all elements are consistent. πŸ’ͺ #60DaysChallenge #DSA #Matrix #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI @geeksforgeeks
1
12
πŸš€ Day 56/60 – GFG Γ— NPCI Challenge Solved: Count Increasing Subarrays Approach: πŸ“ˆ Linear Traversal Counted lengths of increasing segments to compute total subarrays. πŸ’ͺ #60DaysChallenge #DSA #Arrays #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI @geeksforgeeks
1
13
πŸš€ Day 55/60 – GFG Γ— NPCI Challenge Solved: Sorted Subsequence of Size 3 Approach: πŸ“Š Preprocessing (Left Min + Right Max) Tracked smaller on left & greater on right to find valid triplet. πŸ’ͺ #60DaysChallenge #DSA #Arrays #GeeksforGeeks #NPCI @GeeksforGeeks @NPCI_NPCI
1
14
πŸš€ Day 54/60 – GFG Γ— NPCI Challenge Solved: Intersection of Two Sorted Arrays Approach: πŸ‘‰ Two Pointers Traversed both arrays simultaneously to find common elements efficiently. πŸ’ͺ #60DaysChallenge #DSA #TwoPointers #GeeksforGeeks #NPCI @GeeksforGeeks @NPCI_NPCI @geeksforgeeks
2
πŸš€ Day 53/60 – GFG Γ— NPCI Challenge Solved: Segregate 0s and 1s Approach: πŸ‘‰ Two Pointers Separated 0s and 1s efficiently in a single traversal. πŸ’ͺ #60DaysChallenge #DSA #Arrays #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI @geeksforgeeks
1
10
πŸš€ Day 52/60 – GFG Γ— NPCI Challenge Solved: Stable Marriage Problem Approach: πŸ’ Gale–Shapley Algorithm (Greedy) Matched pairs ensuring no unstable pair exists. πŸ’ͺ #60DaysChallenge #DSA #Greedy #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI @geeksforgeeks
9
πŸš€ Day 51/60 – GFG Γ— NPCI Challenge Solved: Huffman Encoding Approach: 🌲 Greedy + Min Heap Built optimal prefix codes using frequency-based tree construction. πŸ’ͺ #60DaysChallenge #DSA #Greedy #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI @geeksforgeeks
12
πŸš€ Day 50/60 – GFG Γ— NPCI Challenge Solved: Target Sum Approach: 🎯 Dynamic Programming (Subset Sum Transformation) Converted the problem into subset sum to count valid expressions. πŸ’ͺ #60DaysChallenge #DSA #DynamicProgramming #GeeksforGeeks #NPCI @GeeksforGeeks @NPCI_NPCI
9
πŸš€ Day 49/60 – GFG Γ— NPCI Challenge Solved: Gray Code Approach: πŸ”’ Bit Manipulation Generated sequence where consecutive numbers differ by one bit. πŸ’ͺ #60DaysChallenge #DSA #BitManipulation #GeeksforGeeks #NPCI @GeeksforGeeks @NPCI_NPCI
2
7
πŸš€ Day 48/60 – GFG Γ— NPCI Challenge Solved: Print Diagonally Approach: πŸ“Š Matrix Traversal Traversed the matrix by grouping elements based on diagonal indices. πŸ’ͺ #60DaysChallenge #DSA #Matrix #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI @geeksforgeeks
1
5
πŸš€ Day 47/60 – GFG Γ— NPCI Challenge Solved: Painting the Fence Approach: 🎨 Dynamic Programming Counted valid ways to paint fences without violating color constraints. πŸ’ͺ #60DaysChallenge #DSA #DynamicProgramming #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI
1
5
πŸš€ Day 46/60 – GFG Γ— NPCI Challenge Solved: Consecutive 1's Not Allowed Approach: πŸ“Š Dynamic Programming Counted valid binary strings using Fibonacci-style DP. πŸ’ͺ #60DaysChallenge #DSA #DynamicProgramming #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI @geeksforgeeks
12
πŸš€ Day 45/60 – GFG Γ— NPCI Challenge Solved: Buy Stock with Transaction Fee Approach: πŸ“ˆ Dynamic Programming Tracked buy/sell states while accounting for transaction fee to maximize profit. #60DaysChallenge #DSA #DynamicProgramming #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI
6
πŸš€ Day 44/60 – GFG Γ— NPCI Challenge Solved: Minimum Cost to Connect All Houses in a City Approach: 🌐 Minimum Spanning Tree (Prim’s/Kruskal’s) Connected all houses with minimum cost using MST. πŸ’ͺ #60DaysChallenge #DSA #Graphs #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI
5
πŸš€ Day 43/60 – GFG Γ— NPCI Challenge Solved: Partitions with Given Difference Approach: πŸ“Š Dynamic Programming (Subset Sum) Converted the problem into subset sum to count valid partitions. πŸ’ͺ #60DaysChallenge #DSA #DynamicProgramming #GeeksforGeeks #NPCI @geeksforgeeks @NPCI_NPCI
3
πŸš€ Day 42/60 – GFG Γ— NPCI Challenge Solved: Articulation Point – II Approach: πŸ”— DFS + Tarjan’s Algorithm Identified critical vertices whose removal disconnects the graph. πŸ’ͺ #60DaysChallenge #DSA #Graphs #GeeksforGeeks #NPCI @GeeksforGeeks @NPCI_NPCI @geeksforgeeks
8