paint-brush
How to Select a Random Node from a Treeby@suraj-regmi
1,789 reads
1,789 reads

How to Select a Random Node from a Tree

by Suraj Regmi5mJanuary 1st, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Data Scientist, The World Bank -- the views, content here represent my own and not of my employers. I was born and raised in the days when gadgets and the internet were not common. I remember my father playing with “Regmi ancestry tree”, sometime in his big notebook and sometime in chart papers. He was fond of drawing the tree with a rectangular boundary to each person (node) His edges would be linear block edges with the outgoing arrows. Remembering my father’s love with the tree, I tried to build the tree using Python using Python in 2017.
featured image - How to Select a Random Node from a Tree
Suraj Regmi HackerNoon profile picture
Suraj Regmi

Suraj Regmi

@suraj-regmi

CS Grad Student at UAH, Former Data Scientist, The World Bank -- views, content my own and not of my employers.

Learn More
LEARN MORE ABOUT @SURAJ-REGMI'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Suraj Regmi HackerNoon profile picture
Suraj Regmi@suraj-regmi
CS Grad Student at UAH, Former Data Scientist, The World Bank -- views, content my own and not of my employers.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite