One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
/* The code allows rotation of an 1D array (right and left) | |
using XOR operator | |
ie. Shifts elements of an Array to left or right directions, | |
wraps the elements circularly. | |
*/ | |
#include <stdio.h> | |
int arr[]={1,2,3,4,5,6,7,8,9,10}; |
https://www.calculatorsoup.com/calculators/discretemathematics/combinations.php
Number.prototype.map = function (in_min, in_max, out_min, out_max) { | |
return (this - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; | |
} |
# From: https://stackoverflow.com/questions/42950501/delete-node-modules-folder-recursively-from-a-specified-path-using-command-line | |
find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + |