e1c4e6a7c7db68e123d978bfc56feb057898935f,Counting-sort.py,,,#,46

Before Change


    return output
    
//----- take list from user-----------
li_st = [int(x) for x in input().split()]
print("Unsorted List")
print(li_st)

////------working on our algo-----------
print("\nSorted list using basic counting sort")
output = counting_sort(li_st, max(li_st) +1, get_sortkey) 
print(output)

After Change

//python program for counting sort (updated)
n=int(input("please give the number of elements\n"))
tlist = list()
print("okey now plase give the elemets")
for i in range(n):
  tlist.append(int(input("\n")))
k = max(tlist)
n = len(tlist)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: geekcomputers/Python
Commit Name: e1c4e6a7c7db68e123d978bfc56feb057898935f
Time: 2019-10-24
Author: kostasdedesar@penguin
File Name: Counting-sort.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 2ec54d83cab214aaa65ae500cbb3ee57c014765d
Time: 2016-04-15
Author: bryanv@continuum.io
File Name: setup.py
Class Name:
Method Name: check_remove_bokeh_install


Project Name: deepmipt/DeepPavlov
Commit Name: 29ee3e34123191e7b444915b6be56edd8699aa36
Time: 2018-03-22
Author: yurakuratov@gmail.com
File Name: deeppavlov/core/commands/infer.py
Class Name:
Method Name: interact_model