Sherlock and Cost Discussions | Algorithms | HackerRank
  • + 1 comment

    True ! A and B are same for the example used, that adds to confusion.