Skip to content

Instantly share code, notes, and snippets.

Sameer Chandra samair

  • India
Block or report user

Report or block samair

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Kube Cheat List
Scale a deployment:
kubectl scale deployment alphamon-user --replicas=2
Update/Change image of a deployment:
kubectl set image deployments/alphamon-user
Describe a deployment:
View selection_sort.cpp
#include <iostream>
int startPos1= 0;
using namespace std;
void swap(int a[], int from, int to)
if (from !=to)
View binary_search.cpp
#include <iostream>
using namespace std;
// Input a sorted array of integres.
// Out put searcha and give the position of the search element
int search(int arrayToSearch[], int startPos, int size , int searchMe)
samair / insertion_sort
Created Oct 3, 2016
Sorting Alorithms
View insertion_sort
#include <iostream>
using namespace std;
void swap(int *a, int* b)
int tmp = *a;
*a = *b;
*b = tmp;
You can’t perform that action at this time.