Skip to content

Find peak element problem can be solved by Binary Search Algorithm #14

Closed
@Ashwin7mak

Description

@Ashwin7mak

Currently, it is solved in sequential approach which adds time complexity of O(n) but it can be solved using binary search method which eventually results in better time complexity of O(log n).

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