Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd6072 commit fad170cCopy full SHA for fad170c
‎src/data-structures/tree/fenwick-tree/FenwickTree.js‎
@@ -60,7 +60,7 @@ export default class FenwickTree {
60
*/
61
queryRange(leftIndex, rightIndex) {
62
if (leftIndex > rightIndex) {
63
- throw new Error('Left index can not be greater then right one');
+ throw new Error('Left index can not be greater than right one');
64
}
65
66
if (leftIndex === 1) {
0 commit comments