Dec. 12, 2016
Work on HackerRank week of code contest first time. Here is the contest information:
https://www.hackerrank.com/contests/w27/challenges
Continue to work on Day 4 -
Zero-Move Nim
Medium level algorithm, maximum score 50, Julia made it 12.50
So, she likes to do some research and see if she can understand the algorithm, and write a short algorithm. Time: 8:50pm, 3 more hours before the closing time.
Study the lecture notes first:
http://www.math.ucla.edu/~tom/Game_Theory/comb.pdf
http://codeforces.com/blog/entry/20357
Two submissions:
1. One uses recursive solution.
2. One used Nim knowledge.
No comments:
Post a Comment