Gautam

6K posts

Gautam banner
Gautam

Gautam

@_Curious_guy

CODER •• INVESTOR •• PERSONAL BRANDING •• EXPLORER •• FITNESS FREAK

Ludhiana, India Присоединился Mayıs 2020
180 Подписки138 Подписчики
Gautam
Gautam@_Curious_guy·
Quote of the day Button koe bhi dbao ayega chai wala hi 🤌
Filipino
0
1
1
11
Gautam
Gautam@_Curious_guy·
Not able to find any flat for bachelor in Chandigarh can anyone help?
English
0
0
0
26
Gautam
Gautam@_Curious_guy·
@oye_sanjana_ Kisika nhi hora comback 😅
Indonesia
0
0
1
5
Gautam
Gautam@_Curious_guy·
Comback kyu nhi hora 😅🙃
Indonesia
0
0
1
13
Gautam
Gautam@_Curious_guy·
Grinding DSA ✅ Learning Web Dev ✅ Still feels like I’m getting nowhere 😶 Am I the only one feeling like this? #SelfDoubt
English
0
0
2
15
Damn.
Damn.@Theonenameddamn·
He died but his music is still alive, name one artist?
English
1.2K
24
1.4K
324.2K
Gautam ретвитнул
Gautam
Gautam@gautamsingh6924·
🌀 Leetcode 54: Spiral Matrix Traverse a 2D matrix in a spiral order 👉 right, down, left, up — repeat! Tip: Use top, bottom, left, right boundaries & shrink them as you go. Watch out for off-by-one errors! 😅 #Leetcode #Java #Coding #100DaysOfCode
Gautam tweet media
English
0
1
3
14
Gautam ретвитнул
Gautam
Gautam@gautamsingh6924·
A little achievement but means a lot 🙃🙇‍♀️ #LeetCode #Java #DSA
Gautam tweet media
English
0
1
2
20
Gautam ретвитнул
Gautam
Gautam@gautamsingh6924·
🔥 Solved Leetcode 234: Palindrome Linked List 🧠 Used two-pointer technique to find the middle 🔁 Reversed the second half 🔍 Compared both halves to check for palindrome 💡 Time: O(n), Space: O(1) #Leetcode #100DaysOfCode #DSA #Java #LinkedList
Gautam tweet media
English
0
1
2
19
Gautam ретвитнул
Gautam
Gautam@gautamsingh6924·
🧩 Leetcode 19: Remove Nth Node From End 💡 My approach: Count length ➕ delete target node 📏 Simple logic, 2 passes #Leetcode #Java #DSA #Coding #100daysOfCoding
Gautam tweet media
English
0
1
2
20
Gautam ретвитнул
Gautam
Gautam@gautamsingh6924·
while (s <= e) { int mid = s + (e - s) / 2; if (canEatAll(..., mid)) e = mid - 1; else s = mid + 1; }
Gautam tweet media
English
1
1
2
19
Gautam ретвитнул
Gautam
Gautam@gautamsingh6924·
🐒 LeetCode 875 – Koko Eating Bananas Koko eats 🍌 at speed k. Find the minimum speed so she finishes all piles in h hours. Trick: (pile + speed - 1) / speed avoids Math.ceil() #LeetCode #Java #BinarySearch #100DaysOfCode #DSA
English
1
1
2
19
Gautam ретвитнул
Gautam
Gautam@gautamsingh6924·
✅ LeetCode 1961 – Check If String Is a Prefix of Array Passed all test cases! 🧪💯 🧠 Logic: Build the prefix step-by-step using StringBuilder & compare with s. Exit early if it goes too long. #LeetCode #Java #100DaysOfCode #CodingJourney #DSA 📌 Code: Given Below
English
1
1
2
16
Gautam ретвитнул
Gautam
Gautam@gautamsingh6924·
Solved LeetCode 27 – Remove Element with a 🔁 two-pointer swap trick! Remove all val occurrences in-place without extra space 👇 🧠 Think smart with pointers! #LeetCode #Java #Coding #DSA #100DaysOfCode
English
1
1
2
13
Gautam ретвитнул
Gautam
Gautam@gautamsingh6924·
🧠#Leetcode 33: Search in Rotated Sorted Array 🔍 #BinarySearch meets Rotation! ➡️ First, find the pivot (rotation point). ➡️ Then, search in the correct half using classic binary search. ⏱️ Time: O(log n) 📌 Tip: Handle the "not rotated" case carefully! #Coding #Java
English
0
1
3
15
Gautam ретвитнул
Gautam
Gautam@gautamsingh6924·
🧠 #Leetcode 153: Find Minimum in Rotated Sorted Array ✅ Use #BinarySearch 🎯 Focus on the unsorted half to find the minimum 💡 Condition: if mid > end ➡️ min is in right Else ➡️ min is in left (including mid) ⏱️ Time: O(log n) #Coding #Java #DSA
English
0
1
2
14