1496. Path Crossing
Last updated
Last updated
**Input:** path = "NES"
**Output:** false
**Explanation:** Notice that the path doesn't cross any point more than once.**Input:** path = "NESWW"
**Output:** true
**Explanation:** Notice that the path visits the origin twice.