InterviewBit Problems   StringBuffer : Unsolved


About the StringBuffer : Unsolved category (1)
Why is my logic giving a wrong answer upon submission? (2)