Skip to content

Commit fad170c

Browse files
catchmetrekhleb
authored andcommitted
fix typo error (trekhleb#228)
1 parent 6bd6072 commit fad170c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data-structures/tree/fenwick-tree/FenwickTree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default class FenwickTree {
6060
*/
6161
queryRange(leftIndex, rightIndex) {
6262
if (leftIndex > rightIndex) {
63-
throw new Error('Left index can not be greater then right one');
63+
throw new Error('Left index can not be greater than right one');
6464
}
6565

6666
if (leftIndex === 1) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy