02 Print path to reach from point (A, B) to point (C, D) | Microsoft | Interview | DSA Interview Q*

  Рет қаралды 20

Ramjilal4You

Ramjilal4You

Күн бұрын

In this video I have discussed about DSA Question with multiple Approaches with code example
Q.Find a way to reach from point (A, B) to point (C, D),
Robot can move from (X, Y) to (X+Y, Y) or (X, Y+X).
If reached than print the path
else print "can not reach"
Reachable
int a = 2, b = 3;
int c = 12, d = 5;
Can not reach
int a = 2, b = 3;
int c = 12, d = 13;
Thanks
Comment if you need Complete Code link ...

Пікірлер
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Codebagel
Рет қаралды 250 М.
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
Is Computer Science still worth it?
20:08
NeetCodeIO
Рет қаралды 381 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 210 М.
Harsh Truth of Java in 2024! Ft. Ultimate Java Developer @Telusko
28:46
Top 7 Algorithms for Coding Interviews Explained SIMPLY
21:22
Codebagel
Рет қаралды 407 М.
Just enough C to have fun
39:29
Kay Lack
Рет қаралды 52 М.
My Unconventional Coding Story | Self-Taught
27:14
Travis Media
Рет қаралды 637 М.
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 313 М.