This site is amazing. Pick a problem and see it solved in many different languages.
For instance: https://rosettacode.org/wiki/Sudoku