xinyu04

导航

2022年9月3日 #

MathProblem 80 128 pennies and a blindfold problem

摘要: You are blindfolded before a table. On the table are a very large number of pennies. You are told 128 of the pennies are heads up and the rest are tai 阅读全文

posted @ 2022-09-03 05:23 Blackzxy 阅读(13) 评论(0) 推荐(0) 编辑

MathProblem 79 Three humans, three monkeys, and a boat problem

摘要: One one side of a river are three humans, one big monkey, two small monkeys, and one boat. Each of the humans and the big monkey are strong enough to 阅读全文

posted @ 2022-09-03 04:28 Blackzxy 阅读(27) 评论(0) 推荐(0) 编辑

[Google] LeetCode 562 Longest Line of Consecutive One in Matrix

摘要: Given an m x n binary matrix mat, return the length of the longest line of consecutive one in the matrix. The line could be horizontal, vertical, diag 阅读全文

posted @ 2022-09-03 02:34 Blackzxy 阅读(4) 评论(0) 推荐(0) 编辑