Persistent data structure: Difference between revisions

Content deleted Content added
Line 82:
 
====Source Code Example of Next Search Problem====
Below is a source code sample of how to find the segment above a given point q. This programs takes as input a list of segments and a query point and returns the starting point and the ending point of the segment above it.
<syntaxhighlight lang="C++" line>
#include <iostream>