aasourav's blog

By aasourav, history, 3 months ago, In English

Hello i am confused about This Problem's output. if we input as a string 111000 output says minimum number of operation is 2 . but here i can see if we swap between index 2 and index 5 . the string will be 101010 . and minimum number of operation will be 1 . ,, did i mistake something?? please help me to understand the author's logic.

Read more »

  • Vote: I like it
  • +4
  • Vote: I do not like it