--

i am bit confused here. Lets take "ABCABCBBA" as per your example,

untill 'A' is found the substring is 'ABC'

then it should become 'BCA'. just talking about the imaged example.

--

--

Sachintha Hewawasam
Sachintha Hewawasam

Written by Sachintha Hewawasam

Problem Solver | Senior Software Engineer at Infor Nexus

Responses (1)