Skip to content
Snippets Groups Projects
Commit 269b4cbf authored by FEIPEL Aurelien's avatar FEIPEL Aurelien
Browse files

Test commit

parents
No related branches found
No related tags found
No related merge requests found
function rotation(tab: Array<number>): void {
if (tab.length === 0) return;
let temp = tab[tab.length - 1];
for (let i = tab.length - 1; i > 0; i--) {
tab[i] = tab[i - 1];
}
tab[0] = temp;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment