Rohit-B-Kadam / mantle-lab-interview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graph Traversal

Given is an unoptimised and incomplete code to generate the count letters within a given sample. You have to optimise the code and finally print the list of letter correspoding to their count, sorted based on the count.

Also, you have format the code to use the given class for function definitions like calculate frequency, print the array, sort array, etc.

Requiment

You will have to commit your changes onto a separate branch with updated code and an output file.

About


Languages

Language:Python 100.0%