Skip to content

Commit 041aeb0

Browse files
committed
updated README.md
1 parent 9825803 commit 041aeb0

File tree

1 file changed

+1
-1
lines changed
  • Week_08/Homework_03_InfiniteTrees_and_Bonus_02_InfiniteTreeSearch

1 file changed

+1
-1
lines changed

Week_08/Homework_03_InfiniteTrees_and_Bonus_02_InfiniteTreeSearch/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Implement the following functions for infinite tree construction:
1414
2. `interval_tree : float -> float -> (float * float) ltree`
1515
$\texttt{interval\\_tree}\enspace l_0\enspace h_0$ constructs a tree where the left and right child of every node with interval $(l,h)$ store the intervals $(l, \frac{l+h}{2})$ and $(\frac{l+h}{2}, h)$, respectively. The root stores the interval $(l_0​,h_0)$ passed as the function's arguments.
1616
3. `rational_tree : int -> int -> (int * int) ltree`
17-
$\texttt{rational\\tree}\enspace n_0\enspace d_0$ constructs a tree with root $(n_0,d_0)$ and for every node with pair $(n,d)$, the left child stores $(n,d+1)$ and the right child stores $(n+1,d)$.
17+
$\texttt{rational\\_tree}\enspace n_0\enspace d_0$ constructs a tree with root $(n_0,d_0)$ and for every node with pair $(n,d)$, the left child stores $(n,d+1)$ and the right child stores $(n+1,d)$.
1818

1919
Implement the following functions to work with infinite trees:
2020

0 commit comments

Comments
 (0)