- 392
- 2 947 521
Smart Interviews
India
Приєднався 18 жов 2016
Smart Interviews in an Ed tech platform dedicated to upskilling young passionate engineers to crack interviews in top tech companies. We teach advance concepts of DSA that enhances the student’s problem solving, making it easier to crack interviews at top tech companies.
On this channel, we bring our passion for technology and education to life by providing valuable content that caters to both beginners and seasoned professionals. Whether you're looking to kickstart your career in tech, enhance your skills, or stay updated with the latest trends, our UA-cam Channel has something for all of you.
On this channel, we bring our passion for technology and education to life by providing valuable content that caters to both beginners and seasoned professionals. Whether you're looking to kickstart your career in tech, enhance your skills, or stay updated with the latest trends, our UA-cam Channel has something for all of you.
CodeChef Starters 150 | Video Solutions | Smart Interviews
Check out this walkthrough of solving the first four problems from Codechef Starters 150. From understanding problem statements to coding the solutions, this video provides valuable insights for both beginners and experienced competitive programmers.
contest link: www.codechef.com/START150
Problem discussed in this video:
1. IOI 2024: www.codechef.com/problems/IOI2024
2. Ratio By 2: www.codechef.com/problems/RATIO2
3. Find Multiset State: www.codechef.com/problems/ARRAYSTATE
4. Equal Pairs (Easy): www.codechef.com/problems/MAXEQEASY
5. Equal Pairs (Hard): www.codechef.com/problems/MAXEQUAL
---------------------------------------------------------------------------------------------------------------
𝗥𝗲𝗮𝗱𝘆 𝘁𝗼 𝗟𝗲𝘃𝗲𝗹 𝗨𝗽?
Since 2016, we’ve been helping engineering students like you turn their dreams into reality. With over 𝟯𝟮,𝟬𝟬𝟬 students upskilled and 𝟭𝟴,𝟬𝟬𝟬+ placements in top tech companies, including Google, Amazon, and Microsoft, we're here to help you make your mark in the tech world.
𝗙𝗿𝗼𝗺 𝗮 𝗦𝗺𝗮𝗹𝗹 𝗩𝗶𝗹𝗹𝗮𝗴𝗲 𝘁𝗼 𝗚𝗼𝗼𝗴𝗹𝗲:
One of our students came from a small village, where resources were limited, but determination was not. Through hard work and mastering DSA, they defied the odds and landed a job at Google. Many of our students have transformed their lives with the right guidance and persistence.
From mastering DSA to nailing those tricky interview questions, we focus on practical skills that get you hired by the best. 𝟵𝟬% of our graduates land jobs at top companies-will you be next?
Master DSA with us and boost your chances of getting hired. Plus, join today and enjoy 𝟭𝟰.𝟮𝟵% 𝗼𝗳𝗳 on your first course! 👉 smartinterviews.in/smart-coder
Still figuring out your coding career? Our 1-month BootCamp will clear up the confusion and get you on the right track. 👉 smartinterviews.in/coding-101
Your future in tech starts now!
-----------------------------------------------------------------------------------------------------------------------------------
𝗖𝗼𝗻𝗻𝗲𝗰𝘁 𝘄𝗶𝘁𝗵 𝘂𝘀
𝗟𝗶𝗻𝗸𝗲𝗱𝗜𝗻 - bit.ly/49Faf52
𝗜𝗻𝘀𝘁𝗮𝗴𝗿𝗮𝗺 - bit.ly/3sKlf05
𝗗𝗶𝘀𝗰𝗼𝗿𝗱 - bit.ly/40DTiUc
𝗙𝗮𝗰𝗲𝗯𝗼𝗼𝗸 - bit.ly/3SIaF4g
-----------------------------------------------------------------------------------------------------------------------------------
00:00 IOI 2024
01:38 Ratio By 2
13:56 Find Multiset State
23:10 Equal Pairs (Easy)
47:51 Equal Pairs (Hard)
contest link: www.codechef.com/START150
Problem discussed in this video:
1. IOI 2024: www.codechef.com/problems/IOI2024
2. Ratio By 2: www.codechef.com/problems/RATIO2
3. Find Multiset State: www.codechef.com/problems/ARRAYSTATE
4. Equal Pairs (Easy): www.codechef.com/problems/MAXEQEASY
5. Equal Pairs (Hard): www.codechef.com/problems/MAXEQUAL
---------------------------------------------------------------------------------------------------------------
𝗥𝗲𝗮𝗱𝘆 𝘁𝗼 𝗟𝗲𝘃𝗲𝗹 𝗨𝗽?
Since 2016, we’ve been helping engineering students like you turn their dreams into reality. With over 𝟯𝟮,𝟬𝟬𝟬 students upskilled and 𝟭𝟴,𝟬𝟬𝟬+ placements in top tech companies, including Google, Amazon, and Microsoft, we're here to help you make your mark in the tech world.
𝗙𝗿𝗼𝗺 𝗮 𝗦𝗺𝗮𝗹𝗹 𝗩𝗶𝗹𝗹𝗮𝗴𝗲 𝘁𝗼 𝗚𝗼𝗼𝗴𝗹𝗲:
One of our students came from a small village, where resources were limited, but determination was not. Through hard work and mastering DSA, they defied the odds and landed a job at Google. Many of our students have transformed their lives with the right guidance and persistence.
From mastering DSA to nailing those tricky interview questions, we focus on practical skills that get you hired by the best. 𝟵𝟬% of our graduates land jobs at top companies-will you be next?
Master DSA with us and boost your chances of getting hired. Plus, join today and enjoy 𝟭𝟰.𝟮𝟵% 𝗼𝗳𝗳 on your first course! 👉 smartinterviews.in/smart-coder
Still figuring out your coding career? Our 1-month BootCamp will clear up the confusion and get you on the right track. 👉 smartinterviews.in/coding-101
Your future in tech starts now!
-----------------------------------------------------------------------------------------------------------------------------------
𝗖𝗼𝗻𝗻𝗲𝗰𝘁 𝘄𝗶𝘁𝗵 𝘂𝘀
𝗟𝗶𝗻𝗸𝗲𝗱𝗜𝗻 - bit.ly/49Faf52
𝗜𝗻𝘀𝘁𝗮𝗴𝗿𝗮𝗺 - bit.ly/3sKlf05
𝗗𝗶𝘀𝗰𝗼𝗿𝗱 - bit.ly/40DTiUc
𝗙𝗮𝗰𝗲𝗯𝗼𝗼𝗸 - bit.ly/3SIaF4g
-----------------------------------------------------------------------------------------------------------------------------------
00:00 IOI 2024
01:38 Ratio By 2
13:56 Find Multiset State
23:10 Equal Pairs (Easy)
47:51 Equal Pairs (Hard)
Переглядів: 733
Відео
Codeforces Round 971 (Div. 4) | Video Solutions | Smart Interviews
Переглядів 3677 годин тому
Check out this walkthrough of solving the first five problems from Codeforces Round 971 (Div. 4). From understanding problem statements to coding the solutions, this video provides valuable insights for both beginners and experienced competitive programmers. contest link: codeforces.com/contest/2009 Problems discussed in this video are: 1. Minimize! codeforces.com/contest/2009/problem/A 2. osu!...
Tech Interview Secrets from the CEO | Amit Bansal on DSA, Negotiation & Prep Strategies (PART 2)
Переглядів 6599 годин тому
In this must-watch Part 2 podcast, Amit Bansal, CEO of Smart Interviews, reveals key insights on navigating tech interviews. Understand how the current demand and supply affect your chances of getting shortlisted, why focusing on multiple programming languages might hurt your chances and the crucial role DSA plays in top apps like Google and Facebook. Get exclusive strategies on interview prep ...
Codechef Starters 149 Contest | Chef Loves Beautiful Strings (Easy Version)
Переглядів 14921 годину тому
Check out this walkthrough of solving the first three problems from Codechef Starters 149. From understanding problem statements to coding the solutions, this video provides valuable insights for both beginners and experienced competitive programmers. contest link: www.codechef.com/START149 Problems discussed in this video are: Chef Loves Beautiful Strings (Easy Version) - www.codechef.com/prob...
Codechef Starters 149 Contest | Maximise sum
Переглядів 11321 годину тому
Check out this walkthrough of solving the first three problems from Codechef Starters 149. From understanding problem statements to coding the solutions, this video provides valuable insights for both beginners and experienced competitive programmers. contest link: www.codechef.com/START149 Problems discussed in this video are: Maximise sum - www.codechef.com/problems/P4149 𝗥𝗲𝗮𝗱𝘆 𝘁𝗼 𝗟𝗲𝘃𝗲𝗹 𝗨𝗽? S...
Codechef Starters 149 Contest | Easy Subarray sum
Переглядів 13721 годину тому
Check out this walkthrough of solving the first three problems from Codechef Starters 149. From understanding problem statements to coding the solutions, this video provides valuable insights for both beginners and experienced competitive programmers. contest link: www.codechef.com/START149 Problems discussed in this video are: Easy Subarray sum - www.codechef.com/problems/P3149 𝗥𝗲𝗮𝗱𝘆 𝘁𝗼 𝗟𝗲𝘃𝗲𝗹 ...
Codechef Starters 149 Contest | Magical World
Переглядів 12421 годину тому
Codechef Starters 149 Contest | Magical World
The Importance of Early DSA Learning in College Explained #DSA
Переглядів 204День тому
The Importance of Early DSA Learning in College Explained #DSA
LeetCode Weekly Contest 412 | Final Array State After K Multiplication Operations II
Переглядів 36514 днів тому
LeetCode Weekly Contest 412 | Final Array State After K Multiplication Operations II
LeetCode Weekly Contest 412 | Count Almost Equal Pairs I
Переглядів 17214 днів тому
LeetCode Weekly Contest 412 | Count Almost Equal Pairs I
LeetCode Weekly Contest 412 | Final Array State After K Multiplication Operations I
Переглядів 12114 днів тому
LeetCode Weekly Contest 412 | Final Array State After K Multiplication Operations I
Interview Tips from the CEO of Smart Interviews | Amit Bansal's Top Strategies (PART 1) #podcast
Переглядів 2,8 тис.14 днів тому
Interview Tips from the CEO of Smart Interviews | Amit Bansal's Top Strategies (PART 1) #podcast
Codechef Starters 148 Contest | The Undisappearance
Переглядів 60014 днів тому
Codechef Starters 148 Contest | The Undisappearance
Codechef Starters 148 Contest | FightBots
Переглядів 45814 днів тому
Codechef Starters 148 Contest | FightBots
CodeChef Starters 148 Contest | Let Me Eat Cake!
Переглядів 42714 днів тому
CodeChef Starters 148 Contest | Let Me Eat Cake!
LeetCode Weekly Contest 411 | Find the Largest Palindrome Divisible by K
Переглядів 36214 днів тому
LeetCode Weekly Contest 411 | Find the Largest Palindrome Divisible by K
LeetCode Weekly Contest 411 | Maximum Energy Boost From Two Drinks
Переглядів 25914 днів тому
LeetCode Weekly Contest 411 | Maximum Energy Boost From Two Drinks
LeetCode Weekly Contest 411 | Count Substrings That Satisfy K-Constraint I
Переглядів 49314 днів тому
LeetCode Weekly Contest 411 | Count Substrings That Satisfy K-Constraint I
LeetCode Biweekly Contest 137 | Maximum Value Sum by Placing Three Rooks I
Переглядів 34014 днів тому
LeetCode Biweekly Contest 137 | Maximum Value Sum by Placing Three Rooks I
LeetCode Biweekly Contest 137 | Find the Power of K-Size Subarrays II
Переглядів 25914 днів тому
LeetCode Biweekly Contest 137 | Find the Power of K-Size Subarrays II
LeetCode Biweekly Contest 137 | Find the Power of K-Size Subarrays I
Переглядів 30014 днів тому
LeetCode Biweekly Contest 137 | Find the Power of K-Size Subarrays I
CodeChef Starters 147 | Non-Primes 101
Переглядів 32421 день тому
CodeChef Starters 147 | Non-Primes 101
CodeChef Starters 147 | Truth Teller And Liars 101
Переглядів 18321 день тому
CodeChef Starters 147 | Truth Teller And Liars 101
CodeChef Starters 147 | Independence Day 101
Переглядів 38521 день тому
CodeChef Starters 147 | Independence Day 101
Why Basic Resources Aren’t Enough: Master DSA for Tech Interviews!
Переглядів 12421 день тому
Why Basic Resources Aren’t Enough: Master DSA for Tech Interviews!
LeetCode Weekly Contest 410 | Find the Count of Monotonic Pairs I
Переглядів 38221 день тому
LeetCode Weekly Contest 410 | Find the Count of Monotonic Pairs I
LeetCode Weekly Contest 410 | Count the Number of Good Nodes
Переглядів 46321 день тому
LeetCode Weekly Contest 410 | Count the Number of Good Nodes
LeetCode Weekly Contest 410 | Snake in Matrix
Переглядів 42121 день тому
LeetCode Weekly Contest 410 | Snake in Matrix
CodeChef Starters 146 | Bouncing Ball
Переглядів 11228 днів тому
CodeChef Starters 146 | Bouncing Ball
CodeChef Starters 146 | Permutation Construction
Переглядів 6628 днів тому
CodeChef Starters 146 | Permutation Construction
Great idea sir
bro thanks a lot...love this can u please increase your sound its very low even in the max...
voice is very low
You have a very clear, iterative way of thinking and also the same way of explanation, thanks!
Glad it was helpful!
Hi, how do you come to know that doing +1 with k or doing -1 with n. im asking like how do you get this approach?
and please solve remaining 4 problems also
So, K indicates the count of different adjacent character pairs. For N - K operations, the value of K won't change, so we simply add K to the result N - K times. Any operation performed after N - K will alter the value of K, which we've observed in the pattern. Based on that observation, this approach helped us solve the problem effectively.
very helpful❤❤❤❤
Using temporary variable t
a=a^b b=a^b a=a^b
Excellent 🎉
👌👌💐
Great podcast, Amit! Your insights and experiences are truly inspiring. Your emphasis on learning and mindset resonates deeply with me. Grateful to have learned problem-solving from you!
On which day of the week does this contest happens I would like to participate from this week could you please say
Every Wednesday, Code Chef Contest takes place! To stay updated on upcoming contests, visit: smartinterviews.in/contests
Good Explaination sir.
good explanation, made easier to understand
👍
Time complexity for this code is O(N^2), this can be further reduced to O(N) by using stack. Please do say the optimized solution.
Thanks
good one !
Bro i am in btech 2nd year please suggest the skill set(languages and subjects) to crack a good placement
nice explanation sir
Here is MY Code : class Solution: def resultsArray(self, nums: List[int], k: int) -> List[int]: n = len(nums) if n == 1: #If there is only one ele it is always sorted if k == 1: return [nums[0]] else: return [-1] if k == 1: #Window containing one ele is always sorted return nums i = 0 j = 0 res = [-1 for i in range(n-k+1)] #Initialising result with -1 while j < n: if j > 0 and nums[j] != nums[j-1] + 1: #Checking the condition to calculate our ans i = j # If they are not consecutive => any window containing them cannot be sorted so slide the window beyond the pair j += 1 continue if j - i + 1 < k: #window size not hit j += 1 elif j - i + 1 == k: #window size hit so take decision res[i] = nums[j] i += 1 j += 1 return res
Can you share the code in the description or in comments
brother naku oka doubt undi adhi test case ante enti code chef peoblem lo mention chesi undi naku ardham kale pls explain chy brother
A test case is simply a way to test your code by running it with different input values multiple times.
Well done boy ❤
Zaid .. Excellent explanation man ..
Thanks for the Simple and easy to follow roadmap. keep up the hard work!
Glad it was helpful!
Hi I have a cgpa of 7 on 4th sem , Is there any possibility that I can get 10LPA on placements if I do hardwork
instead of so many else if we could have log2()
Yes we can but to keep it simple, I have used else if
Nice Explanation
Does the Neighbor array also include the parent of a given node. If so, how do we distinguish which element in Neighbor array is parent and which one is child node?
After visiting parent you can go to its neighbor(say child), after that if you check from child side to parent which is already visited(means it is parent for child)
@@adi4178 Thanks!
I am also from ECE background bro 😊
right volume is much greater than left volume fix that
wahh anna wahh😍😍😍😍
Cognida visited our college, can you tell me what can I expect in Online test??? Do they ask aptitude?? I haven't studied aptitude yet.. PLEASE REPLY
@rishabh1059 bro what questions they have asked can you please tell me
Really ,Your explanation help a lot to understand problem in easy manner.
Audio quality very bad
Nice and super explanation but We cannot hear your voice properly. That would be better if you use any mic
😂
NICE SUPER EXCELLENT MOTIVATED
NICE SUPER EXCELLENT MOTIVATED
From next can you try atleast 4 div 3 problems . It would be helpful
Rafi bhaii ke aage koi bol sakta hai kyaaaaa
we need in the python code sir?
You can use the logic explained in the video and write the code in your preferred language.
Nice explanation bro. Can you please share the codes, like in drive. That will be a huge help.
the rest 3 problems when?
NICE SUPER EXCELLENT MOTIVATED
Scholarship
🥰
big fan of your work sir rohit sir🔥🔥
Thankyou Sir👍
Thank you sir!!