need a routine

The war between wetware and hardware.
ed
Posts: 41308
Joined: Tue Jun 08, 2004 11:52 pm
Title: G_D

need a routine

Post by ed »

I have data in the form of a binary tree:
is it a or b?
if a then is it c or d?
if b is it e or f.
etc.

Anyone know of a routine that I can fill in? I haven't programmed in ages and I'll probably just get pissed off if I engage.