Am I the only one?🤔
i’ve been doom scrolling on insta for hours.
but here’s the weird part, i feel productive😃. Cause the feed’s are full of “useful tips,” “how to grow,” “stay consistent” kinda stuff.
but it’s been hours.
no real work done.
no moves made.
just poor me thinking i am improving when i am just scrolling.
wtf.🤯
@R0bstack
i’ve been doom scrolling on insta for hours.
but here’s the weird part, i feel productive😃. Cause the feed’s are full of “useful tips,” “how to grow,” “stay consistent” kinda stuff.
but it’s been hours.
no real work done.
no moves made.
just poor me thinking i am improving when i am just scrolling.
wtf.🤯
@R0bstack
🤯4💯1
Rob Stack
https://leetcode.com/problems/simplify-path/denoscription/
once i understood the problem well, coming up with a solution wasn't that hard
stack = []
for dir_name in path.split('/'):
if dir_name == '..':
if stack: stack.pop()
elif dir_name == '' or dir_name == '.':
continue
else:
stack.append(dir_name)
return '/' + '/'.join(stack)
⚡4
Rob Stack
https://leetcode.com/problems/maximum-subarray/denoscription/
This was my first accepted soln
but later i checked there is a better soln with less Runtime(9ms)
for num in nums[1:]:
cur_sum = max(num, cur_sum + num)
max_sum = max(max_sum, cur_sum)
return max_sum
but later i checked there is a better soln with less Runtime(9ms)
currSum = 0
maxSum = nums[0]
for num in nums:
if currSum < 0:
currSum = num
else:
currSum += num
if currSum > maxSum:
maxSum = currSum
return maxSum
❤1
Enough for today. I solved 10 problems all day, and if you want to solve more, check out my friend @bella_devs_squad. He's kind of a pro😎
@R0bstack
@R0bstack
❤4😁1🤯1🤝1
Sup everyone 🤓,I am redoing LeetCode problems I did in the previous days, and this is what happened:
🕯️some of the problems I struggled to solve yesterday or the day before I solved easily today.
🕯️Still, there are some problems I understand the concept and know how to solve, but I struggle with the implementation.
🕯️There are also some that make me wonder, did I really solve this one🤔😁?
Overall, I reinforced my learning, and I don't think I will miss these questions on interviews🤓. I highly recommend you guys to redo LeetCode problems you solved yesterday before starting to solve new ones.
@R0bstack
🕯️some of the problems I struggled to solve yesterday or the day before I solved easily today.
🕯️Still, there are some problems I understand the concept and know how to solve, but I struggle with the implementation.
🕯️There are also some that make me wonder, did I really solve this one🤔😁?
Overall, I reinforced my learning, and I don't think I will miss these questions on interviews🤓. I highly recommend you guys to redo LeetCode problems you solved yesterday before starting to solve new ones.
@R0bstack
❤3⚡2🤝2
Gov: You'll be a teacher next year.
Me: Sure, but make it IT and give me the lab key, or I'm ghosting 😎
#MEME@R0bstack
Me: Sure, but make it IT and give me the lab key, or I'm ghosting 😎
#MEME@R0bstack
🤓5👌4
Forwarded from SeeFun.Dev (Sifen)
Ever notice how some websites don’t tell you whether your email or password is wrong when you try to log in? They just say "Invalid credentials" with no details.That’s actually a security feature.
It’s called User Enumeration Protection.
If a site tells you “email not found,” attackers can test millions of emails and instantly know who has an account. So instead, websites use a generic message to keep your info safe.
@sifendev
It’s called User Enumeration Protection.
If a site tells you “email not found,” attackers can test millions of emails and instantly know who has an account. So instead, websites use a generic message to keep your info safe.
@sifendev
OOP.pdf
12.1 MB
Prepping for my OOP exam and suddenly remembering the PowerPoint I made last summer out of boredom🤓
🔥6👏1
Forwarded from AI Programming
Google releasing Gemini 3, most intelligent model that helps bring any idea to life.
Reasoning Capabilities
Multimodal Understanding
Agentic Coding Abilities
Learn more about Gemini:
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥3
Forwarded from Solo codes (Brook Solomon)
What I'm watching the night before exam instead of doing either
https://youtu.be/idrbwnWLJ7w?si=Y46iNrkIpkGAWF9V
https://youtu.be/idrbwnWLJ7w?si=Y46iNrkIpkGAWF9V
YouTube
What staying up all night does to your brain - Anna Rothschild
Explore how pulling an all-nighter can impact your cognitive function, and find out what happens to your brain when you don't sleep.
--
You’re just one history final away from a relaxing spring break. But you still have so much to study! You decide to follow…
--
You’re just one history final away from a relaxing spring break. But you still have so much to study! You decide to follow…
😁4