Utkarsh Gupta
Utkarsh Gupta
  • 89
  • 2 631 267
CodeAgon 5 February Codenation Trilogy Hiring Challenge
This is the solutions video for the Codenation CodeAgon Hiring Challenge. One of the hardest hiring challenges ever.
Timestamps:
00:00 - Problem Difficulties
02:10 - Problem 5
05:35 - Problem 4
08:55 - Problem 1
16:42 - Problem 2
24:25 - Problem 3
34:20 - Problem 6
Links for further reading:
Maths from my Video: czcams.com/video/tDM6lT-qjys/video.html
Ordered/Indexed Set: codeforces.com/blog/entry/11080
The "Nim Game": cp-algorithms.com/game_theory/sprague-grundy-nim.html
Sack/DSU on Tree/Small to Large: codeforces.com/blog/entry/44351
Problem 6 was G from this contest: codeforces.com/gym/101666
(You can see the solutions in the contest materials)
zhlédnutí: 32 608

Video

C++ IDE Setup for Competitive Programming and DSA
zhlédnutí 114KPřed 2 lety
This video is primarily for Mac OS but the steps are almost identical, so windows and linux users can also watch it. Main steps: 1. Install GCC using Homebrew on Mac or MinGW on Windows. 2. Download Sublime Text 3 3. Press "Command Shift P" on Mac or "Ctrl Shift P" on Windows and install package control, then install CppFastOlympicCoding Package. 4. Now you can run any Cpp file by pressing "Ctr...
Maths for DSA/CP : All You Need To Know
zhlédnutí 134KPřed 2 lety
In this video, I tried to cover all of the things that are math related and are used in Competitive Programming till the Beginner and Intermediate Level. Maths in this video is enough for getting till the purple (candidate master) level. If you want to advance higher, you'll have to learn more things - like Probability and Expected Values, more Number Theory etc. Subscribe for more content. Cha...
My Competitive Programming Journey (Codeforces Grandmaster)
zhlédnutí 197KPřed 2 lety
This is the everything. This is the video in which I describe how I went from nowhere to India Rank 1 on Codeforces. My journey to Grandmaster on Codeforces and 7 star on Codechef. 00:00 - Introduction 00:30 - Before College 01:28 - 0 to Expert 06:00 - Blue to Purple 08:20 - Quit (part 1) 09:30 - Purple to Orange 11:02 - My Biggest Obstacle 13:30 - Orange to Red 16:38 - After Red 17:00 - Quit (...
3 Most Common DSA Mistakes that you MUST AVOID (and how to Avoid Them)
zhlédnutí 63KPřed 2 lety
DSA or Data Structures and Algorithms are necessary for placements in Product Based Companies like FAANG etc. But people often approach DSA in a wrong way and end up ruining their chances. In this video I will talk about 3 of the most common mistakes that you must avoid at all costs. If you want me to make such a video about CP (Competitive Programming) also, then let me know in the comments se...
Graphs for CP: No Pre-requisites! Simplified Explanation
zhlédnutí 56KPřed 2 lety
In this lecture, the aim is to develop an intuitive understanding about graphs and learn about how to represent graphs in computer programs, and two of the main graph algorithms - BFS and DFS or Breadth First Search and Depth First Search. This lecture is very important for you if you are into competitive programming or you want to learn about DSA in general. Subscribe for more content! Link to...
Recursion for DSA/CP : BEST way to Understand
zhlédnutí 134KPřed 2 lety
You can watch this video even if you have only a very basic knowledge of C or even Java. Recursion is very important for DSA because it is used in more advanced topics also, like Trees, Graphs, DP, etc. Link to slide deck: docs.google.com/presentation/d/1yCwpw89_3XVhQKNYP2yHVOlHa7ihAIdS5HpjYR-1crA/edit?usp=sharing 00:00 - Introduction 00:49 - Benefits 03:04 - Start of Lecture 03:50 - Very Impor...
C++ STL: The ONLY Video You Need | Compulsory for DSA/CP
zhlédnutí 180KPřed 2 lety
This is the only video you need to learn STL or Standard Template Library in C for Competitive Programming and DSA (Data Structures And Algorithms). You will not need any other video or article for STL after watching this video. Subscribe to my channel as I will be posting this type of content for all important CP and DSA concepts. I have covered only the useful containers and functions and I h...
Life Update: Google Job Offer
zhlédnutí 55KPřed 2 lety
Dear Viewers, I am happy to announce that....... I'll talk about the interviews, how I learnt DSA, about my resume etc in another video. But mostly, competitive programming helped me a lot.
Two SIMPLE Tricks to Increase Codeforces Rating Quickly! Competitive Coding Advice by a RED Coder
zhlédnutí 91KPřed 2 lety
Are you stuck at a certain rating and just can't improve further? In this video, I talk about two tricks that are easy to apply which will get you unstuck and help you gain ratings on Codeforces, Codechef and other Competitive Programming Platforms. About me? I am a Grandmaster on CF and a 7 star coder on Codechef. On this channel, I make content related to competitive programming and placement...
Codeforces Round 753 Div3 Quick Solutions (A to H)
zhlédnutí 14KPřed 2 lety
Edit: Timestamps in pinned Comment. There are no timestamps in this video: so there's a fun activity for you. Find the problem whose solution you want to see using Binary Search!! Link to read about SCC and Condensation Graph and Kosaraju Algorithm: cp-algorithms.com/graph/strongly-connected-components.html
Codeforces Global Round 15 | Problems A to F Video Editorial
zhlédnutí 12KPřed 3 lety
Codeforces Global Round 15 | Problems A to F Video Editorial
Codeforces Round 727 with Live Heart Rate | Am I actually calm or do I just look calm?
zhlédnutí 20KPřed 3 lety
Codeforces Round 727 with Live Heart Rate | Am I actually calm or do I just look calm?
Atcoder Beginner Contest 206 | All Tasks Solutions
zhlédnutí 6KPřed 3 lety
Atcoder Beginner Contest 206 | All Tasks Solutions
Codeforces Round 724 | Problems A to D Screencast with Commentary
zhlédnutí 13KPřed 3 lety
Codeforces Round 724 | Problems A to D Screencast with Commentary
LeetCode Weekly Contest 244 | Explaining While Participating | All Problems
zhlédnutí 14KPřed 3 lety
LeetCode Weekly Contest 244 | Explaining While Participating | All Problems
CF Edu Round 110 | A to E Speedrun (but late start) plus Solution Explanations at the End!
zhlédnutí 17KPřed 3 lety
CF Edu Round 110 | A to E Speedrun (but late start) plus Solution Explanations at the End!
Leetcode Biweekly Contest 53 | All Problems Explanation
zhlédnutí 12KPřed 3 lety
Leetcode Biweekly Contest 53 | All Problems Explanation
Codeforces Round 723 (Div 2) | Bugaboos A to D Solutions
zhlédnutí 16KPřed 3 lety
Codeforces Round 723 (Div 2) | Bugaboos A to D Solutions
India Rank 2 in Google Coding Competition (Thrice in a Row) | Kickstart Round C 2021 with Solutions
zhlédnutí 28KPřed 3 lety
India Rank 2 in Google Coding Competition (Thrice in a Row) | Kickstart Round C 2021 with Solutions
Atcoder Beginner Contest 202 | Problems A to E Screencast with Solutions
zhlédnutí 11KPřed 3 lety
Atcoder Beginner Contest 202 | Problems A to E Screencast with Solutions
Codeforces Round 721 Editorial for Problems A,B,C,D with hint for E
zhlédnutí 11KPřed 3 lety
Codeforces Round 721 Editorial for Problems A,B,C,D with hint for E
An Interesting Sequence | An Amazing Math Based Problem | CC May Long Challenge
zhlédnutí 7KPřed 3 lety
An Interesting Sequence | An Amazing Math Based Problem | CC May Long Challenge
Atcoder Beginner Contest 199 | Screencast + All Solutions
zhlédnutí 7KPřed 3 lety
Atcoder Beginner Contest 199 | Screencast All Solutions
India Rank 2 in Google Coding Competition (Once Again) | Kickstart Round B 2021 | With Solutions
zhlédnutí 247KPřed 3 lety
India Rank 2 in Google Coding Competition (Once Again) | Kickstart Round B 2021 | With Solutions
Watch me get terribly fooled by the April Fool Contest 2021! (Plus flexing my stuff)
zhlédnutí 16KPřed 3 lety
Watch me get terribly fooled by the April Fool Contest 2021! (Plus flexing my stuff)
India Rank 2 in Google Coding Competition | Kickstart Round A 2021 | Screencast with all solutions
zhlédnutí 168KPřed 3 lety
India Rank 2 in Google Coding Competition | Kickstart Round A 2021 | Screencast with all solutions
Advanced Binary Search | AGGRESSIVE COWS | SPOJ
zhlédnutí 10KPřed 3 lety
Advanced Binary Search | AGGRESSIVE COWS | SPOJ
Codeforces Round 704 Screencast + Solutions for Problems A to D
zhlédnutí 7KPřed 3 lety
Codeforces Round 704 Screencast Solutions for Problems A to D
Codeforces Round 701 | Problems A to D | All Dark Theme | Plus How I Auto Import Testcases
zhlédnutí 11KPřed 3 lety
Codeforces Round 701 | Problems A to D | All Dark Theme | Plus How I Auto Import Testcases

Komentáře

  • @Jitender294
    @Jitender294 Před 2 dny

    Bhai tuu hindi bhi bolta hai 😂😂

  • @Reyna-yj6vo
    @Reyna-yj6vo Před 15 dny

    casually explaining sieve of erathosthenous

  • @innovation2344
    @innovation2344 Před 15 dny

    Mera favourite graphs and trees hai.

  • @sarthpatidar3916
    @sarthpatidar3916 Před 16 dny

    I am starting with phone

  • @surajkumarsingh4857
    @surajkumarsingh4857 Před 18 dny

    ❤❤

  • @SuryanshInstrumental
    @SuryanshInstrumental Před měsícem

    Bruh, I am saying honestly that I started to learn C++ from 4th class, then till 9th I build so many 3d graphics games in Pure C++ , in 9th I learned Python and build IOT and Hacking Programs in it. in 11th class I learned Assembly language and build my own OS, BUT After this I stop to continue because of 12th studies, and literally currently I forgot those all, I can't do anything now, and I can't manage my time while doing graduation BTech in AiML

  • @AutoNoOne11
    @AutoNoOne11 Před měsícem

    I should sue my university for how awful they taught this concept. This is the clearest I have ever understood recursion

  • @adults_memehub
    @adults_memehub Před měsícem

    this video is illegal to watch having so much quality in one video

  • @Gaurav-yh5xj
    @Gaurav-yh5xj Před měsícem

    c mei greedy works, and a better solution imo

  • @mystic3549
    @mystic3549 Před měsícem

    the quality of people here :) feels almost illegal to hear their discussions for free _/\_ orzzzzzz

  • @RajuPatil-u3q
    @RajuPatil-u3q Před měsícem

    can any one explain how 6/2 = 1/2

  • @HarshitKumar-j8z
    @HarshitKumar-j8z Před měsícem

    7:41

  • @antor.morsalin
    @antor.morsalin Před 2 měsíci

    There are no shortcuts

  • @ayanangshudasmajumder112
    @ayanangshudasmajumder112 Před 2 měsíci

    Whenever i initialize the dp array inside my solve() function it gives incorrect but it corrects as soon as i make it global. Any particular reason for that?

    • @utkarshgupta9858
      @utkarshgupta9858 Před 2 měsíci

      it doesn't set the values to 0 if you initialize it inside the function

  • @Negijicoder
    @Negijicoder Před 2 měsíci

    2300..! And i struggle on 1500..

  • @user-pb9mg1un6b
    @user-pb9mg1un6b Před 2 měsíci

    D Gukesh, what are you doing here?

  • @himanshugupta812
    @himanshugupta812 Před 2 měsíci

    bhaiya i am also from iit bhu yeahhh

  • @viharivemuri7202
    @viharivemuri7202 Před 3 měsíci

    if b == 0 you return 1.

    • @utkarshgupta9858
      @utkarshgupta9858 Před 2 měsíci

      yes correct, i made that small mistake in the video

    • @Josuke217
      @Josuke217 Před 2 měsíci

      ​@@utkarshgupta9858Could you continue making videos related to cp because they are extremely helpful

  • @user-mo6nk1xp1p
    @user-mo6nk1xp1p Před 3 měsíci

    This is not working now.. I can't change the default clang version compiler to gcc by the commands you have mentioned. What to do.... HELP please!!!!!! 🙏 🙏

  • @TilakRaj-qo6ic
    @TilakRaj-qo6ic Před 3 měsíci

    Can someone please tell me which software he used to create thie presentation please

  • @praveenseervi4944
    @praveenseervi4944 Před 3 měsíci

    sir jatin yadav ko bhi lekr aao kabi please

  • @namanjain1684
    @namanjain1684 Před 3 měsíci

    // Online C++ compiler to run C++ program online #include <bits/stdc++.h> using namespace std; #define int long long int mod = 1e9+7; int32_t main() { // Write C++ code here int n,k; cin>>n>>k; vector <int> arr(n); for(int i=0;i<n;i++) cin>>arr[i]; vector <vector<int>> dp(n+1,vector<int>(k+1,0)); for(int i=0;i<=arr[0];i++) dp[0][i] = 1; for(int i=1;i<=k;i++) dp[0][i]+=dp[0][i-1]; for(int i=0;i<n;i++) dp[i][0] = 1; for(int i=1;i<n;i++){ for(int j=1;j<=k;j++){ int r = dp[i-1][j]; int l = 0; if(j-arr[i]>0) l = dp[i-1][j-arr[i]-1]; dp[i][j] = ((r-l+mod)%mod + dp[i][j-1])%mod; } } cout<<(dp[n-1][k]-dp[n-1][k-1]+mod)%mod<<endl; return 0; } iT IS GIVING WA ON 4 TETSCASE ANYONE WHO CAN HELP ME?

  • @shubhamchandra9258
    @shubhamchandra9258 Před 3 měsíci

    50 programming questions from Phone. What a legend !

  • @TheViral_fyp
    @TheViral_fyp Před 3 měsíci

    Utkarsh like 6ka

  • @rajeshjha6805
    @rajeshjha6805 Před 3 měsíci

    From one competition (jee) to another, they really like this shit ig 🤡

  • @yomanthunder
    @yomanthunder Před 4 měsíci

    thanks

  • @mosalah151
    @mosalah151 Před 4 měsíci

    Thank u

  • @amitai8204
    @amitai8204 Před 5 měsíci

    thank you very much! very helpfull!

  • @AshrafAli-vm7wo
    @AshrafAli-vm7wo Před 5 měsíci

    Bro went and never came back 😢