Skip to content

Bug Report for find-target-in-rotated-sorted-array #4786

@sudoharshita16

Description

@sudoharshita16

Bug Report for https://neetcode.io/problems/find-target-in-rotated-sorted-array

Image

Hi @neetcode-gh I found an issue in the expected result for the given question.
If you see for the below test case, the answer should be 1 since 4 clearly lies on index 1. However, the test case expects it to be -1 which doesn't seem correct.
Please note that this test case was created by me.
Please check this.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions