Skip to content

Instantly share code, notes, and snippets.

View RiyaadHossain's full-sized avatar
🖥️
Learning MERN Stack

Riyad Hossain RiyaadHossain

🖥️
Learning MERN Stack
View GitHub Profile
#include <stdio.h>
void sort(int *arr, int n)
{
for (int i = 0; i < n - 1; i++)
{
int targetIdx = i;
for (int j = i + 1; j < n; j++)
{
if (targetIdx < arr[j])