Skip to content

Commit b9f3ffa

Browse files
refactor 303
1 parent 9e87c68 commit b9f3ffa

File tree

1 file changed

+0
-15
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-15
lines changed

src/main/java/com/fishercoder/solutions/_303.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 303. Range Sum Query - Immutable
5-
* Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.
6-
7-
Example:
8-
Given nums = [-2, 0, 3, -5, 2, -1]
9-
10-
sumRange(0, 2) -> 1
11-
sumRange(2, 5) -> -1
12-
sumRange(0, 5) -> -3
13-
14-
Note:
15-
You may assume that the array does not change.
16-
There are many calls to sumRange function.
17-
*/
183
public class _303 {
194
public static class NumArray {
205
int[] sums;

0 commit comments

Comments
 (0)