-
-
Save darrenbkl/f0ae479c058e6e6da5d2b33a4133babc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void increaseEachElementByOne(List<Integer> list) { | |
for (int I = 0; I < list.size(); I++) { | |
list.set(I, list.get(i) + 1); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment