
SWE Qualcomm | ACM-ICPC Regionalist | Expert @Codeforces | Guardian @Leetcode(2376) Top 0.4% | AIR-79 @Google Codejam 2023 | Ex-Mentor @TLE_Eliminators
Joined December 2020
- Tweets371
- Following566
- Followers313
- Likes463
It was fun catching up with you all :), Looking forward to the next Hyd tech meetup soon🙌#techtwitter #hydtechmeetup
When BLR and Hyd tech twitter met at dinner last night ✨
Had a lot of fun and interesting conversations about tech, AI, startups , growth, GTM and so much more…
Would love to meet more tech, product, growth folks in Hyd!
4
128
Can’t believe that I’ve solved over 40% of the problems on #LeetCode ☠️☠️
2
196
#Leetcode bhi aukaat dikha raha👀☠, sobara serious hona padega
1
189
🚀 LeetCode POTD Day-1270
Problem: 1432. Max Difference You Can Get From Changing an Integer (leetcode.com/problems/max-di…)
1
1
123
- In such cases, we also try replacing all occurrences of the first digit with 1 to handle the minimum case. 👉 333 → 111.
4. Finally, the answer =
max_num - min(min_from_change_to_0, min_from_change_to_1).
Time Complexity:- ~O(1) (We are just traversing a number)
1
36
My Solution:- leetcode.com/problems/max-di…
If you found this helpful, please like, share, and follow for more content or help with future problems!
26
LeetCode POTD Day-1265
Problem: 3442. Maximum Difference Between Even and Odd Frequency I (leetcode.com/problems/maximu…)
Approach:-
We’re given a string, and our goal is to find the maximum difference between the frequency of a character with an odd count and one with an even count.
1
1
75
- First, we counted the frequency of each character using a map.
- Next, we looked for two key values:
🔹 The maximum frequency among characters that appear an odd number of times.
🔹 The minimum frequency among characters that appear an even number of times.
1
22
- The final answer is just the difference between these two values.
Time Complexity:- ~O(n)
My Solution:- leetcode.com/problems/maximu…
If you found this helpful, please like, share, and follow for more content or help with future problems!
19
🚀 LeetCode POTD Day-1262
Problem: 3170. Lexicographically Minimum String After Removing Stars (leetcode.com/problems/lexico…)
🧠 Approach:-
We’re given a string s, we need to remove all “*” along with one character on left for each “*”.
1
64
- smaller characters first
- among equal characters, the larger index (rightmost) first
Time Complexity:- O(n*logn)(because we are inserting/deleting atmost n times)
1
15
My Solution:- leetcode.com/problems/lexico…
If you found this helpful, please like, share, and follow for more content or help with future problems!
15








