Minimum Area Rectangle | Most Asked Google Interview Question

  Рет қаралды 299

Coding Interview Practice With Anurag

Coding Interview Practice With Anurag

Күн бұрын

Пікірлер: 3
@CodingWithAnurag-1086
@CodingWithAnurag-1086 8 ай бұрын
Solution code - class Solution { public: int minAreaRect(vector& points) { sort(points.begin(),points.end()); int ans = INT_MAX; int n = points.size(); set set; for (int i=0;i
@gagandeepsingh1533
@gagandeepsingh1533 4 ай бұрын
why are we doing sorting here?
@CodingWithAnurag-1086
@CodingWithAnurag-1086 4 ай бұрын
Thanks for pointing it out. Sorting is actually not required. I had done sorting so that solution visualisation becomes easy and even if we add sorting, it doesn't impact the overall time complexity. The overall time complexity is still O(n*n*logn)
Count Nodes Equal To Average Of Subtree | Most Asked Google Interview Question
8:42
Coding Interview Practice With Anurag
Рет қаралды 22
LeetCode 939  Minimum Area Rectangle - Simple Solution (Logic Explained With Examples)
15:55
Java Coding Insight Interview Preparation
Рет қаралды 2,1 М.
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 87 МЛН
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,3 МЛН
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 5 МЛН
MINIMUM AREA RECTANGLE | GOOGLE INTERVIEW QUESTION | PYTHON SOLUTION
14:16
Google Coding Interview With A Facebook Software Engineer
49:59
Clément Mihailescu
Рет қаралды 945 М.
Maximum Length of Semi-Decreasing Subarrays | Most Asked Google Interview Question
7:58
Coding Interview Practice With Anurag
Рет қаралды 691
Minimum Time Difference - Leetcode 539 - Python
21:43
NeetCodeIO
Рет қаралды 8 М.
Medium Google Coding Interview With Ben Awad
51:27
Clément Mihailescu
Рет қаралды 1,3 МЛН
Google Coding Interview - Universal Value Tree Problem
17:11
CS Dojo
Рет қаралды 181 М.
Arpit Bhayani talks about real engineering for 1 hour straight
1:16:23
Google Coding Interview With A Competitive Programmer
54:17
Clément Mihailescu
Рет қаралды 2,5 МЛН
Valid Sudoku | Leetcode Top Interview 150
6:24
Coding Interview Practice With Anurag
Рет қаралды 14
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 87 МЛН