Still Regarding Discriminated Unions And Trees In F#: 1. Define A New Tree Type Such That A
Fantastic news! We've Found the answer you've been seeking!
Question:
Still Regarding Discriminated Unions And Trees In F#: 1. Define A New Tree Type Such That A Node Is A 3-Tuple Containing A Float Field For The Key Value, A Tree For The Left Subtree, And A Tree For The Right Subtree. 2. Construct 3 Different Trees Of This Newly Created Type. 3. Create A Function That Calculates The Average Of The Key Values.
This question is to be answered using F#
Posted Date: