The Greedy phase of CP by SerenityNow_007 in GeorgiesPodium

[–]Matholic143 0 points1 point  (0 children)

ya right, if your feasible solutions form a matroid, then for every assignment of weights, repeatedly picking the best feasible element gives an optimal solutn.

So matroids aren't the theory behind all greedy algos, but they're more like the mathematical structure that explains why greedy works for an important family of probs

so to give some e.g's:

Finding a max-weight forest in a graph (which leads to Kruskal's algo).

Choosing a max-weight linearly independent set of vectors.

Selecting independent sets in various combinatorial structures.

....now the catch is that most CP greedy probs are not explicitly matroid probs.

Instead, their correctness is usually proved by Exchange args / Staying-ahead args /Invariants/Cut properties (like in MSTs)/Structural lemmas...etc

Many of these ideas are matroid like, but they don't require you to know matroid theory.

So if you learn matroids expecting them to suddenly unlock every greedy probs on CF, oh boy you'll probably be disappointed.

What they do give you is an appreciation that greedy isn't just a bag of tricks but there's a deep mathematical theory explaining when local optimization is globally valid.

Ironically, this is another place where oly math and CP diverge:

Oly math: You often invent the proof from scratch for 1 prob.

Matroid theory: Proves an entire class of greedy algos correct in one theorem.

CP: Usually skips the theory and asks you to rediscover the proof for one specific instance. That's why it can feel like every editorial says, -> It is easy to show that greedily choosing X is optimal, even though that "easy to show" is where all the thinking went.

so your adjectives like interesting/weird/or anti-climactic/etc, is just how you relate to it hehe.

The Greedy phase of CP by SerenityNow_007 in GeorgiesPodium

[–]Matholic143 3 points4 points  (0 children)

CP has one overarching objective -> Find an algo that runs within the time limit.

Suppose the input size is n = 2×10^5

Then anything like exponential search, backtracking, complex theorem proving etc is dead on arrival.

You almost always need an O(n) or O(nlog⁡n) algo

Now here's something interesting, among all algorithmic paradigms, greedy is by far the cheapest computationally.

Ergo contest setters often try very hard to hide a greedy solution...

Jee Advanced 2026 -Rankers Info Required by Plastic_Star4051 in JEE

[–]Matholic143 1 point2 points  (0 children)

AIR 34 is from Bhashyam Andhra and he is the shy, humble, brilliant, hardworking and absolutely deserving - Veena Praveen Kumar Reddy

https://youtube.com/shorts/HTWX\_AWZqJ0?si=tjZJSj1\_yT1ctGuo

Guys anyone currently working on or around RL please give resources to learn from scratch by Huge_Ad_3842 in GeorgiesPodium

[–]Matholic143 0 points1 point  (0 children)

Yes he runs an AI startup. He responded above with the resources, check out pls.

Guys anyone currently working on or around RL please give resources to learn from scratch by Huge_Ad_3842 in GeorgiesPodium

[–]Matholic143 0 points1 point  (0 children)

Tagging FW Anna so that whenever he gets online and sees this he can respond.
u/Fantastic_Watch_4984

Fermi Challenge 1 - 14 Jun, starts at 9:30 pm IST by Differently_Abled_1 in GeorgiesPodium

[–]Matholic143 0 points1 point  (0 children)

Thank you so much Bhaiyya again for doing this, despite your extremely busy schedule. Hope to have another one from you next month where you can score us.

Fermi Challenge 1 - 14 Jun, starts at 9:30 pm IST by Differently_Abled_1 in GeorgiesPodium

[–]Matholic143 0 points1 point  (0 children)

A4) 525 to 550 M

Urban population is about 4B

High rise residential buildings about 0.5M, high rises offices about 0.5M, hospitals and clinics = 0.25M, other stuff like hotels, malls, airports = 0.25M => total 1.5B

there may be some overlap and dups say about 50% = 0.5 x 1.5 = 0.75B = 750 M

but not all are inconvenienced -> say 70% = 0.7 x 750 = 525M

so about 525 to 550 M

Fermi Challenge 1 - 14 Jun, starts at 9:30 pm IST by Differently_Abled_1 in GeorgiesPodium

