Explain dynamic picklist?
What is an image recognition command in automation anywhere?
What motivates you to work at Capital One?
Explain about configuration?
Its being commonly asked during every interview like, Would u plz like to introduce urself?? it donesn,t fall under any category wich is placed over here, so i,ve selected this category after been choiceless. Can any one plz give me vivid ans for this Q>..
What is the purpose of jsp?
What happens if the block on Hadoop HDFS is corrupted?
What is the purpose of regexp_label property and regexp_msw_class property?
Elaborate on plinq?
Explain digest life-cycle in AngularJS?
What is synchronous and asynchronous process?
What is the use of nullable types in c#?
What is core data swift?
Explain types of descriptive programming?
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