We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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