Roads concatenation Problem
Consider we have some GIS (Geo Information System) operating
over some road network. Each road represented as array of
two-dimensional geographical points. Road network is a set
of roads.
System has function called Concatenate(). This function
takes raw road network and should return optimized road
network. Optimization lies in concatenating roads with
matching start or end points, i.e. if road AB end point
matches road BC start point, then optimized network should
contain concatenated road AC. Optimized network shouldn’t
contain two roads which can be concatenated.
Your task is to suggest set of test cases for Concatenate()
function in order to make sure it works correctly.
public interface IPoint
{
double Lat { get; }
double Lon { get; }
}
public Road : List
I have a process running on one of my unix terminals, but I cannot close the terminal window as the process will terminate. How can I transfer this process to a background process?
How can you define the minimum version of android required?
Which test will be more severe for VCB?
What are horizontal and vertical scaling?
What is the important thing for a company, Product or Quality? Why?
What is the process to create a table in the data dictionary?
Will customers continue to receive support for older versions of sap bw?
Describe the typical workflow of a production engineer from product design to final manufacturing.
why do you consider yourself a suitable candidate for this position
Which type of power plant is more easier to produce electrical power at economical condition?
What is the scope in angularjs?
What is difference between epic, user stories & tasks?
What is the difference between metadata and data dictionary?
How to define a structure in go programming language?