So, this is not my home work question, but it is taken from an ungraded homework of the coursera course on algorithms and data structures (which is now complete). So, this is not my home work question, but it i
So, this is not my home work question, but it is taken from an ungraded homework of the coursera course on algorithms and data structures (which is now complete). So, this is not my home work question, but it i