Post New Philips Electronics Communications Interview Questions
Explain the abstract class modifier?
how do you query in entity model when the result has a join from from different database other than the entity model?
What is a class component?
In mongodb, how sharding and replication work together?
What is the requirement for using Jenkins?
What is multiversion two phase locking?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
Why do we need to have these perspective of visual and logical tree in wpf?
What do you understand by Lender of the last resort?
In India Localization how are generating Excise and VAT Invoice number both shippable and non-shippable Sales Orders/Transactions.
What is the use of laravel framework?
What is the primary index in teradata?
i need SCII placement papers
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
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