Skip to content

Instantly share code, notes, and snippets.

View Charlie-techLab's full-sized avatar
💭
As Steve Jobs said, I keep curious...

Charlie Charlie-techLab

💭
As Steve Jobs said, I keep curious...
View GitHub Profile
#include<iostream>
using namespace std;
int main(){
int arr [] = {3, 1, 6, 8, 4, 5, 7, 2};
int orderedArr[8];
int length = sizeof(arr)/sizeof(arr[0]);
//int firstPartition = arr[0], arr[1], arr[2], arr[3];