I’ll second Prolog as mind blowing. It is a fundamentally different way to think about problem solving using a computer. Well worth even a trivial playing with it.
I've been doing advent of code with Uiua [0], an array and stack programming language. And it feels like playing Tower of Hanoi with data and building pipelines with functions.