xinyu04

导航

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 30 下一页

2022年8月28日 #

MathProblem 57 Chessboard problem #1

摘要: Given an $2^n$ by $2^n$ chessboard, with one corner removed, show that you can cover it completely without overlapping or going off the board using on 阅读全文

posted @ 2022-08-28 21:00 Blackzxy 阅读(10) 评论(0) 推荐(0) 编辑

MathProblem 56 Babies in the nursery problem

摘要: A baby is added to a hospital nursery. Before the baby was added there were two boys in the nursery and an uncounted number of girls. After the new ba 阅读全文

posted @ 2022-08-28 17:41 Blackzxy 阅读(18) 评论(0) 推荐(0) 编辑

MathProblem 52 Two children problem

摘要: A woman is chosen at random among all women that have two children. She is asked do you have at least one boy, and she answers 'yes.' What is the prob 阅读全文

posted @ 2022-08-28 16:09 Blackzxy 阅读(9) 评论(0) 推荐(0) 编辑

[Google] LeetCode 359 Logger Rate Limiter

摘要: Design a logger system that receives a stream of messages along with their timestamps. Each unique message should only be printed at most every 10 sec 阅读全文

posted @ 2022-08-28 15:28 Blackzxy 阅读(12) 评论(0) 推荐(0) 编辑

MathProblem 51 Maximum volume of cone problem

摘要: You have a tortilla with radius 1 and wish to form a cone. You may cut out any wedge you like from the tortilla. The point of the wedge must be at the 阅读全文

posted @ 2022-08-28 06:12 Blackzxy 阅读(22) 评论(0) 推荐(0) 编辑

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 阅读(15) 评论(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 阅读(7) 评论(0) 推荐(0) 编辑

2022年8月26日 #

[Oracle] LeetCode 415 Add Strings

摘要: Given two non-negative integers, num1 and num2 represented as string, return the sum of num1 and num2 as a string. You must solve the problem without 阅读全文

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

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 30 下一页