Gautam (@_Curious_guy) header
Gautam (@_Curious_guy) profile picture

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

Ludhiana, India
Joined May 2020
Photo by Gautam (@_Curious_guy)Photo by Gautam (@_Curious_guy)Photo by Gautam (@_Curious_guy)Photo by Gautam (@_Curious_guy)Photo by Gautam (@_Curious_guy)Photo by Gautam (@_Curious_guy)Photo by Gautam (@_Curious_guy)Photo by Gautam (@_Curious_guy)Photo by Gautam (@_Curious_guy)Photo by Gautam (@_Curious_guy)
Quote of the day Button koe bhi dbao ayega chai wala hi 🤌
1
1
11
Quote of the day Button koe bhi dbao ayega chai wala hi 🤌
1
1
11
Not able to find any flat for bachelor in Chandigarh can anyone help?
26
Comback kyu nhi hora 😅🙃
1
13
Grinding DSA ✅ Learning Web Dev ✅ Still feels like I’m getting nowhere 😶 Am I the only one feeling like this? #SelfDoubt
2
15
🌀 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
1
3
14
A little achievement but means a lot 🙃🙇‍♀️ #LeetCode #Java #DSA
1
2
20
🔥 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
1
2
19
🧩 Leetcode 19: Remove Nth Node From End 💡 My approach: Count length ➕ delete target node 📏 Simple logic, 2 passes #Leetcode #Java #DSA #Coding #100daysOfCoding
1
2
20
Just solved 🔁 Reverse Linked List on #LeetCode ! Mastering pointer manipulation like a pro 😎 🧩 Classic problem. Clean logic. #100DaysOfCode #DSA #Java 🚀#100DaysOfCode
1
2
15
Will be getting a call from google any minute now 🙃🙃 #LeetCode #100DaysOfCode #DSA #Java
1
2
18
while (s <= e) { int mid = s + (e - s) / 2; if (canEatAll(..., mid)) e = mid - 1; else s = mid + 1; }
1
1
2
19
🐒 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
1
1
2
19
✅ 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
1
1
2
16
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
1
1
2
13
🧠#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
1
3
15
🧠 #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
1
2
14
🔁 LeetCode - 9. Palindrome Number Can you check if an integer reads the same backward? ❌ Negative numbers = Not palindromes ❌ Don’t convert to String ✅ Reverse the number with math & compare! Same as Question 7 Reverse Integer with a bit of twist #Java #100DaysOfCode #DSA
1
1
2
17
LeetCode Problem #1 - Two Sum 💡 Simple yet classic! Use a nested loop to check all pairs. 🎯 If nums[i] + nums[j] == target, return their indices. 📌 Starter-friendly & a great way to practice brute-force logic. 💻 Code snippet coming below 👇 #LeetCode #100DaysOfCode #Java
1
1
3
27
Sure! Here's a concise and engaging tweet you can post for this problem: 🔁 LeetCode -7 Reverse Integer Problem: Reverse digits of a 32-bit signed integer. If overflow → return 0. ❌ No strings, no long allowed! 🧠 Trick: Below
1
1
3
25