Singapore PM shares code for Sudoku puzzle solver


Singapore’s prime minister has revealed his computer programming skills by publishing code he wrote to solve Sudoku puzzles, on his Facebook page. At the launch of a government technology initiative, Lee Hsien Loong said he had written the “pretty basic” computer program a few years ago.

On Facebook, he revealed he had written it in the C++ programming language, first widely used in the 1980s. It has led to thousands of responses praising him for knowing how to code. Edited from: BBC News  – You can view the C++ code here – Deskarati

This entry was posted in Mathematics, Technology. Bookmark the permalink.