Тёмный

Leetcode 2397. Maximum Rows Covered by Columns | Biweekly Contest 86. 

Code with Alisha
Подписаться 29 тыс.
Просмотров 2,2 тыс.
50% 1

Use coupon ALISHA on any GeeksforGeeks course to get 10% discount:
practice.geeks...
Connect with me on LinkedIn : / alisha-parveen-80579850
Check out our other playlists:
Dynamic Programming:
• Dynamic Programming
Trees:
• Trees
Heaps and Maps:
• Heaps and Maps
Arrays and Maths:
• Arrays and Maths
Bit Manipulation:
• Bit Manipulation
Greedy Algorithms:
• Greedy Algorithms
Sorting and Searching:
• Sorting and Searching
Strings:
• Strings
Linked Lists:
• Linked Lists
Stack and Queues:
• Stacks and Queues
Two Pointers:
• Two pointers
Graphs, BFS, DFS:
• Graphs, DFS, BFS
Backtracking:
• Backtracking
Non- DSA playlists:
Probability:
• Probability
SQL-Basic Join functions:
• SQL - Basic JOIN Funct...
SQL-Basic Aggregate functions:
• SQL-Basic Aggregate Fu...

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@probabilitycodingisfunis1
@probabilitycodingisfunis1 2 года назад
leetcode.com/contest/biweekly-contest-86/problems/maximum-rows-covered-by-columns/ int maximumRows(vector& mat, int cols) { int currentCols = 0; vectorvisited(mat[0].size(),false); int ans = 0; pickColumns(mat, cols, 0, currentCols, visited, ans); return ans; } void pickColumns(vector& mat, int cols, int index, int currentCols, vector&visited, int&ans) { if(index == mat[0].size()) { int count = 0; for(int i=0;i
@thetechmasum
@thetechmasum 2 года назад
awesome coding style. I liked the way you go and declare variables depending on requirements. 👍
@PRIYAKUMARI-ey1hh
@PRIYAKUMARI-ey1hh 2 года назад
Your explanations are awesome
@iamgroot20
@iamgroot20 2 года назад
great explanation
@maheriyajatinbharatbhai3538
@maheriyajatinbharatbhai3538 2 года назад
Nice explanation 😇
@kwakukusi4094
@kwakukusi4094 2 года назад
fantastic explanation.
@curosity276
@curosity276 2 года назад
great explanations ,and u were looking great.
@chandraprakashsahu8557
@chandraprakashsahu8557 2 года назад
problem is beautiful as you are Thank you for the explanation 🙏
Далее
when you have plan B 😂
00:11
Просмотров 15 млн
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Просмотров 1,9 млн
LeetCode was HARD until I Learned these 15 Patterns
13:00
Leetcode 894. All Possible Full Binary Trees
29:08
Просмотров 4,1 тыс.
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Просмотров 201 тыс.
Maximum Length of Pair Chain - Leetcode 646 - Python
13:46
when you have plan B 😂
00:11
Просмотров 15 млн