Can You Detect a Straight Line? (LeetCode 1232: Check if it is a Straight Line)

preview_player
Показать описание
In this video I explain and show you how to code the solution for the LeetCode 1232: Check if it is a Straight Line problem in JavaScript in the easiest way possible and while getting an optimal time complexity, I fully explain each step and each part of the code, trace and visualize the algorithm to make sure you fully understand how to solve this leetcode problem.

lets code it together.

Time Stamps🕒:
00:00 Explanation & Visualization
06:59 Code

#leetcode #coding #programming
Рекомендации по теме
Комментарии
Автор

Great man, i think you are the only person who teaches DSA in JS on YT

LokeshKumar-tkri
Автор

It's beside the point, but that graph is both not to scale and bends the wrong way 😂

vdinh
Автор

Thank you for the wonderful video sir,
one question sir
how to find and guess the correct approach to the problem we face do we get to know by experience by practising a lot
or should we learn towards different sets of problems
what is the approach sir anything you please give a hint
i am ready to go sir i just need the correct direction sir
i am learning all the important data structures now and recurrsion i don't know how to get to the correct maths formula sir
any guidance on that please
Thank you sir its a big question when you are free please let me know sir

pravinprince