Integral Points inside Triangle | gfg potd | 20-06-24 | GFG Problem of the day

  Рет қаралды 1,724

CodeGenius

CodeGenius

Күн бұрын

Geeks for Geeks Problem of the Day(POTD) in C++ | Integral Points inside Triangle | Fully Explained🧠
Solution Code :
github.com/Ish...
IMPORTANCE OF DSA FOR PLACEMENT:
• Is DSA Still Important...
BEST FREE WEB DEVELOPMENT COURSE:
• Video
🌐 Connect with Me:
GitHub: github.com/Ish...
Linkedin: / ishansawhney
#GFG #POTD #geeksforgeeks #problemoftheday #c++

Пікірлер: 24
@aizad786iqbal
@aizad786iqbal 3 ай бұрын
why we are doing -1 ? for the boundary points
@CodeGenius316
@CodeGenius316 3 ай бұрын
We do so for excluding end points
@AchintyaRajcse
@AchintyaRajcse 3 ай бұрын
dhanyawaad bhaiya
@CodeGenius316
@CodeGenius316 3 ай бұрын
Dhanyawad Bhai 🥰
@sudhadevi6692
@sudhadevi6692 3 ай бұрын
Very clear explanation ❤
@CodeGenius316
@CodeGenius316 3 ай бұрын
Thanks 🙏🏻
@priyarathore3167
@priyarathore3167 3 ай бұрын
Hey sir I am searching for a DSA learning platform, if u can teach please let me know...
@CodeGenius316
@CodeGenius316 3 ай бұрын
Currently I'm busy with web development and learning new IT skills, so teaching me might not be feasible right now. However, I highly recommend Love Babbar's DSA course. It's incredibly helpful, and I also improved my DSA skills through it.
@priyarathore3167
@priyarathore3167 3 ай бұрын
Sir please prefer java language
@CodeGenius316
@CodeGenius316 3 ай бұрын
I prepared DSA from c++ ... But the approach is the same you can use gpt for converting the code to java
@priyarathore3167
@priyarathore3167 3 ай бұрын
@@CodeGenius316 ok sir thnqq for advice u r doing amazing...,,, kya ap DSA classes bhi lete hai??
@CodeGenius316
@CodeGenius316 3 ай бұрын
Nhi nhi abhi to mai khud pdhra hu but in future maybe I'll do that 🙂
@priyarathore3167
@priyarathore3167 3 ай бұрын
If u can teach so,,?? I really want to learn DSA from scratch
@priyarathore3167
@priyarathore3167 3 ай бұрын
Sir ye code run hini horha mera to
@CodeGenius316
@CodeGenius316 3 ай бұрын
Show me the code
@CodeGenius316
@CodeGenius316 3 ай бұрын
I also provided the code in description...you can check the GitHub link
@priyarathore3167
@priyarathore3167 3 ай бұрын
@@CodeGenius316 yups I found the mistake
@shubhamgaming1641
@shubhamgaming1641 3 ай бұрын
bhai jismein gcd wala case bn rha hai(number of integral points on the edges of triangle) , umsein wo formula jo number of integral points nikalne mein kaam, wo proof kaise kre ?
@abhijitmanna4524
@abhijitmanna4524 3 ай бұрын
Kyu krna hai jab formula pta krliye, proof sayad nhi milega yt pe, Google pe milega bahot lamba hoga
@CodeGenius316
@CodeGenius316 3 ай бұрын
When two points have integer coordinates, the line segment connecting them can be thought of as a sequence of steps, each step being either a horizontal, vertical, or diagonal move to another lattice point.The GCD tells us the largest step size in the grid that can be evenly divided into both x and y. Essentially, it determines the periodicity of lattice points along the line segment.
@abhijitmanna4524
@abhijitmanna4524 3 ай бұрын
thanks for the explanation
@CodeGenius316
@CodeGenius316 3 ай бұрын
🥰🙏🏻
@swatirajshalu9268
@swatirajshalu9268 3 ай бұрын
very nice explanation bhaiya!!
@CodeGenius316
@CodeGenius316 3 ай бұрын
Thanks bhai
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 5 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 24 МЛН
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 56 МЛН
Binary Tree to DLL | GeeksForGeeks | Problem of the Day
9:56
Rotate and delete gfg potd | 02-10-24 | GFG Problem of the day
12:18
Gfg 21 days POTD challenge| FREE Bag !!😍
4:51
CodeGenius
Рет қаралды 2,9 М.
Minimal Cost | gfg potd | 28-09-24 | GFG Problem of the day
15:09
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 5 МЛН