@@ -0,0 +1,506 @@
+package com.problems.techiedelight;%0A%0A/**%0A * Created by Maks on 5/10/2017.%0A * Bubble sort http://www.techiedelight.com/bubble-sort-iterative-recursive/%0A */%0Apublic class BubbleSort %7B%0A    public  void iterative(Integer%5B%5D arr)%7B%0A        for(int i=0; i%3Carr.length; i++)%7B%0A            for(int j=1; j%3Carr.length-1; j++)%7B%0A                if(arr%5Bj-1%5D%3Earr%5Bj%5D)%7B%0A                    int tmp=arr%5Bj-1%5D;%0A                    arr%5Bj-1%5D=arr%5Bj%5D;%0A                    arr%5Bj%5D=tmp;%0A                %7D%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

bubble sort. lol