mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
refactor: Replace list() and dict() calls with literals (#7198)
This commit is contained in:
@@ -54,7 +54,7 @@ def get_frequency_table(edge_array):
|
||||
Returns Frequency Table
|
||||
"""
|
||||
distinct_edge = get_distinct_edge(edge_array)
|
||||
frequency_table = dict()
|
||||
frequency_table = {}
|
||||
|
||||
for item in distinct_edge:
|
||||
bit = get_bitcode(edge_array, item)
|
||||
|
||||
Reference in New Issue
Block a user