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
I've applied for the Icog Tech Intern position by the end of October, and I read a requirement that says I have to be a year before gradation, which I'm not. But I applied anyway because I needed to. As you can tell, I got an email saying I passed the interview, and I was happy and confused you know, I'm not a fourth year student and i do mention that on my resume, so why do they want to interview me?
Anyway, the interview wasn't bad, it included both behavioral and technical parts. I wish I had prepared better for it.
I have a lot to improve for the next one, and I know no one who gets it on the first try, so I'm excited for my first rejection email🤓
@R0bstack
Anyway, the interview wasn't bad, it included both behavioral and technical parts. I wish I had prepared better for it.
I have a lot to improve for the next one, and I know no one who gets it on the first try, so I'm excited for my first rejection email🤓
@R0bstack
❤10
This media is not supported in your browser
VIEW IN TELEGRAM
OpenAI was originally founded as a nonprofit in December 2015
❤3😁1