Can someone skilled in the art tell me where can I learn more about generating those puzzles? Are puzzles on chess.com hand-crafted, or are they generated with an algorithm?
Code here: https://github.com/ornicar/lichess-puzzler
You can even see puzzles by player: https://lichess.org/training/of-player