Skip to content
#

geeksforgeeks

Here are 274 public repositories matching this topic...

Questions solved from Various Coding websites viz. HackerRank, HackerEarth, CodeChef and other websites. This repository also contains Questions from various offline and onsite competitions.

  • Updated Oct 27, 2020
  • Python

Questions solved from Various Coding websites viz. HackerRank, HackerEarth, CodeChef, CodingNinja and other websites. This repository also contains Questions from various offline and onsite competitions. Programs that we find in the competitions and some brainstorming questions

  • Updated Oct 13, 2020
  • Python

This repository contains some algorithms and data structures mostly implemented for kicks and learning. Hopefully might help someone in need! Feel free to fork, copy, suggest corrections or ask questions. Happy coding :)

  • Updated Apr 17, 2017
  • Java
FazeelUsmani
FazeelUsmani commented Nov 7, 2020

Implement Bubble Sort

The task is to complete bubble() function which is used to implement Bubble Sort!

Example 1:

Input:
5
4 1 3 9 7

Output:
1 3 4 7 9
Example 2:

Input:
10
10 9 8 7 6 5 4 3 2 1

Output:
1 2 3 4 5 6 7 8 9 10

Your Task: This is a function problem. You only need to complete the function bubble() that sorts the array. Printing is done automatically b

Competitive programming is a mind sport usually held over the Internet or a local network, involving participants trying to program according to provided specifications. This repo contains the Detailed Explanation and implementation of Various Coding problems on various platforms in C++

  • Updated Nov 25, 2020
  • C++

Improve this page

Add a description, image, and links to the geeksforgeeks topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the geeksforgeeks topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.