mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-08 16:54:50 +08:00
更新 根据身高重建队列(vector原理讲解) 排版格式修复
This commit is contained in:
@ -165,19 +165,9 @@ public:
|
|||||||
相信在这里学习算法的录友们,都是想在软件行业长远发展的,都是要从事编程的工作,那么一定要深耕好一门编程语言,这个非常重要!
|
相信在这里学习算法的录友们,都是想在软件行业长远发展的,都是要从事编程的工作,那么一定要深耕好一门编程语言,这个非常重要!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 其他语言版本
|
## 其他语言版本
|
||||||
|
|
||||||
|
### Rust
|
||||||
Java:
|
|
||||||
|
|
||||||
|
|
||||||
Python:
|
|
||||||
|
|
||||||
Rust:
|
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
// 版本二,使用list(链表)
|
// 版本二,使用list(链表)
|
||||||
@ -206,8 +196,7 @@ impl Solution{
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Go:
|
||||||
Go:
|
|
||||||
|
|
||||||
Go中slice的`append`操作和C++中vector的扩容机制基本相同。
|
Go中slice的`append`操作和C++中vector的扩容机制基本相同。
|
||||||
|
|
||||||
@ -224,3 +213,4 @@ Go中slice的`append`操作和C++中vector的扩容机制基本相同。
|
|||||||
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
|
<a href="https://programmercarl.com/other/kstar.html" target="_blank">
|
||||||
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
|
<img src="../pics/网站星球宣传海报.jpg" width="1000"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user