about | help | code help+videos | done | prefs |
Write a method that accepts an integer array 'nums' as an input parameter. Return a string-version of that array. In other words, return a representation of that array written as a string. Look at the test data for examples. mar11_2016_APSLHL_toString([1, 5, 4, 2]) → "{1,5,4,2}" mar11_2016_APSLHL_toString([]) → "{}" mar11_2016_APSLHL_toString([5]) → "{5}" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 290
Copyright Nick Parlante 2017 - privacy