Presaved code for HP CodeWars.
Note: this notebook has not been tested. I have never used it during competition and the repository is now archived.
cw init x
: create subdirectories forprob00
toprobx
cw data path
: extract data files from./path/
cw cd
: set directory to current directorycw p[wd]
: print directorycw e[dit] x
: editprobx
cw t[est] [x]
: testprobx
, clear./done/
and moveprobx
to that directorycw n[ew] x ...
: create a solution forprobx
with...
as the notebook additions, andcw e x
cw remove
: remove everything in directoryx
cw h[elp]
: print help file (not updated)
charmap
: character map print formattingdate
: datesmaze
: maze solvingpair
: pair classunionfind
: union find