אני רוצה הסבר על קטע תוכנית הבא
PointsCoverSorted(x1,...,xn)
R ←{}, i ← 1 while i ≤ n:
[`,r] ← [xi,xi + 1] R ← R⋃︀{[`,r]} i ← i + 1 while i ≤ n and xi ≤ r: i ← i + 1 return R
Answers
Answered by
1
Answer:
- Hey sorry i can't understand what are you trying to say....
Similar questions