## How to implement bubble sort in java

What is sorting? Sorting means to arrange elements of a collection in an order which can be either ascending or descending. Collection can be an array, a list, keys or…

What is sorting? Sorting means to arrange elements of a collection in an order which can be either ascending or descending. Collection can be an array, a list, keys or…

What does Searching mean Searching means to check if an element exists in a collection and finding the location of that element, if it exists. Searching is usually performed on…

What is IMEI number IMEI stands for International Mobile Equipment Identity is a 15 digit number associated with a mobile phone. Each mobile phone comes with an IMEI number which…

Swapping strings Swapping two strings means interchanging their values with one another. Example, there are two string variables s1 and s2 with values s1 = "codippa.com" and s2 = "the…

What is Median ? Median of a sequence(or an array) of numbers is the middle element of the sequence when the total number of elements is odd or the average…

Meaning Mirror image of a 2d array is another array whose columns are interchanged, meaning elements of first column become the elements of last column, elements of second column become…

What is Brun's constant Viggo Brun in 1919 devised a theorem which states that the sum of reciprocals of twin prime numbers reaches towards a value which is called Brun's…

**What are Roman numbers**

Roman numbers are used by Romans where numbers are represented by English letters. Each Roman symbol represents an equivalent decimal number. There are certain rules which need to be followed while writing Roman numbers which are explained next. Roman symbol chart is given below. (more…)

What is a prime factor A prime factor is made up of two terms : Factor and Prime Number. Prime Factor = Factor + Prime Number A factor of a…