Skip to content

Incorrect Return Value in solve Function: #6832

@riyagpt0251

Description

@riyagpt0251

Issue: The function is intended to return the ceiling of the element ele. However, if ele is found in the array (ele == arr[mid]), the function returns ele instead of arr[mid].

algorithm_application-> binary_search->cell_of_element

#line10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions