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

Trees can't be used for relationships, due to the crazy things that people can do with each other. You'll need a DAG, and you'll need to detect cycles.

https://stackoverflow.com/questions/6163683/cycles-in-family...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: