Skip to content

Commit fad170c

Browse files
catchmetrekhleb
catchme
authored andcommittedOct 18, 2018
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

+1-1
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)
Please sign in to comment.