Is equal in c#?
Explain is isotopic tracer technique?
How you can create a static page with WordPress?
Why use struts framework in java?
What is nested class?
How to delete duplicate row using informatica?
How does free know the size of memory to be deleted
What are the different life-cycle methods?
What is the difference between covariance and correlation?
Explain progressdialog in android?
What does touch command do in unix?
how can you be useful to our bank?
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
What is a bank director in sap? : fi- accounts receivable
How can unused space allocation be returned to the system when a dataset is closed?