01 2024 档案

Leetcocde 1092. 最短公共超序列
摘要:https://leetcode.cn/problems/shortest-common-supersequence/description/ 给你两个字符串 str1 和 str2,返回同时以 str1 和 str2 作为 子序列 的最短字符串。如果答案不止一个,则可以返回满足条件的 任意一个 答 阅读全文

posted @ 2024-01-26 22:50 itdef 阅读(60) 评论(0) 推荐(0) 编辑

Leetcode 066 加一
摘要:https://leetcode.cn/problems/plus-one/description/ 给定一个由 整数 组成的 非空 数组所表示的非负整数,在该数的基础上加一。 最高位数字存放在数组的首位, 数组中每个元素只存储单个数字。 你可以假设除了整数 0 之外,这个整数不会以零开头。 示例 阅读全文

posted @ 2024-01-21 15:03 itdef 阅读(10) 评论(0) 推荐(0) 编辑

Leetcode 050. Pow(x, n)
摘要:https://leetcode.cn/problems/powx-n/description/ 实现 pow(x, n) ,即计算 x 的整数 n 次幂函数(即,xn )。 示例 1: 输入:x = 2.00000, n = 10 输出:1024.00000 示例 2: 输入:x = 2.1000 阅读全文

posted @ 2024-01-17 11:25 itdef 阅读(16) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示