Menu Close

Bubble Sort… – FcukTheCode

Parameter Description Stable Yes In place Yes Best case complexity O(n) Average case complexity O(n^2) Worst case complexity O(1) The BubbleSort compares…

Sorting – fcukthecode

Parameter Description Stability A sorting algorithm is stable if it preserves the relative order of equal elements after sorting. In place A…

Java program to create a Triangle …ftc

Java program to create a Triangle. INPUT_1:Enter any number:  5 OUTPUT:*************** INPUT_2:Enter any number:  4 OUTPUT:********** INPUT_3:Enter any number:  2 OUTPUT:*** INPUT_4:Enter…