Education + Jobs Hiring Website - 2025
0 like 0 dislike
1,258 views
in Online Assessments by Expert (144,640 points) | 1,258 views

1 Answer

0 like 0 dislike
find minimum distance to cover n-1 points in array from the given source point.
ex:
src=5;
size=4;
a[]={-1,0,3,10}
answer-6
5->3->0->-1
by Expert (144,640 points)

Get best answers to any doubt/query/question related to programming , jobs, gate, internships and tech-companies. Feel free to ask a question and you will receive the best advice/suggestion related to anything you ask about software-engineering , development and programming problems .