The first problem is crap.

  • 3

    The description is very unclear

    1. will the location be in increasing order?
    2. will there any gap between locations?
    3. if the input is [1], [1], the answer should be 1 instead of 0. If the radius is 0, it is just a point without range and making no sense.
    4. the explanation of example 2 is not right. It should say "We need to use radius 1 standard".

    These are all not described clearly in the problem.

  • 0
    1. No
    2. May be
    3. 0 - look for the definition, when house is warmed.
    4. agreed

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.