Loading

上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页
摘要: The complement of an integer is the integer you get when you flip all the 0's to 1's and all the 1's to 0's in its binary representation. For example, 阅读全文
posted @ 2022-01-04 22:39 aalanwyr 阅读(42) 评论(0) 推荐(0) 编辑
摘要: In a town, there are n people labeled from 1 to n. There is a rumor that one of these people is secretly the town judge. If the town judge exists, the 阅读全文
posted @ 2022-01-03 19:07 aalanwyr 阅读(42) 评论(0) 推荐(0) 编辑
摘要: You are given a list of songs where the ith song has a duration of time[i] seconds. Return the number of pairs of songs for which their total duration 阅读全文
posted @ 2022-01-03 00:30 aalanwyr 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 💡💡💡 大概还有几个小时,2021年就彻底结束了,回望这一年感觉自己经历了不少事情。好好的回望过去,审视自己是为了让自己更好的前行。 🚩 关于学业 2021年整个上半年的重心都是毕业论文以及毕业答辩,倍感煎熬的三年研究生生活也画上了句号。从2020年11月份到2021年6月份,为了顺利毕业, 阅读全文
posted @ 2021-12-31 20:13 aalanwyr 阅读(43) 评论(0) 推荐(0) 编辑
摘要: Given the root of a binary tree, find the maximum value v for which there exist different nodes a and b where v = |a.val - b.val| and a is an ancestor 阅读全文
posted @ 2021-12-31 11:51 aalanwyr 阅读(39) 评论(0) 推荐(0) 编辑
摘要: Given a positive integer k, you need to find the length of the smallest positive integer n such that n is divisible by k, and n only contains the digi 阅读全文
posted @ 2021-12-30 15:23 aalanwyr 阅读(38) 评论(0) 推荐(0) 编辑
摘要: Given the head of a singly linked list, return the middle node of the linked list. If there are two middle nodes, return the second middle node. Examp 阅读全文
posted @ 2021-12-28 23:52 aalanwyr 阅读(42) 评论(0) 推荐(0) 编辑
摘要: Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation. Note: You are  阅读全文
posted @ 2021-12-27 20:19 aalanwyr 阅读(40) 评论(0) 推荐(0) 编辑
摘要: Given a string s which represents an expression, evaluate this expression and return its value. The integer division should truncate toward zero. You 阅读全文
posted @ 2021-12-27 20:15 aalanwyr 阅读(37) 评论(0) 推荐(0) 编辑
摘要: The complement of an integer is the integer you get when you flip all the 0's to 1's and all the 1's to 0's in its binary representation. For example, 阅读全文
posted @ 2021-12-27 16:41 aalanwyr 阅读(39) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页