Max Min Discussions | | HackerRank

Max Min

  • + 0 comments

    short answer no need to loop. just sort input and pickup max-min is result. but instruction is test all pairs and it's need loop to follow instuction.