Skip to content

Instantly share code, notes, and snippets.

@philall
philall / part1.py
Created October 13, 2021 05:59
coding interview
from typing import NamedTuple
from collections import namedtuple
from dataclasses import dataclass
# immutable
class PersonNT(NamedTuple):
name: str
age: int
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
@philall
philall / haha
Last active April 19, 2017 21:53
http://www.schillmania.com/armor-alley/
http://nvie.com/posts/a-successful-git-branching-model/

Keybase proof

I hereby claim:

  • I am philall on github.
  • I am allgeuer (https://keybase.io/allgeuer) on keybase.
  • I have a public key ASCqkwB8AcmAoTRMiURTeWYlws4vJAIe5PlVQgZZdoE_ewo

To claim this, I am signing this object: