Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9781f8c

Browse files
committed
Updated README.md and docs/index.md.
1 parent 71ba246 commit 9781f8c

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

‎README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,20 @@ The format of the .test files are as follows:
9090
<expected results>
9191
```
9292

93-
Each line is either an integral type, a string, or an array. For example:
93+
The supported types are: integral type, a string, TreeNode structure, boolean or an array. For example:
9494

9595
```text
9696
["1", "2", "4"]
9797
8.0
9898
[0, 0]
9999
```
100100

101+
A ThreeNode structure is represented in an array-based structure. For example an array representation `[1, 2, null, null, 3]` results to the following structure:
102+
103+
1
104+
/ \
105+
2 3
106+
101107
## List of LeetCode Problems
102108
* TwoSum
103109
* LongestSubstringWithoutRepeatingCharacters

‎data/problems/CheckCompletenessOfABinaryTree/description.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,27 @@ A complete binary tree is characterized by each level being fully filled except
77
\
88
\
99
**Example 1:**
10+
11+
1
12+
/ \
13+
/ \
14+
2 3
15+
/ \ /
16+
4 5 6
17+
1018
>**Input:** root = [1,2,3,4,5,6]\
1119
>**Output:** true\
1220
>**Explanation:** All levels preceding the final one are completely filled (for instance, levels with node-values {1} and {2, 3}), and all nodes in the last level ({4, 5, 6}) are aligned to the left as much as possible.
1321
1422
**Example 2:**
23+
24+
1
25+
/ \
26+
/ \
27+
2 3
28+
/ \ \
29+
4 5 7
30+
1531
>**Input:** root = [1,2,3,4,5,null,7]\
1632
>**Output:** false\
1733
>**Explanation:** The node with value 7 isn't as far left as possible.

‎docs/index.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ Welcome to the OpenLeetCode Project! This guide will describe how to add support
44

55
## Table of Contents
66

7-
1. [Adding support for a new language](#adding-support-for-a-new-language)
8-
2. [Building and Running the Testcases](#building-and-running-the-testcases)
9-
3. [Schema Validation](#schema-validation)
7+
- [Getting Started](#getting-started)
8+
- [Table of Contents](#table-of-contents)
9+
- [Adding support for a new language](#adding-support-for-a-new-language)
10+
- [Building and Running the Testcases](#building-and-running-the-testcases)
11+
- [Setup](#setup)
12+
- [Build and Run](#build-and-run)
13+
- [The Results](#the-results)
14+
- [Schema Validation](#schema-validation)
1015

1116
## Adding support for a new language
1217

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /