Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3af1c9a

Browse files
solve sort array without functions
1 parent ec4c993 commit 3af1c9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎problem-46.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Sort an Array You must solve the problem without using any built-in functions
22
let sortArray = function(nums) {
3+
let swapp
34
do {
45
swapp = false
56
for (let i = 0; i < nums.length; i++) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /