LeetCode #12 – Find All Duplicates in an Array
Thought I needed an extra array… turns out you can use the array itself for O(n) time and O(1) extra space.
#leetcode
Thought I needed an extra array… turns out you can use the array itself for O(n) time and O(1) extra space.
#leetcode
🔥2
LeetCode #13 – Find Players With Zero or One Losses
you can use Counter to get who never lost and who lost exactly once in one pass, then just sort.
#leetcode
you can use Counter to get who never lost and who lost exactly once in one pass, then just sort.
#leetcode
🔥2
LeetCode #14 – First Unique Character in a String
Count first, scan once, return the index. (used counter)
May your life be as easy as this question✨
#leetcode
Count first, scan once, return the index. (used counter)
May your life be as easy as this question✨
#leetcode
🔥2😁1
Woke up really early today , Said I’m gonna use the day to the fullest. I forgot I’m not built for mornings.
Ended up sleeping the whole afternoon🙂.
Moral of the story: know yourself.
Ended up sleeping the whole afternoon🙂.
Moral of the story: know yourself.
😁5🤣5
Sometimes we forget we’re allowed to dream as vast as we want. We start limiting our lives without even realizing it. I struggle with this too
I sometimes have a limited mindset, thinking small and asking for less. but maybe yeah.. life really does give us what we have the courage to ask for.👩🦯
@helina_commit
I sometimes have a limited mindset, thinking small and asking for less. but maybe yeah.. life really does give us what we have the courage to ask for.👩🦯
@helina_commit
💯6
LeetCode #15 -Majority Element , Majority Element II , Contains Duplicate
Just frequency tricks and simple logic.
#leetcode
Just frequency tricks and simple logic.
#leetcode
🔥3
LeetCode #16 - Single Number
Count with Counter.
tryna have selamawi question at this time tbh😴
#leetcode
Count with Counter.
tryna have selamawi question at this time tbh😴
#leetcode
❤4
Forwarded from BeyondCode
Let’s make things interesting. So tmrw is IWD so I’ll giveaway a one month Claude pro account to any of the women Tg content creator. If she already has, she’ll choose anyone she likes and pass it to that person. Disclaimer: this is not the api just the pro account. I’ll list the channels Ik and lmk others you think should be in the voting process.
Forwarded from BeyondCode
IWD Claude Giveaway
Final Results
26%
Luna’s Pathway
23%
DOT_RUTH
31%
Code & Coffee
4%
Code Sober
20%
20%
Zaya
11%
Frosty Siren
Today I attended an International Women’s Day event at ALX Ethiopia, and it was such a great experience. 🌸
There were many inspiring women developers sharing their journeys and ideas. Even though I didn’t get the chance to meet a lot of people, the environment itself was motivating.
I also participated in the hackathon, which was really exciting, and attended a workshop on AI and Machine Learning.
Overall, it was a really good day✨️
There were many inspiring women developers sharing their journeys and ideas. Even though I didn’t get the chance to meet a lot of people, the environment itself was motivating.
I also participated in the hackathon, which was really exciting, and attended a workshop on AI and Machine Learning.
Overall, it was a really good day✨️
🔥12