Baibhav Raj Profile
Baibhav Raj

@rajbaibhav004

Followers
0
Following
1
Media
53
Statuses
53

Joined March 2025
Don't wanna be here? Send us removal request.
@rajbaibhav004
Baibhav Raj
2 months
Day 53 of #160DaysOfCode āœ… with @geeksforgeeks.Solved "Find Pair with Sum Closest to Target" today! šŸŽÆ.At first, I tried all combinations with brute force 🐌, but quickly switched to the efficient two-pointer approach after sorting the array! šŸš€.#GFGDailyChallenge
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 52 of #160DaysOfCode āœ… with @geeksforgeeks. Tackled "Count Pairs with Sum Less Than Target" today! šŸ”šŸ’„.Started with a naive O(n²) solution, but then leveraged the two-pointer technique on a sorted array to bring it down to O(n)! ⚔.#GFGDailyChallenge #TwoPointerTechnique
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 51 of #160DaysOfCode āœ… with.@geeksforgeeks.Solved "Count All Triplets with Given Sum in Sorted Array" today! šŸŽÆ.Started with brute-force (O(n³) šŸ˜…), then switched to the two-pointer approach for an efficient O(n²)! šŸ§ šŸ’”.#GFGDailyChallenge #TwoPointerTechnique
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 50 of #160DaysOfCode āœ… with @geeksforgeeks. Solved "Count Subarrays with Given XOR" today! šŸ’„.Started naive, then optimized with prefix XOR + HashMap for O(n) speed! ⚔.XOR logic is šŸ”„ — tricky but satisfying!.#GFGDailyChallenge
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 49 of #160DaysOfCode āœ… with.@geeksforgeeks.Cracked "Subarrays with Sum K" today! šŸ’„.Started with the naive nested loop approach to build intuition 🧠.Then optimized it using prefix sums + HashMap for O(n) efficiency — blazing fast and super clean! āš”ļø.#GFGDailyChallenge
Tweet media one
0
0
1
@rajbaibhav004
Baibhav Raj
3 months
Day 47 of #160DaysOfCode āœ… with @geeksforgeeks. Solved Print Anagrams Together today! šŸ” .Started with sorting each word to form keys — simple yet effective 🧠.#GFGDailyChallenge #CodingJourney
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 47 of #160DaysOfCode āœ… with.@geeksforgeeks.Tackled Longest Consecutive Sequence today! šŸ”„.Started with brute force using sorting to group sequences 🧠.Then dived into the HashSet approach for optimal O(n) time — clean, efficient, and elegant! šŸš€.#GFGDailyChallenge
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 46 of #160DaysOfCode āœ… with.@geeksforgeeks.Solved Union of Two Arrays with Duplicates today!.Started with HashMaps to track frequency and merge intelligently .Then explored sorting + two pointers approach for a cleaner, sorted union! šŸ”.#GFGDailyChallenge #CodingPractice
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 45 of #160DaysOfCode āœ… with @geeksforgeeks. Solved Intersection of Two Arrays with Duplicates today!.Started with HashMaps for frequency counting 🧠.Then optimized using two pointers after sorting — fast and neat! ⚔.#GFGDailyChallenge #CodingPractice #ProblemSolving
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 44 of #160DaysOfCode āœ… with @geeksforgeeks.Solved Find All Triplets with Zero Sum today!.Started with brute-force, then optimized to O(n²) using sorting + two pointers šŸ’”.Handled duplicates smoothly — clean and efficient! šŸ”„.#GFGDailyChallenge #CodingPractice
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 43 of #160DaysOfCode āœ… with.@geeksforgeeks.Tackled the Count Pairs with Given Sum problem today!.Started with a brute-force approach, then optimized it using a hash map 🧮.Achieved O(n) time complexity by counting complement frequencies efficiently šŸ’”.#GFGDailyChallenge
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 42 of #160DaysOfCode āœ… with @geeksforgeeks. Solved the classic Two Sum – Pair with Given Sum problem today!.Explored both brute-force and optimized hash-based solutions 🧠.Achieved O(n) time complexity using a hash set to track complements .#GFGDailyChallenge
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 41 of #160DaysOfCode āœ… with @geeksforgeeks. Tackled the Set Matrix Zeroes problem today! .Used an efficient in-place approach with marker flags to minimize space —.brought it down to O(1) space complexity without losing clarity or correctness! .#GFGDailyChallenge
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 40 of #160DaysOfCode āœ… with @geeksforgeeks. Cracked the Search in a Sorted Matrix problem today! šŸ”.Leveraged the top-right corner approach to smartly reduce the search space —.achieving O(n + m) time complexity! šŸš€šŸ“‰. #GFGDailyChallenge #MatrixTraversal #OptimizedSearch
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 39 of #160DaysOfCode āœ… with @geeksforgeeks. Tackled the Search in a Row-wise Sorted Matrix problem today! šŸ”.Used binary search on each row for optimal time complexity — from O(nƗm) to O(n Ɨ log m)! āš”šŸ“ˆ.#GFGDailyChallenge #BinarySearch #MatrixMagic #CodeNewbie #DevJourney
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 38 of #160DaysOfCode āœ… with @geeksforgeeks. Cracked the Search in a Row-Column Sorted Matrix problem today! šŸ”šŸ“Š.Leveraged the top-right corner strategy — moved left if the number was bigger, moved down if it was smaller. #GFGDailyChallenge #MatrixMagic
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 37 of #160DaysOfCode āœ… with.@geeksforgeeks.Tackled the Rotate by 90 Degree problem today! šŸ”„.Rotated the matrix clockwise using two key steps: transpose the matrix and then reverse each row. Efficient and super satisfying to watch it fall into place! šŸ’”.#GFGDailyChallenge
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 36 of #160DaysOfCode āœ… with.@geeksforgeeks.Solved the Spirally Traversing a Matrix problem today! šŸ”.Carefully navigated the matrix layer by layer — used four boundary pointers to control direction and avoid overlaps. #GFGDailyChallenge
Tweet media one
0
0
1
@rajbaibhav004
Baibhav Raj
3 months
Day 35 of #160DaysOfCode āœ… with.@geeksforgeeks.Solved the Kth Missing Positive Number problem today! šŸ”.Used a simple yet clever approach — leveraged the difference between index and value to skip over the missing elements efficiently. #GFGDailyChallenge
Tweet media one
0
0
0
@rajbaibhav004
Baibhav Raj
3 months
Day 34 of #160DaysOfCode āœ… with @geeksforgeeks.Solved the Allocate Minimum Pages šŸ“š problem today!.Applied binary search on the answer again — balanced the load among students while minimizing the maximum pages assigned. Elegant and efficient! šŸ’”.#GFGDailyChallenge
Tweet media one
0
0
0