2.7 - Finding the MIN/MAX slope (of lines connecting points in 2D) and its Counting Version

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

Algorithms by Sharma Thankachan

Algorithms by Sharma Thankachan

Күн бұрын

Given a set of n points in 2D, we need to compute: (i) the pair of points such that the slope of the line segment connecting them is the MAXIMUM, (ii) the pair of points such that the slope of the line segment connecting them is the MINIMUM, and (iii) count the number of pairs such that the slope of the line segment connecting them is within a given range. All three problems can be solved in O(n log n) time. Part (iii) is based on a cleaver reduction to the inversion counting problem.

Пікірлер: 4
@shreyaspanyam2926
@shreyaspanyam2926 Жыл бұрын
Great video and great explanation too!
@NirmalSharonJoji
@NirmalSharonJoji 8 ай бұрын
Thank you, Amazing video !!
@bhumitbamel1748
@bhumitbamel1748 2 жыл бұрын
Damn u are nice keep uploading man
@pawanmishra4067
@pawanmishra4067 Жыл бұрын
can you pl tell the exercise number in Computational geometry book ?
2.8 - Probability Basics | Randomized Algorithms | Hiring Problem | Coupons Collector
1:18:23
Algorithms by Sharma Thankachan
Рет қаралды 1,7 М.
2.5 - Closest Pair of Points using Divide and Conquer algorithm in O(n log n) time.
25:05
Algorithms by Sharma Thankachan
Рет қаралды 42 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,6 МЛН
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 346 М.
Как не носить с собой вещи
00:31
Miracle
Рет қаралды 1,2 МЛН
2.3 - Binary search (in 1D and 2D arrays - upper and lower bounds) and Bitonic search
43:22
Algorithms by Sharma Thankachan
Рет қаралды 1,5 М.
2.2 - Linear Time Selection (Median of Medians Algorithm)
32:07
Algorithms by Sharma Thankachan
Рет қаралды 22 М.
How to Write a Paper in a Weekend (By Prof. Pete Carr)
11:39
Surviving and Thriving in Higher Education
Рет қаралды 2,2 МЛН
One of the Greatest Speeches Ever | Steve Jobs
10:31
Motivation Ark
Рет қаралды 35 МЛН
They Named a Function after the Floor
15:16
Wrath of Math
Рет қаралды 4,7 М.
Russell's Paradox - a simple explanation of a profound problem
28:28
Jeffrey Kaplan
Рет қаралды 8 МЛН
1.1 - Warm-up problem (Find the Min and the Max)
9:49
Algorithms by Sharma Thankachan
Рет қаралды 1,1 М.
Psychology Professor's Viral Study Techniques: A+ Students Love It! (Part 1)
9:27
Slope Uncertainty in data analysis
18:29
Phat Mama Physics
Рет қаралды 2,5 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26