Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
On OpenSource Development

kimmking kimmking

:octocat:
On OpenSource Development
View GitHub Profile
View gist:b80d59829ede802cc12bde56f528f788
var evalRPN = function(tokens) {
var stack = [];
while(tokens.length > 0){
var c = tokens.shift();
if(c == "+"){
c = add(stack);
}else if(c == "-"){
c = sub(stack);
}else if(c == "*"){
c = mul(stack);
View gist:517d93db764c86a1db0ffde3280e6f8d
package io.github.kimmking;
import java.lang.*;
class QuickSort
{
public static void main (String[] args) throws java.lang.Exception
{
int[] array = new int[]{5,1,6,2,4,3,8,9,0,10};
quickSort(array,0, array.length-1);