Kaggle / Kaggle/kaggle-environments
KoreJson.java : getIntArrFromJson and getDoubleArrFromJson contain the same error
Open
- Dominant language
- JavaScript
- Stars
- 452
- Forks
- 190
- Avg merge
- 31m
- Merged PRs (30d)
- 2
Description
for (int i = 0; i < arrStrParts[i].length(); i++)
should be replaced in both functions by :
for (int i = 0; i < arrStrParts.length; i++)
the difference is between the length of an array of String, and the length of String at position i in the array.
Contributor guide
Research direction
Open KoreJson.java and inspect getIntArrFromJson and getDoubleArrFromJson. Compare the loop bounds with the reported String-array distinction, then verify that both functions iterate over every array element and preserve their existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100