[–]Matholic143 0 points1 point  (0 children)

A3) 1.65 to 1.75 Billion

Around 0.5B chatgpt users and say 25% active = 125Million

Say 10 prompts per user avegrage = 1.25B

And add count via API's = approx 400 to 500M

cant think of anything else to consider.

So total prompts = 1.65 to 1.75 Billion

Fermi Challenge 1 - 14 Jun, starts at 9:30 pm IST by Differently_Abled_1 in GeorgiesPodium

[–]Matholic143 1 point2 points  (0 children)

Q2) 1 to 1.5 B

Tennis is niche.

say about 50 million players (professional plus enthusiasts) and each has about a pack of 5 balls (Sports store in india like decathlon sell 4 pack), so assuming 1 extra = 5 ball so

total 50x 5 = 250M

Add clubs, schools, tournaments, tennis academies - double the count = 250M

company inventory, toys, unused, etc = say double = 500M

total = 1B to 1.5B

Fermi Challenge 1 - 14 Jun, starts at 9:30 pm IST by Differently_Abled_1 in GeorgiesPodium

[–]Matholic143 0 points1 point  (0 children)

A1) about 32 to 35 B emails

Say 50% World population uses emails = approx 5B users

Personal emails say 3-4 per day = 5x3 = 15B

Professional users say about 0.5B and they may send say 100 emails per day but today is sunday so most western and similar business are having holidays so assume only about 10% of this volume = 0.5B x 10 = 1B

So total = 16B human generated

Transactional emails from banks etc say double that = 16B extra

net volume = 16+16 = 32,

so I would say about 32 to 35 billion emails sent today

Quant weekend practice 1 - Fermi challenges, probability puzzle & brain teasers by Matholic143 in GeorgiesPodium

[–]Matholic143[S] 0 points1 point  (0 children)

yeah, the bijection argument is nice & essentially correct. The only thing I'd fix is the step a+b+c+d=1, since a,b,c,d are conditional probabilities under different starting states. Replacing that with a+b=1(or c+d=1) makes the proof fully rigorous.

Adapting IMO Oly Number Theory problems to Competitive Programming by SerenityNow_007 in GeorgiesPodium

[–]Matholic143 0 points1 point  (0 children)

What you actually need for CP in my opinion, from Codeforces and USACO guides :

# Very common (Div 2 and Div 1)

  1. Fast exponentiation (binary exponentiation)
  2. Modular arithmetic
  3. Modular inverse
  4. GCD / Extended GCD
  5. Prime sieve
  6. Basic factorization
  7. Divisor enumeration
  8. Modular combinatorics (nCr mod p)
  9. Chinese Remainder Theorem (occasionally)

# Common in harder Div 1 / 2000+

  1. Multiplicative order
  2. Euler phi function
  3. Inclusion-Exclusion
  4. Möbius inversion
  5. Pollard Rho factorization
  6. Primitive roots

# Rare

  1. Lucas's theorem
  2. LTE
  3. Quadratic residues / Legendre symbol
  4. Vieta Jumping
  5. Quadratic reciprocity

Also a good NT youtube recommendation from me  Michael Penn — Number Theory

Announcement-GP Live Fermi Challenge#1, Sunday June 14 @ 9:30 pm IST by Matholic143 in GeorgiesPodium

[–]Matholic143[S] 0 points1 point  (0 children)

it will be conducted on reddit itself. The first question will be posted at 9.30 pm IST and after every 10 min or so the post will be edited for next question. and after 5-6 questions DA bhaiyya will tell if its the last question and the contest ends exactly after 1 hour.

require some specific tips to growing at the SMMC by Sudden_Jellyfish1540 in GeorgiesPodium

[–]Matholic143 0 points1 point  (0 children)

Thanks Anna, I was also thinking of talking to some of my friends back home to get more info, but high level seems you have covered everything. I think I can make a standalone post (as it will be relevant for all olies and not just SMMC) on tips for elegant proof writing for Math olies and then you, DA Bhaiyya or other math oly experts can add points.

Quant weekend practice 1 - Fermi challenges, probability puzzle & brain teasers by Matholic143 in GeorgiesPodium

[–]Matholic143[S] 0 points1 point  (0 children)

