Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
docs: add a comment in BubbleSort.js
  • Loading branch information
sohamsshah committed Oct 28, 2023
commit 8af48465775464b3637ecc8ae35b7a1e09722b73
1 change: 1 addition & 0 deletions DSA/Arrays/BubbleSort.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

if(arr[j] > arr[j+1]){

// creates a temp array
var temp = arr[j]
arr[j] = arr[j + 1]
arr[j+1] = temp
Expand Down