Sort 0s, 1s and 2s | GeeksForGeeks | Problem of the Day

  Рет қаралды 77

Mathematics

Mathematics

Күн бұрын

Пікірлер: 5
@mathematics3398
@mathematics3398 Ай бұрын
class Solution: def sort012(self,arr,n): start = 0 end = n - 1 index = 0 while index
@mathematics3398
@mathematics3398 Ай бұрын
Table of Contents 0:00 Problem Statement 0:44 Naive Solution 2:44 Optimal Solution 8:52 Code
@Gamer2-ux2em
@Gamer2-ux2em Ай бұрын
Brother please suggest me intuitive and applied thorough resources to learn dsa based on your experience, no matter it's free or paid .🙏
@mathematics3398
@mathematics3398 28 күн бұрын
My suggestion would be to first be thorough with Data Structure Concepts such as Linked List, Tree, Heap etc. And then develop a basic understanding of design and analysis of algorithms. Once you are thorough with this you can try solving problems online - GeeksForGeeks, Leetcode etc. A good place to start would be to read this book - Data Structures And Algorithms Made Easy (Paperback, Narasimha Karumanchi) It is a very comprehensive book and is highly recommended for beginners.
@mathematics3398
@mathematics3398 Ай бұрын
class Solution { public: void sort012(vector& arr) { int start = 0, index = 0, end = arr.size() - 1; while (index
I Solved 100 LeetCode Problems
13:11
Green Code
Рет қаралды 80 М.
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
Funny superhero siblings
Рет қаралды 10 МЛН
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 10 МЛН
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 29 МЛН
Minimize the Heights II | GeeksForGees | Problem of the Day
12:12
Minimal Cost | GeeksForGeeks | Problem of the Day
13:54
Mathematics
Рет қаралды 338
Solving Wordle using information theory
30:38
3Blue1Brown
Рет қаралды 10 МЛН
5 Simple Steps for Solving Any Recursive Problem
21:03
Reducible
Рет қаралды 1,2 МЛН
8 patterns to solve 80% Leetcode problems
7:30
Sahil & Sarra
Рет қаралды 387 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Missing And Repeating | GeeksForGeeks | Problem of the Day
11:07
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
Funny superhero siblings
Рет қаралды 10 МЛН