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 fad170c

Browse files
catchmetrekhleb
catchme
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)

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