Skip to content

Milestone 2 feedback #25

Description

@lmguzman

Great job with milestone 2!

I was able to install your package and your tests correctly came up with your functions!

Here are some things that I think you should improve:

  • For binary search, if I give it a value outside of the list ( e.g. binary_search(8, [1,2,3,4,5,6])), why does it return position = 0? Shouldn’t it give position NA or something like that?

  • I realize that your function specification is for a list of integers. Would it make sense to allow for NAs to be in your list?

  • You should put that you only allow numbers until 1000 in your documentation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions