Skip to content

Instantly share code, notes, and snippets.

@abrarShariar
Created March 29, 2020 02:58
Show Gist options
  • Save abrarShariar/5f05d3f8e1fdd9ed52cfa89e529eb76f to your computer and use it in GitHub Desktop.
Save abrarShariar/5f05d3f8e1fdd9ed52cfa89e529eb76f to your computer and use it in GitHub Desktop.
Hashmap for consecutive integers
# our position mapper
posMap = {
1: 4,
2: 2,
3: 3,
4: 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment