Hacker News new | past | comments | ask | show | jobs | submit login

Programmer asks for some advice on what data structure to best map his family tree:

2nd Programmer says: For you I would suggest a "directed acyclic graph".




But that's the right answer! How many distinct ancestors do you think you have 40 generations ago? We're all inbred by the pigeon-hole principle.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: