We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Counter game
- Discussions
Counter game
Counter game
Sort by
recency
|
174 Discussions
|
Please Login in order to post a comment
C#
JAVA solution
C++
JavaScript Solution (using Math Library):
Scala
def counterGame(n: Long): String = { // Write your code here var turn = 0 var currentValue = BigInt(n) // if counter 1, richard wins