Lecture22: All about Char Arrays, Strings & solving LeetCode Questions
CodeHelp - by Babbar
View ChannelAbout
Description Hi Guys, This Channel aims to provide with Curated Education to Students who want to grow, improve, learn and do something Big in their life. So, Learn the Curated Stuff and also show your friends and Juniors the Right Path. Contribute in making a community that is Self-Sustainable. To the Point, Short and Practical - These 3 terms defines our Content
Latest Posts
Video Description
In this Video, we are going to learn about char arrays, strings and solve the following questions: - Length of String - Reverse a String - Check Palindrome - Valid Palindrome - Reverse words - Maximum occurring character - Remove all occurrences of substring - Remove all adjacent duplicates - String Compression There is a lot to learn, Keep in mind “ Mnn boot karega k chor yrr apne se nahi yoga ya maza nahi para, Just ask 1 question “ Why I started ? “ Visit Crio: https://www.crio.do/redeem/67ba5ff/ Stack Overflow Link: https://stackoverflow.com/questions/40716515/do-stdstrings-end-in-0-when-initialized-with-a-string-literal Strings cplusplus reference: https://www.cplusplus.com/reference/string/string/ Discord Server Link: https://discord.gg/feSQvVXMrd Course Flow: https://whimsical.com/dsa-4-placement-by-love-babbar-C7JX2fJ8hprv9ivEHkArjD@2Ux7TurymNF9zkFahVLk Homework: timestamps added below Notes Link: https://drive.google.com/file/d/1Pf0h9QZx1hQqZhiBqV6qIdbYvx-vPUC_/view?usp=sharing Code Links: https://github.com/loveBabbar/CodeHelp-DSA-Busted-Series Question Links: - Length of String - Reverse a String: https://leetcode.com/problems/reverse-string/ - Check Palindrome:https://bit.ly/3E55FvF - Valid Palindrome : https://leetcode.com/problems/valid-palindrome/ - Reverse words: https://leetcode.com/problems/reverse-words-in-a-string-ii/ - Maximum occurring character: https://practice.geeksforgeeks.org/problems/maximum-occuring-character-1587115620/1 - Remove all occurrences of substring: https://bit.ly/3sfP71Q - Remove all adjacent duplicates: https://leetcode.com/problems/remove-all-occurrences-of-a-substring/ - String Compression: https://leetcode.com/problems/string-compression/ - Permutation in Strings: https://leetcode.com/problems/permutation-in-string/ - Remove adjacent Duplicates: https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string/ Do provide you feedback in the comments, we are going to make it best collectively. Telegram Group Link: Love Babbar CODE HELP https://telegram.me/lovebabbercodehelp Connect with me here: Instagram: https://www.instagram.com/lovebabbar1/ Twitter: https://twitter.com/lovebabbar3 My Editor: https://www.instagram.com/rishu.rsingh Intro Sequence: We have bought all the required Licenses of the Audio, Video & Animation used. Timestamps: 00:00 - Introduction to Char Arrays and Strings 02:57 - Promotion 03:50 - Introduction to Char Arrays and Strings 06:09 - How char arrays are stored ? 07:19 - Null Character 08:09 - Input Char arrays 08:51 - Output char arrays 10:24 - Coding 11:34 - Multiple words and cin limitation 15:34 - Length of String (Question 1) 18:34 - Reverse a String (Question 2) 23:27 - Check Palindrome (Question 3) 30:04 - Coding 42:39 - Homework 42:46 - Valid Plaindrome (Question 4) 43:28 - String ? 46:20 - Homework ? 47:28 - Approach of Question 48:45 - Code 55:06 - Reverse words (Question 5) 57:15 - Homework 57:42 - Maximum occuring character (Question 6) 58:37 - Code 01:10:56 - cin.getline() 01:12:02 - Homework 01:12:19 - Inbuilt functions 01:14:17 - Replace Spaces 01:15:14 - Code 01:17:12 - Homework 01:18:09 - Remove all occurrences of substring (Question 7) 01:20:17 - Code 01:23:30 - Permutation in String 01:27:31 - Code 01:39:08 - Remove all adjacent duplicates (Question 8 ) 01:40:38 - Homework 01:41:42 - String Compression (Question 9) 01:44:36 - Code #DSABusted #LoveBabbar
Boost Your Coding Practice
AI-recommended products based on this video

GOLDCHAMP Portable 4 Gas Monitor for H2S, CO, LEL & O2 with High-Sensitivity Sensor, Data Storage, Triple Alarms, Large-Capacity Battery, Triple-Proof Design & Large LCD Display for Industrial Safety

Usparkle 18.5 Inch Large Portable Monitor, 120Hz 1080P FHD IPS Portable Travel Second Screen Display for Laptop/Phone/Xbox PS4/5, 125% sRGB, Dual Speakers, VESA & Smart Cover

Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Noise-Cancelling Mic and LED Display, Built-in Mic for Clear Calls, Waterproof Design for Sports

Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Powerful Bass, Built-in Noise-Cancelling Mic for Clear Calls, LED Display, 36H Playtime, IPX5 Waterproof Design for Sports

Simple Modern Filtered Water Bottle | Insulated Stainless-Steel Carbon Filter Travel Water Bottles | Reusable for Clean Drinking Water On The Go | 24oz, Sea Glass Sage

Hand Warmers Magnetic 2 Pack Rechargeable Full Warmer Body Instant Heating, 5,000 mAh for 8 Hrs Pocket Size Electric Warmer Reusable for Outdoor, Indoor, Camping Gift for Man Women

2Pack Rechargeable Hand Warmer, 8000mAh Electric Hand Warmer Power Bank, Portable USB-C Hand Warmer for Pocket, Reusable Hand Warmer Up to 8 hrs Each, Warm Gift for Men Women, for Hunting, Camping

NEATS Nipple Covers for Women, Reusable & Hypoallergenic Silicone Pasties


