Update Description of Stern-Brocot Challenge (#40686)

* fix: update description of target function

* fix: include note about 1 based indexing
This commit is contained in:
Jeremy L Thompson 2021-01-16 12:57:38 -07:00 committed by GitHub
parent bab54ad619
commit a5840f57a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ For this task, the Stern-Brocot sequence is to be generated by an algorithm simi
# --instructions--
Create a function that returns the $ n^{th} $ member of the sequence using the method outlined above.
Create a function that returns the position in the Stern-Brocot sequence at which $ n $ is first encountered, where the sequence is generated with the method outlined above. Note that this sequence uses 1 based indexing.
# --hints--