about | help | code help+videos | done | prefs |
setInfinity
Given an integer for the size and an intteger for the start node create an arraylist of integers whose values are maximal excpet the entry at the index of th start, which should be sero. setInfinity(1, 0) → [0] setInfinity(2, 0) → [0, 2147483647] setInfinity(3, 1) → [2147483647, 0, 2147483647] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy