zoukankan
html css js c++ java
算法题中的各种边界情况
1.二叉树
root为空
只有一个根节点
访问val等成员需要->,而不是.运算符
2.字符串
为空串
3.向量
为空向量
C++中vector添加新元素为push_back()。
4.语法
是否所有语句都加了;分号
for循环倒序时,是i-- (此处出现问题,不会报错,而是直接退出运行,难以查找)
5.自定义函数
注意调用的函数名是否一致
6.链表
判断传入参数是否为空,测试数据中会存在空链表。
查看全文
相关阅读:
阿里云ECS7天训练营——05基于ECS搭建Java Web开发环境
阿里云ECS7天训练营——04打造离线下载服务器
阿里云ECS7天训练营——02搭建wiki知识库
阿里云ECS7天训练营——03基于云服务器构建微信公众号管理系统
阿里云ECS7天训练营——01打造专属云笔记
Spring Cloud Config实现配置中心
shell脚本条件判断if中-a到-z的意思
Linux定时任务Crontab命令详解
Linux下的tar压缩解压缩命令详解
谈谈注册中心 zookeeper 和 eureka中的CP和 AP
原文地址:https://www.cnblogs.com/BlueBlueSea/p/14054815.html
最新文章
理解函数调用_arguments对象作为函数参数的别名
理解函数调用_使用arguments参数对所有函数参数执行操作
理解函数调用_使用argument参数
定义与参数_剩余参数和默认参数
搭建临时邮箱
中职组网络空间安全大赛样题
TCP/IP
永恒之蓝 MS17-010漏洞复现
Hello world
每日一练(2)
热门文章
每日一练(1)
idea快速搭建Tomcat服务器
Windows常用快捷键
【Spring 持久层】Spring 与 Mybatis 整合
【Spring 5.x】学习笔记汇总
算法竞赛入门经典第二版——第二章例题
算法竞赛入门经典第二版——第一章习题
算法竞赛入门经典第二版——第一章例题
Pandas之DataFrame的使用
Pandas之Series的使用
Copyright © 2011-2022 走看看