Message on Whatsapp 8879355057 for DSA(OA + Interview) + Fullstack Dev Training + 1-1 Personalized Mentoring to get 10+LPA Job
0 like 0 dislike
743 views
in Online Assessments by Expert (108,190 points) | 743 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 (108,190 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 .