Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eyas-ranjous committed Dec 12, 2022
1 parent 55d2cae commit bcc16da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ O(log(n))
checks if a value exists by its key if the node's key prob is provided in the constructor.

```js
employees.has(50); // true
employees.has(100); // false
employees.hasKey(50); // true
employees.hasKey(100); // false
```

### find
Expand All @@ -174,7 +174,7 @@ finds a node by its key if the node's key prob is provided in the constructor.

```js
employees.findKey(60).getValue(); // { id: 60 }
employees.find(100); // null
employees.findKey(100); // null
```

### min
Expand Down

0 comments on commit bcc16da

Please sign in to comment.