What is the use of document object?
What is xml document?
What are application widgets in android?
What is the difference between strcpy() and memcpy() function in c programming?
What is event sourcing in c#?
How to get help at the sql prompt?
My question is on Opening & Closing Stock Suppose Closing stock of 2014-15 is Rs 30 lakhs & Also we filed return & ROC too for 2014-15. Opening stock for 2015-16 should be Rs 30 lakhs but we found that some purchase for feb & March 2015 Stock has been entered in tally Its taken directly to purchase split of stock not made & in sales to same of 2 lakhs no split of stock is shown. Those stock need to make changes in 2015-16 what was the process ? And what will be adjustment entry ?
What tools would you use for that?
What is @viewchild?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
What are the four versions of java?
diff types of fi and co quations pls tell me
How do you take back up of repository?
Have you have ever worked in unix environment and why it is useful in datastage?
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