Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Lecture 91: Stack Problem: Next Greater Element | Next Smaller Element | Stock Span Problem
Play lesson

DSA Playlist in C++ - Lecture 91: Stack Problem: Next Greater Element | Next Smaller Element | Stock Span Problem

5.0 (0)
13 learners

What you'll learn

This course includes

  • 204.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Stack | 180daysofCode | Solve Many Problem on Stack 1: Next Greater Element: https://www.geeksforgeeks.org/problems/next-greater-element/1?utm_source=geeksforgeeks&utm_medium=ml_article_practice_tab&utm_campaign=article_practice_tab 2: Next Smaller Element: https://www.codingninjas.com/studio/problems/next-smaller-element_1112581?leftPanelTabValue=PROBLEM 3: Smallest Number on Left: https://www.geeksforgeeks.org/problems/smallest-number-on-left3403/1?utm_source=geeksforgeeks&utm_medium=ml_article_practice_tab&utm_campaign=article_practice_tab 4: Stock Span: https://www.geeksforgeeks.org/problems/stock-span-problem-1587115621/1?utm_source=geeksforgeeks&utm_medium=ml_article_practice_tab&utm_campaign=article_practice_tab 5: Next Greater Element 2: https://www.geeksforgeeks.org/problems/next-greater-element-2/1?utm_source=geeksforgeeks&utm_medium=ml_article_practice_tab&utm_campaign=article_practice_tab 00:00 - Intro 01:00 - Problem 1 - Next Greater Element 07:38 - Code Part - Next Greater Element 09:17 - Method 2 - Analysis for TLE - Next Greater Element 36:54 - Optimized Code 40:06 - Method 3 - Next Greater Element 50:15 - Method 3 Code Part - Next Greater Element 52:36 - Problem 2 - Next Smaller Element 01:02:24 - Code Part - Next Smaller Element 01:05:05 - Problem 3 - Smallest Number on Left 01:14:22 - Code Part - Smaller number on left 01:16:14 - Variation of Smaller number on Left 01:17:38 - Problem 4 - Next Greater Element by 2 01:26:53 - Problem 5 - Stock Span Problem 01:42:57 - Code Part - Stock Span Problem 01:45:50 - Outro Home work sheet: https://drive.google.com/drive/folders/1N9UUtFHRe5a8h1vq3iEVEyvXM5sZDRHv?usp=sharing Join Our Whatsapp Channel: https://whatsapp.com/channel/0029Va6H0tbHVvTbcuT99Y1f Day 134/180, #180daysofcode #180 hard We are doing 180 days challenge and going to complete the whole course within the duration with quality content on Youtube. I am on the mission to create a tech revolution in our country and in upcoming future we want to create a tech which will create many jobs in India. Video will come on Mon-Fri at 6am in the morning DSA Course for free C++ Free Course Rohit Negi DSA Course C++ Coder Army DSA Course c++ Function in C++ Pointers in C++. Strings Vector Introduction to Recursion connect to me on Instagram: https://rohit978.page.link/insta Linkedin: https://rohit978.page.link/linkedin Telegram: https://rohit978.page.link/telegram

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere