Skip to content

Minor Text issue in for python-min-max-shortcut #4456

@LukeMattingly

Description

@LukeMattingly

Bug Report for https://neetcode.io/problems/python-min-max-shortcut

Minor text error in the problem description it says "by subtracting the element on the left from the element on the right."

in the example it shows Given the list [10, 1, 3, 7], the maximum adjacent difference is 7 - 3 = 4.

Which is taking the right value and subtracting the left one.

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