Skip to content

Commit 5cacd70

Browse files
committedAug 18, 2022
feat: update lc problems
1 parent 3d25a5c commit 5cacd70

File tree

204 files changed

+5841
-5159
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+5841
-5159
lines changed
 

‎lcci/03.03.Stack of Plates/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
```python
4141

42+
4243
```
4344

4445
### **Java**
@@ -47,6 +48,7 @@
4748

4849
```java
4950

51+
5052
```
5153

5254
### **TypeScript**
@@ -113,6 +115,7 @@ class StackOfPlates {
113115

114116
```
115117
118+
116119
```
117120

118121
<!-- tabs:end -->

‎lcci/03.03.Stack of Plates/README_EN.md

+16
Original file line numberDiff line numberDiff line change
@@ -13,46 +13,59 @@
1313
<pre>
1414

1515

16+
1617
<strong> Input</strong>:
1718

1819

20+
1921
[&quot;StackOfPlates&quot;, &quot;push&quot;, &quot;push&quot;, &quot;popAt&quot;, &quot;pop&quot;, &quot;pop&quot;]
2022

2123

24+
2225
[[1], [1], [2], [1], [], []]
2326

2427

28+
2529
<strong> Output</strong>:
2630

2731

32+
2833
[null, null, null, 2, 1, -1]
2934

3035

36+
3137
<strong> Explanation</strong>:
3238

3339

40+
3441
</pre>
3542

3643
<p><strong>Example2:</strong></p>
3744

3845
<pre>
3946

4047

48+
4149
<strong> Input</strong>:
4250

4351

52+
4453
[&quot;StackOfPlates&quot;, &quot;push&quot;, &quot;push&quot;, &quot;push&quot;, &quot;popAt&quot;, &quot;popAt&quot;, &quot;popAt&quot;]
4554

4655

56+
4757
[[2], [1], [2], [3], [0], [0], [0]]
4858

4959

60+
5061
<strong> Output</strong>:
5162

5263

64+
5365
[null, null, null, null, 2, 1, 3]
5466

5567

68+
5669
</pre>
5770

5871
## Solutions
@@ -63,12 +76,14 @@
6376

6477
```python
6578

79+
6680
```
6781

6882
### **Java**
6983

7084
```java
7185

86+
7287
```
7388

7489
### **TypeScript**
@@ -135,6 +150,7 @@ class StackOfPlates {
135150

136151
```
137152
153+
138154
```
139155

140156
<!-- tabs:end -->

0 commit comments

Comments
 (0)