Рет қаралды 19,823
Part 2 of Randomized algorithms in Competitive Programming. First part: • Randomized algorithms ...
Codeforces blog with mentioned problems: codeforces.com...
Blog about max element problem: codeforces.com...
Subscribe for more educational videos on algorithms, coding interviews and competitive programming.
- Frequently Asked Questions: github.com/Err...
- Github repository: github.com/Err...
- KZbin channel 1: / errichto (lectures and single problems)
- KZbin channel 2: / errichto2 (streams)
- Competitive Programming Discord: discordapp.com...
Solution for last mentioned problem: you can estimate the value of PI by generating random points and counting those inside a circle. This way you will estimate the area of a circle. It's called Monte Carlo method, www.google.com...