about | help | code help+videos | done | prefs |
Given a string of int numbers separated by space, switch the negative numbers to positive and vice versa, and return a new string. switchSigns("") → "" switchSigns("1") → "-1" switchSigns("-2 3") → "2 -3" ...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