首页
语法
变量
函数
技术动态
基础知识库
首页
/
leetcode 1
leetcode 加一
109 / 109 个通过测试用例状态:通过执行用时:1 ms内存消耗:34.9 MB提交时间:6 月,3 周之前class Solution {public int[] plusOne(int[] digits) {if (digits[digits.length - 1] < 9){digits[digits.length - 1] += 1;return
时间:2023-09-06 | 阅读:31
leetcode 整数反转
1032 / 1032 个通过测试用例状态:通过执行用时:4 ms内存消耗:33.7 MBclass Solution {public int reverse(int x) {if (x == 0) return 0;boolean is = false;long lon = x;if (lon < 0) {lon = Math.abs(lon);is = true;}S
时间:2023-09-06 | 阅读:28
LeetCode OJ:Pascal's Triangle(帕斯卡三角)
GivennumRows, generate the firstnumRowsof Pascal's triangle. For example, givennumRows= 5,Return [[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1] ] 帕斯卡三角,很简单的问题,见代码: 1 class Solution { 2 public: 3 vector<vector<int
时间:2023-09-05 | 阅读:42
«
1
2
3
4
5
6
7
8
9
阅读排行
2805℃
1
如何防止应用程序泄密?
2790℃
2
AlertDialog禁止返回键
2712℃
3
linux中MySQL密码的恢复方...
2550℃
4
node.js当中net模块的简单...
2295℃
5
我的高质量软件发布心得
2235℃
6
从源码角度看Spark on yar...
2076℃
7
在linux云服务器上运行Jar...
1767℃
8
codevs1521 华丽的吊灯
猜你喜欢
iOS音频播放 (二):AudioSession 转
Redis 高可用性实践
安装JDK以及配置Java运行环境
JavaSE 学习参考:数组遍历
树上倍增求LCA及例题
MySQL 查询数据
工厂方法模式--简单试例
Mongoose之 SchemaTypes 数据类型
Hadoop Hive概念学习系列之hive的正则表达式初步(六)
Angular 4.x 自定义验证指令
我想做产品,实现一个非常优秀的电脑桌面记事本加闹钟
利用iTextSharp填写中文(中日韩)PDF表单(完整解决方案)
热门标签
python3
Spring boot
python有什么用
python和java
java
Springboot教程
python编程
Leetcode
python爬蟲教程
python菜鳥教程
Springboot注解
Mybatis
Springboot框架
Springboot
UNIXLINUX
SpringBootApplication
python为什么叫爬虫
qpython
我要关灯
我要开灯
客户电话
工作时间:8:00-18:00
客服电话
电子邮件
admin@qq.com
官方微信
扫码二维码
获取最新动态
返回顶部