Skip to content

Instantly share code, notes, and snippets.

@Changsik00
Changsik00 / javascript-sort.js
Last active April 24, 2021 08:32
이것은 내가 공부하면서 정리한 sort 내용들..
function swap(array, a, b) {
const temp = array[a]
array[a] = array[b]
array[b] = temp
}
function bubbleSort(array) {
let i , j, temp = null
const length = array.length
package com.study.lowmans.myapplication;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.webkit.JavascriptInterface;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import org.jsoup.Jsoup;
syntax enable " enable syntax processing
" colorscheme badwolf " awesome colorscheme
" set background=light "
" colorscheme solarized " solarized
set tabstop=4 " number of visual spaces per TAB
set softtabstop=4 " number of spaces in tab when editing
set expandtab " tabs are spaces
set number " show line numbers
set showcmd " show command in bottom bar
set cursorline " highlight current line