Discrete Mathematics result released from 100 π«£
I passed π
Thatβs enough for me π
At this point, survival is more important than grades π
I passed π
Thatβs enough for me π
At this point, survival is more important than grades π
π7π1π€1
The hardest battle is between what you want and how the real world works.
π4π₯1
Today I read someoneβs testimony, and it taught me something important.
Every situation in life whether it comes from our mistakes, pain, happiness, or struggles carries a lesson.
Sometimes we understand it immediately, and sometimes it takes time.
But one thing I realized is this:
Every condition we go through in life teaches us something.
Every situation in life whether it comes from our mistakes, pain, happiness, or struggles carries a lesson.
Sometimes we understand it immediately, and sometimes it takes time.
But one thing I realized is this:
Every condition we go through in life teaches us something.
π₯8
Sometimes I see people younger than me doing amazing things and it really makes me think.
This guy is only 16 years old, building startups, creating content, and growing in tech communities like A2SV. π
Meanwhile, when I was 16 π I was busy watching cartoons and hearing
βIf you donβt study mathematics, you will fail your exams.β
Many of us grew up thinking only about passing exams, but some people start building skills and chasing bigger dreams very early. Family support also has a big role in this.
The crazy thing is, I knew about A2SV only two years ago, but he already knew it at 16. Thatβs inspiring for real.
Respect to him for starting early, learning continuously, and building while still young.
This guy is only 16 years old, building startups, creating content, and growing in tech communities like A2SV. π
Meanwhile, when I was 16 π I was busy watching cartoons and hearing
Many of us grew up thinking only about passing exams, but some people start building skills and chasing bigger dreams very early. Family support also has a big role in this.
The crazy thing is, I knew about A2SV only two years ago, but he already knew it at 16. Thatβs inspiring for real.
Respect to him for starting early, learning continuously, and building while still young.
π₯9β€3
Forwarded from Code & Coffee (loza)
OK the feminine side of me made me write this
I remember when my momβs friend say when I tell her I wanna study for my masterβs , βα΅ααα΅ α α³α₯α’ α£α α α³ααα.β
I though this is α«α¨α α«αα α α΅α°α³α°α₯
but nah⦠some people still get uncomfortable when a woman is confident, independent, expressive, successful, or visible.
Like suddenly being smart, making money, speaking your mind, and handling your own problems makes you βnot wife materialβ
Some people really want women to stay quiet, dependent, less ambitious, less outspoken⦠basically easy to control
But when a woman breaks that mold, builds her own life, makes her own money, speaks confidently, and stands on her own feet, they call it βtoo muchβ instead of calling it strength.
And honestly? Being independent doesnβt make a woman less feminine or harder to love it just means she can survive with or without help. That should be respected, not feared.
So my girlies pls donβt shrink yourself to fit somebody elseβs comfort zone. Study, get the degree, get the money, be soft, be feminine, be confident, be YOU.
Anyway this is not personal just something I felt after observing some stuff today. If youβre offendedβ¦ idk ma guy
I remember when my momβs friend say when I tell her I wanna study for my masterβs , βα΅ααα΅ α α³α₯α’ α£α α α³ααα.β
I though this is α«α¨α α«αα α α΅α°α³α°α₯
but nah⦠some people still get uncomfortable when a woman is confident, independent, expressive, successful, or visible.
Like suddenly being smart, making money, speaking your mind, and handling your own problems makes you βnot wife materialβ
Some people really want women to stay quiet, dependent, less ambitious, less outspoken⦠basically easy to control
But when a woman breaks that mold, builds her own life, makes her own money, speaks confidently, and stands on her own feet, they call it βtoo muchβ instead of calling it strength.
And honestly? Being independent doesnβt make a woman less feminine or harder to love it just means she can survive with or without help. That should be respected, not feared.
So my girlies pls donβt shrink yourself to fit somebody elseβs comfort zone. Study, get the degree, get the money, be soft, be feminine, be confident, be YOU.
Anyway this is not personal just something I felt after observing some stuff today. If youβre offendedβ¦ idk ma guy
π₯6β€1
Hey guys π
Do you like reading fiction or books in general?
What types of books do you enjoy most, and what do you usually expect when you pick up a new book entertainment, knowledge, motivation, or something else?
Do you like reading fiction or books in general?
What types of books do you enjoy most, and what do you usually expect when you pick up a new book entertainment, knowledge, motivation, or something else?
β3π1
Eid Mubarak ma people β€οΈ
Wishing all my Muslim friends peace, happiness, and countless blessings on this beautiful day ππ€
May your prayers be accepted and your hearts be filled with joy
Wishing all my Muslim friends peace, happiness, and countless blessings on this beautiful day ππ€
May your prayers be accepted and your hearts be filled with joy
β‘4β€2
This summer, Iβm continuing my Competitive Programming journey with more consistency and focus
Iβll be sharing:
β’ My LeetCode progress
β’ Codeforce problems & contests
β’ DSA concepts I learn
β’ Struggles, mistakes, and improvements along the way
The goal is simple improve step by step and become a better problem solver every day π»
If youβre also learning CP or DSA, feel free to join the journey.
Iβll be sharing:
β’ My LeetCode progress
β’ Codeforce problems & contests
β’ DSA concepts I learn
β’ Struggles, mistakes, and improvements along the way
The goal is simple improve step by step and become a better problem solver every day π»
If youβre also learning CP or DSA, feel free to join the journey.
β€6π1
Grokking_Algorithms.pdf
6.2 MB
This book is good start as beginner read and understand one algorithm or data structure then do easy then medium then hard problems from leetcode or codeforce
π₯6
πTwo Sum Problem
I traverse the array one by one and for each element I calculate the complement (target β current value). I store the values I have seen in a dictionary and check if the complement already exists.
If it exists, it means those two numbers add up to the target.
My main confusion was not the logic, but the return part the problem asks for indices, not the actual values.
I traverse the array one by one and for each element I calculate the complement (target β current value). I store the values I have seen in a dictionary and check if the complement already exists.
If it exists, it means those two numbers add up to the target.
My main confusion was not the logic, but the return part the problem asks for indices, not the actual values.
π4
If you want to start learning DSA from the beginning, I recommend this NeetCode course. It explains the basics step by step and is good for beginners in competitive programming and problem solving
β€6
Contains Duplicate using a simple idea of storing seen values in a dictionary while traversing the array.
For each number, I check if I have already seen it. If yes, I return True because a duplicate exists. If not, I store it and continue. If the loop finishes without finding any repeated value, I return False.
My main mistake was in the logic flow I was returning False too early inside the loop, and I also forgot that I should check the actual values, not just the indices.
For each number, I check if I have already seen it. If yes, I return True because a duplicate exists. If not, I store it and continue. If the loop finishes without finding any repeated value, I return False.
My main mistake was in the logic flow I was returning False too early inside the loop, and I also forgot that I should check the actual values, not just the indices.
β€3
Valid Anagram using two different approaches.
First, I compared both strings by sorting them and checking if the sorted versions are equal. If they match, it means both strings contain the same characters in the same frequency.
In the second approach, I first checked if the lengths are equal. If they are not equal, I immediately return False. Otherwise, I compare the sorted strings.
My understanding is that both solutions are correct, but adding the length check helps avoid unnecessary work when the strings are clearly not anagrams.
First, I compared both strings by sorting them and checking if the sorted versions are equal. If they match, it means both strings contain the same characters in the same frequency.
In the second approach, I first checked if the lengths are equal. If they are not equal, I immediately return False. Otherwise, I compare the sorted strings.
My understanding is that both solutions are correct, but adding the length check helps avoid unnecessary work when the strings are clearly not anagrams.
β€3
Group Anagrams
I used a dictionary and grouped words by sorting each word to create a key. Words with the same sorted key are grouped together.
My main mistake was not realizing early that the sorted word should be used as the key, and I was a bit confused about converting the sorted list into a string and building the groups correctly.
Finally, I understood that anagrams become identical after sorting, so we can group them using that idea.
I used a dictionary and grouped words by sorting each word to create a key. Words with the same sorted key are grouped together.
My main mistake was not realizing early that the sorted word should be used as the key, and I was a bit confused about converting the sorted list into a string and building the groups correctly.
Finally, I understood that anagrams become identical after sorting, so we can group them using that idea.
β€4