xinyu04

导航

2022年8月27日 #

MathProblem 44 Coin toss problem #1

摘要: You are given an initial prize of one dollar. A coin will be tossed indefinitely until a tails occurs. Every time a heads is tossed your prize will be 阅读全文

posted @ 2022-08-27 21:30 Blackzxy 阅读(16) 评论(0) 推荐(0) 编辑

[Oracle] LeetCode 348 Design Tic-Tac-Toe

摘要: Assume the following rules are for the tic-tac-toe game on an n x n board between two players: A move is guaranteed to be valid and is placed on an em 阅读全文

posted @ 2022-08-27 15:54 Blackzxy 阅读(8) 评论(0) 推荐(0) 编辑

MathProblem 43 Wall and two houses problem

摘要: There is a castle surrounded by a circular wall. The wall has a north gate and a south gate. A yellow house lays 3 miles north of the north gate. A bl 阅读全文

posted @ 2022-08-27 05:45 Blackzxy 阅读(10) 评论(0) 推荐(0) 编辑

MathProblem 42 Drunken walk problem #1

摘要: A drunk is on one point of an n-gon, such that n is an even number. The drunk moves along the perimeter of the n-gon. Each steps takes him to an adjac 阅读全文

posted @ 2022-08-27 04:11 Blackzxy 阅读(8) 评论(0) 推荐(0) 编辑