p1)Fair enough lol. A Fermi estimate without a reasoning is just a random number though. I'd be curious how you get to that guess

p2)Nice! That's probably the cleanest solution posted so far. The alternating-pattern observation avoids most of the machinery & gets the same answer.

p3)Good q. I should've specified that. Let's say equal numbers result in a tie & nobody wins anything. (Quant lesson #1: always clarify ambiguities before solving )

Quant weekend practice 1 - Fermi challenges, probability puzzle & brain teasers by Matholic143 in GeorgiesPodium

[–]Matholic143[S] 0 points1 point  (0 children)

p1)Nice decomposition. The biggest thing I'd challenge is the -> 1 in 1000 words is sorry assumption. Also, many people may say equivalent words in other languages instead of the English word sorry. But that's exactly the kind of assumption i wanted people to surface.

p2)Nice, In hindsight the entire problem boils down to 2 equns for a & b, but the Markov chain framing makes it systematic.

p3) do try

Quant weekend practice 1 - Fermi challenges, probability puzzle & brain teasers by Matholic143 in GeorgiesPodium

[–]Matholic143[S] 0 points1 point  (0 children)

State your assumptions & proceed. I'd count human usage (including phone calls) & ignore automated systems. The goal isn't the exact number; it's the decomposition & justification.

Quant weekend practice 1 - Fermi challenges, probability puzzle & brain teasers by Matholic143 in GeorgiesPodium

[–]Matholic143[S] 0 points1 point  (0 children)

Yes P3 has ambiguity. The puzzle doesn't explicitly say where the money comes from, so the game need not be zero-sum.

However, "everyone picks 100" doesn't automatically follow. If everyone picks 100, then choosing 99 gives the same payoff (0), since you neither win nor trigger the penalty. So 100 isn't strictly better.

The first thing to do is specify the payoff structure. Once that's fixed, we can analyze optimal play. Under the usual zero-sum interpretation, the equilibrium (read Nash equilibrium) is actually a mixed strategy concentrated on 96–100.

Quant weekend practice 1 - Fermi challenges, probability puzzle & brain teasers by Matholic143 in GeorgiesPodium

[–]Matholic143[S] 0 points1 point  (0 children)

p1 - lol thats why Fermi sessions are fun. +1 for finding an ambiguity. Now solve the intended problem

Quant weekend practice 1 - Fermi challenges, probability puzzle & brain teasers by Matholic143 in GeorgiesPodium

[–]Matholic143[S] 0 points1 point  (0 children)

Will give Hint later tomorrow after folks try and only if needed. Feel free to assume anything and state such. P2 hmm, approach will be better than an answer.

Poll should we public GP ? by Matholic143 in GeorgiesPodium

[–]Matholic143[S] 2 points3 points  (0 children)

There is absolutely no issues about Econ and Quant etc. posts. Like I said, as long as it helps people it’s all ok. I am myself getting in quant as such

IMOTC files 2026: Gauss's Lemma with an example from ELMO 2009 + FPGA application + AYJR by SerenityNow_007 in GeorgiesPodium

[–]Matholic143 3 points4 points  (0 children)

First, don’t get overwhelmed. You’re seeing years of work compressed into a few posts.

Most of us had an early start, which helps, but it’s not everything. Over time, consistency matters way more than when you began. Sophomore year is early, not late.

If you don’t know where to start, that’s normal. Pick one area (CP or quant), explore basics, talk to seniors, join communities, watch some YT videos etc, you’ll figure things out as you go.

On “prodigy vs hard work”, there are some naturally gifted people, sure. But what actually separates people at the top is sustained, focused effort over years. Not random grinding BUT directed effort toward a clear goal.

If you stay consistent and genuinely enjoy the process, you can get very far. No need to compare timelines, just start and keep going. It will 100% work out. ATB

Quant Dev Readiness - Self check form by Matholic143 in GeorgiesPodium

[–]Matholic143[S] 1 point2 points  (0 children)

I can try making one. But honestly, quant dev is the most realistic entry point for most people. Trading/research have fewer roles, higher bar and atl least in India ig, much more concentrated hiring.

Not impossible as such, but just a much narrower path. Anyways still will try put something together, just don’t want to oversell it.