FP Laboratory 11

From Marek Běhálek Wiki
Revision as of 12:25, 18 September 2019 by Beh01 (talk | contribs) (Created page with "== Binary Trees == * Create a data type that defines binary tree where values are stored in leaves. * Prepare an example of a binary tree. * Create a function that counts th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Binary Trees

  • Create a data type that defines binary tree where values are stored in leaves.
  • Prepare an example of a binary tree.
  • Create a function that counts the values stored in the leaves.
  • Create a function that extracts all values from the leaves into na list.