MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / isOverlap

Method isOverlap

LeetCode Solutions/merge interval.java:50–56  ·  view source on GitHub ↗
(int minS, int maxE, Interval i)

Source from the content-addressed store, hash-verified

48}
49
50public static boolean isOverlap(int minS, int maxE, Interval i) {
51 if (minS > i.finish || maxE < i.start) {
52 return false;
53 }
54
55 return true;
56}

Callers 1

mergeIntervalsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected