feat: more algos

This commit is contained in:
mpaulson 2022-06-23 21:59:17 -06:00
parent 5a946a1f53
commit 5335cc10b0
16 changed files with 151 additions and 78 deletions

View file

@ -30,7 +30,7 @@ try { fs.unlinkSync(day_path); } catch (e) { }
try { fs.mkdirSync(day_path); } catch (e) { }
function create_class(name, item) {
fs.writeFileSync(path.join(day_path, `${name}.ts`), `export default class ${name} {
fs.writeFileSync(path.join(day_path, `${name}.ts`), `export default class ${name}<T> {
constructor() {
}