Optimized recursive_bubble_sort (#2410)
* optimized recursive_bubble_sort
* Fixed doctest error due whitespace
* reduce loop times for optimization
* fixup! Format Python code with psf/black push
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@@ -105,7 +105,7 @@ def sudoku(grid):
|
||||
[7, 4, 5, 2, 8, 6, 3, 1, 9]]
|
||||
>>> sudoku(no_solution)
|
||||
False
|
||||
"""
|
||||
"""
|
||||
|
||||
if is_completed(grid):
|
||||
return grid
|
||||
|
||||
Reference in New Issue
Block a user