Debugged a weird Google Maps issue today.
“Suggest an edit” kept failing with 401 errors.
Cause: Maps loaded from google.co.in, but the edit API expected google.com auth cookies → cross-domain auth failed.
Opening google.com/maps fixed it.
1
20
The web is still full of small cookie/domain quirks 😅
#webdev #debugging
17
Replying to @XiaomiIndia
@XiaomiIndia Mi11X's REFRESH RATE BUG
So, whenever I open heavy-applications like @PlayCODMobile , my device starts to flicker between 60Hz-90Hz whenever I touch the screen. It's not a new issue. The only solution is to change my phone's refresh rate back to 60Hz.
#xiaomi #mi11
2
91
Nicely done @grok 👏🏻👏🏻👏🏻 (Don't worry about the weird symbols... It's Apple AI...)
63
leetcode.com/problems/find-t… [EASY]
Contributed an easy solution for this problem [EASY].
Learned about KMP (Knuth-Morris-Pratt) Algo today and applied it in this solution and in today's POTD.
UPVOTE if you find it useful!
#leetcode #easy #problem #intuition #approach #cpp
1
4
119
leetcode.com/problems/uncomm… [EASY]
Contributed an easy solution for today's POTD [EASY].
Today's POTD was a good reminder of stringstream's existence and also string_view's concept from C++17.
UPVOTE if you find it useful!
#leetcode #easy #problem #intuition #approach
5
88
leetcode.com/problems/walkin… [MEDIUM]
Contributed an easy solution for today's POTD [MEDIUM].
Today's POTD reminded me of another leetcode problem in which I used the same approach!
UPVOTE if you find it useful!
#leetcode #medium #problem #intuition #approach #hashset #set
4
87
leetcode.com/problems/minimu… [HARD]
Contributed an easy solution for the BIWEEKLY [138] [HARD].
Today's BIWEEKLY was fairly easy in comparison to the previous ones I've participated in!! GGs
UPVOTE if you find it useful!
#leetcode #hard #problem #intuition #approach #contest
3
98
Interesting question that popped into my mind today!
If I can have a fixed size of a dynamic array (The size fixed throughout the process w/o dynamic resizing) with all of its elements initialized to something (let’s say any integer). What is the importance of static arrays?
#c
1
2
74
leetcode.com/problems/final-… [EASY]
leetcode.com/problems/count-… [MEDIUM]
Contributed easy solution for the WEEKLY [412] [EASY] [MEDIUM].
UPVOTE these if you find them useful!
#leetcode #easy #medium #problem #intuition #approach #complexity #contest #weekly #hashmap #greedy #cpp_stl
5
101
leetcode.com/problems/count-… [EASY]
Contributed easy solution for the WEEKLY [411] [EASY].
Contests are hard now. Encountered lots of TLEs/MLEs today!
UPVOTE these if you find them useful!
#leetcode #easy #problem #intuition #approach #complexity #contest #weekly #sliding_window
3
88




















