Proposed solution to Euler Problem 29: Distinct Powers in the R language for statistical computing. Continue reading → The post Euler Problem 29: Distinct Powers appeared first on The Devil is in the Data.

Euler Problem 24 asks to develop lexicographic permutations which are ordered arrangements of objects in lexicographic order. Tushar Roy of Coding Made Simple has shared a great introduction on how to generate lexicographic permutations. Euler Problem 24 Definition A permutation is … Continue reading → The post Lexicographic Permutations: Euler Problem 24 appeared first on The Devil is in the Data.

In two previous posts, I presented code to teach R to play the trivial game of Tic Tac Toe. I thought this was an unbeatable algorithm. Alas, a comment from Alberto shattered my pride as he was able to beat … Continue reading → The post Tic Tac Toe Part 3: The Minimax Algorithm appeared first on The Devil is...

e-mails with the latest R posts.

(You will not see this message again.)