Write a function solution that, given a string S of length N,replaces all occurrences of "plus with
Examples:
Given S = "minusplusminus", the function should return -+
Given S = "plusminusminusplus", the function should return "+--+".
Assume that:
N is an ... Read more