n 1 10 100 10^3 10^6 10^9 10^80 c c c c c c c c log_10 n 0 1 2 3 6 9 80 n 1 10 100 10^3 10^6 10^9 10^80 n*log n 0 10 200 3000 ~~~~~~~~~~~~~~~~~~~ n^2 1 100 10^4 10^6 10^12 10^18 10^160 10^n 1 10^10 10^100 ........................ Vector Collection c = new ....; c.sort(); // nincsen mindegyikre int[] is = new int[3]; Arrays.sort(is); List list = ArrayList(); Collections.sort(list);