This is the blog of site xoptutorials.com. All the news will be posted here and on the facebook page of xoptutorials.
Sunday, March 13, 2016
CodeFights TicTacToe
Just checking the quantities of Xs and Os is enough. The number of Xs must be either equal to the number of Ox or there there can be only 1 more Xs than Os, all other combinations are invalid.
CodeFights Zeroes
Only 5 * 2 can end the number with an additional zero, there are definitely more 2 divisors in that entire multiplication than 5 , so we need to calculate how many times we can divide that number on 5 without a reminder.
Subscribe to:
Posts (Atom)