equals和"=="

最近更新: 2020-5-6

equals和==(基本数据类型、引用、String)

1. 必备知识:

img

equals方法最初是在所有类的基类Object中进行定义的,源码是

1
2
3
public boolean equals(Object obj) {  
return (this == obj);
}

leetcode 1-50

最近更新: 2020-6-6 upds。

1. 两数之和

Given an array of integers, return indices of the two numbers such that they add up to a specific target.

You may assume that each input would have exactly one solution, and you may not use the same element twice.

Example:

leetcode 1-50

1. 两数之和

Given an array of integers, return indices of the two numbers such that they add up to a specific target.

You may assume that each input would have exactly one solution, and you may not use the same element twice.

Example:

Markdown基础

1 文字内容部分

1.1 标题

linux基础篇

第一章 实操类 实用指令

1.1文件目录类

pwd:查看当前所在文件

ls:查看当前所在文件夹下内容

ls -a:显示指定目录下所有子目录与文件,包含隐藏文件。
ls -l:以列表方式显示文件的详细信息。

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×