Just Programming...: Interviewstreet String Reduction Solution C++ You are given a string consisting...

Please Visit: http://ift.tt/1ajReyV



Just Programming...: Interviewstreet String Reduction Solution C++

You are given a string consisting of a, b, and c's and following operation is allowed: Take any two adjacent character and they can be replaced with third character. For ex: a and b with c, b and c with a. Find length of smallest string, the operation can be applied repeatedly.

http://ift.tt/1sgFsmA

http://ift.tt/1npVJ0G



Just Programming...: Interviewstreet String Reduction Solution C++







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1npVJ0I

via LifeLong Community

No comments:

Post a Comment