Finished,written off

Joined March 2024
1,062 Photos and videos
Pinned Tweet
Day 318:Maximum Twin Sum of a Linked List Find the middle node,reverse the second half of the list and iteratively add up pairs of first half and reversed second half to find maxSum.For zero elements,we have no maxSum and for a element,the head is its maxSum
7
93
Craque retweeted
“…but perhaps you hate a thing and it is good for you and perhaps you love a thing and it is bad for you…” 2:216
1
6
67
1,083
reminders
The irony is people are okay to wake up at night to watch matches but has anyone tried the same with Tahajjud? Ik it’s not a fard ibadah but if you can wake up for matches pray tahajjud also rewards fun.
5
40
Craque retweeted
Me dealing with my life lately:
13
9
66
1,396
lessons
I remember reading this almost a decade ago and it’s ever more relevant today
4
73
247/285,😢😢
5
93
Articulation points in a graph,tin,low,is_articulation,visited,back edges,dfs,children,root can or cannnot be articulation,bridges in a graph
6
89
Day 317:Weighted Word Mapping char to int type casting,char subtractions to obtain the resultant character
12
145
Craque retweeted
Now I realized that forever is only meant for memories…
2
4
98
Day 316:Number of ways to assign edge weights 2 Use of binary lifting to find the lowest common ancestor between two nodes in log time,use of dfs to calculate depth from root node to any other node,combining these to find edges and use of fastPow to calculate 2^k-1,where k=edges
TLE count 1,leetcode's POTD
2
13
160
TLE count 1,leetcode's POTD
1
7
312
binary lifting learning tymmm
3
73
Day 315:Number of Ways to Assign Edge weight 2^k != << ,where k>64
2
17
212
hopefully,my time comes soon to shine and win
4
14
219
wishin the same for the ones who are struggling or close to the finish line
7
75
always getting humbled :(,no matter how much I try ain't good enuf
2
9
149
Craque retweeted
71
466
5,124
Day 314:Maximum total Subarray Value 2 Segment trees for querying,value of a bigger window does not exceed the smaller window,use of max heap to pick the top k value subarrays,bfs traversal while picking subarray windows,learned new stuffs,still got to work more :)
1
19
263
Sometimes the solution was giving love and attention to the ones we have, in my small irl circle, retaining them is the best I can do.
2
14
121
☹️😞
2
55