Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Batch update (1 files)
  • Loading branch information
artemisTurintech committed Jun 5, 2026
commit f678414bba637993939934ac46e5706775174536
8 changes: 1 addition & 7 deletions src/llm_benchmark/datastructures/dslist.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,7 @@ def sort_list(v: List[int]) -> List[int]:
Returns:
List[int]: Sorted list of integers
"""
ret = v.copy()
for i in range(len(ret)):
for j in range(i + 1, len(ret)):
if ret[i] > ret[j]:
ret[i], ret[j] = ret[j], ret[i]

return ret
return sorted(v)

@staticmethod
def reverse_list(v: List[int]) -> List[int]:
Expand Down