Sum of first n odd numbers = nยฒ
Sum of first n even numbers = n(n+1)
Their GCD is n x gcd(n, n+1).
Since consecutive numbers share no factors, gcd = 1.
So the answer is simply: return n
You realize...
if your parents had you 6 years earlier,
you'd have graduated into the 2020 job market.
Microsoft would've probably interviewed you for a to-do app built with HTML & CSS
Interviewer: 100M photos go up on IG daily
Avg size 3 MB per pic. IG also stores thumbnails + 3 replicas for redundancy
Total comes to 2.7 PB a day
Q: How is IG storing 2.7 PB/day without going broke?
Me: No idea bro, I'm struggling with my 15 GB Google Drive that's 98% full
You can never compete with a person who has
- no backup plan
- 2.86 lacs of debt
- 1.45 lacs of pending college fees
- a will to work 16*7
- receeding hairline
- zero friends
- empty stomach
i'd love to see interesting things people have built with 5.6 sol.
i will send the person who made the coolest thing a special gift from the openai archives.
In college, I watched people cheat their way through placement interviews. And they still got the job
Today theyโre switching, getting promoted, doing great
IT isnโt that deep. You learn after you join
Hardest part? Getting the interview + clearing it
After that? Cakewalk
Can't afford therapy?
Just talk to your dad.
If he says "when I was your age": anxiety.
If he says "beta job kar lo": more depression.
If he says "Gaon ki zameen haina chinta mat kar": cured.
I know a guy who got laid off from Meta
- 2500+ LC, Candidate Master
- Shipped 8+ products to prod
- 6x hackathon wins
- OSS contributor with 5k stars
- AWS, System Design, AI/ML
- 2 FAANG internships
Still got laid off.
Is CS even worth it anymore??
Soumith Chintala. From Hyderabad.
He built PyTorch.
Fast forward to today: it's the engine behind modern AI research.
Powers Meta, OpenAI, Tesla, and basically all of ML.
Hyderabad just casually shipped the backbone of AI.
Soumith Chintala. From Hyderabad.
He built PyTorch.
Fast forward to today: it's the engine behind modern AI research.
Powers Meta, OpenAI, Tesla, and basically all of ML.
Hyderabad just casually shipped the backbone of AI.
A Cab driver today told me his son scored 92% in 12th and doing BTech CSE
He asked me with so much hope: "Sir, degree baad wo 1 lakh/month kamayega na?"
I went quiet
He drives 12 hours a day for 25k.
In 4 years plus 13 lakhs fees... Son probably be fighting for a 4 LPA job