Hamed_'s blog

By Hamed_, history, 5 weeks ago, In English

Hello Codeforces! This is my very first blog post here, Lately I've been working on a series called Trick Bites.

The Idea

I wanted to share some special CP tricks. Some of them are uncommon but surprisingly easy (like Dinkelbach's algorithm), while others are just common tricks that everyone needs to know.

I've started releasing a new problem every day to highlight a specific trick. With each problem, I upload a short, straight-to-the-point Arabic video explaining the trick and the optimal solution.

Why this blog?

I wanted to create this blog to be a permanent archive. I will be updating this exact post daily with the new problem links and video solutions. My hope is that by saving all this content in one organized place, it can become a useful resource for anyone looking to learn some tricks!


The Trick Bites Archive (Updated Daily)

Group Link

(I will update this list every day with the latest bites!)

Day 1: Street Race

Day 2: Get k-th pair

Day 3: Duplicatesssss and Random Qatayef

Day 4: Monotonic subarrays

Day 5: Iftar 3moo Ba5

Day 6: Contribute Ya ba4a

Day 7: Small gaps?

Day 8: Is it GCD?

Day 9: Geometry Again??

**Day 10: Parallel Matching **

Day 11: Parallel Again?

Day 11: ChefChef


A massive shoutout to my amazing teammates, Kareem_Elgoker and _Sherbiny, for their continuous help, brainstorming, and support in making this series happen.

I'd love to hear your feedback on the problems and the videos. Let me know what tricks you'd like to see covered in the coming days.

Full text and comments »

  • Vote: I like it
  • +156
  • Vote: I do not like it