Domino and tromino tiling sorcery

Since I’m currently looking for a job, I try to train daily on Leetcode. I started with a now classic study plan, originally authored by Yang Shun Tay and hosted on Grind75. Eventually though, Leetcode presented me with a tiling problem that I found immediately appealing: Domino and tromino tiling. Spoiler alert: the following content reveals the solution to the problem If you don’t know the problem yet, take a look at the description in the link....

May 18, 2024 · 6 min · Sylvain Bougerel

Programming a fast integral sine

I started playing puzzles on codingames.com recently. Although many challenges can be solved by beginners, getting to the top spots on the ladder for the toughest challenges demands a lot of time investment. Which makes it a great game. The game I focus on is Mad Pod Racing, it plays in an arena where your bot meets another bot. Your bot has a finite amount of time for each move. This became an excuse to look into approx fast integer operations....

November 12, 2018 · 11 min · Sylvain Bougerel