Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
L5- part b
#python 3.5.2 import time # Bubble Sort # Selection Sort # Insertion Sort # sorted unsorted part # Example: [ 54 | {26}, 93, 17, 77, 31 ] # sorted unsorted # -------> [ 26, 54 | 93, 17, 77, 31 ] # -------> [ 26, 54, 93 | 17, 77, 31 ] # -------> [ 17, 26, 54, 93 | 77, 31 ] # Idea: Split the list into 2 parts - sorted and unsorted part # Take the first element in "unsorted part" and # Analyze its location in the "sorted part" # Hints:
run
|
edit
|
history
|
help
0
guessgame
Atur Cara Mizan 2
PyDeque
Filter String
python_study_note_return@if@elif@else
Prime Factorization of a Number
line 4
31 dec dil khush
vocabulary
Byear