SOUJITH JADI Profile
SOUJITH JADI

@SOUJITH_JADI

Followers
2
Following
3
Media
34
Statuses
70

Joined July 2025
Don't wanna be here? Send us removal request.
@SOUJITH_JADI
SOUJITH JADI
3 days
Day 34:.Problem: Allocate Minimum Number of Pages .Approach: Used Binary Search on the answer. Checked feasibility with a helper function to see if pages can be allocated within the limit of students. Balanced efficiency with correctness by narrowing search range. @geeksforgeeks
Tweet media one
1
0
0
@SOUJITH_JADI
SOUJITH JADI
4 days
āœ… Day 33:.Problem: K-th element of two sorted arrays šŸ”¢.Approach: Used a two-pointer merge strategy, similar to merge sort. Traversed both arrays while counting elements until reaching the K-th element. Optimized for early termination once K is found. ⚔.@geeksforgeeks šŸ“š
Tweet media one
1
0
0
@SOUJITH_JADI
SOUJITH JADI
6 days
Day 32:.Problem:Search in Rotated Sorted Array .Approach:Applied modified binary search to handle the rotation. At each step, determined which half is sorted and checked if the target lies there.Reduced search space logarithmically until the target was found or confirmed absent
Tweet media one
1
0
0
@SOUJITH_JADI
SOUJITH JADI
7 days
āœ… Day 31:.Problem:Peak Element šŸ“ˆ.Approach:Used binary search to find any index where the element is greater than both its neighbors.Checked boundary cases by treating out-of-bound neighbors as negative infinity. Efficiently narrowed down to the peak in O(log n). @geeksforgeeks
Tweet media one
1
0
0
@SOUJITH_JADI
SOUJITH JADI
8 days
DAY 30 WITH #gfg160 .Problem: Find Minimum in Rotated Sorted Array šŸ”.Approach: Binary search twist! Compared middle with the rightmost element to decide which half to explore. This shrinks the search space in O(log n) and finds the min efficiently. šŸš€.@geeksforgeeks šŸ“š
Tweet media one
1
0
0
@SOUJITH_JADI
SOUJITH JADI
9 days
IT'SS Day 29:.Problem:Kth Missing Positive Number in a Sorted Array.Approach:Stored array elements in a HashSet for O(1) lookups, then iterated from 1 upward, counting missing numbers until reaching the kth. Simple, direct, and efficient enough for constraints! šŸš€.@geeksforgeeks
Tweet media one
1
0
0
@SOUJITH_JADI
SOUJITH JADI
10 days
Its day āœ… Day 28:.Problem: Aggressive Cows šŸ„.Approach: Applied Binary Search on the answer — checked if cows can be placed at least mid distance apart using a greedy check. Adjusted low/high to maximize the minimum distance. Efficient O(N log M) solution! āš”šŸ“.@geeksforgeeks šŸš€
Tweet media one
1
0
0
@SOUJITH_JADI
SOUJITH JADI
12 days
āœ… Day 27:.Problem: Number of Occurrence.Approach: Used Binary Search twice — once to find the first occurrence and once for the last occurrence of the target in a sorted array. The count = (last - first + 1). Efficient O(log N) lookup! āš”šŸ“š.@geeksforgeeks šŸš€
Tweet media one
1
0
0
@SOUJITH_JADI
SOUJITH JADI
13 days
āœ… Day 26:.Problem: Count Inversions.Approach: Applied Modified Merge Sort to count how many times elements in the right half are smaller than the left half while merging. Efficient O(N log N) solution instead of brute force O(N²)! šŸ§ šŸ’”.@geeksforgeeks šŸš€
Tweet media one
1
0
0
@SOUJITH_JADI
SOUJITH JADI
14 days
It's Day 25: #gfg160 .Problem: Merge Without Extra Space.Approach: Used Gap Method (Shell Sort Variant) – gradually reduce the comparison distance (gap) and swap out-of-place elements across both arrays. Efficient in-place merging with no extra space! šŸ”„.@geeksforgeeks šŸ’Ŗ
Tweet media one
1
0
0