Back to Browse

Lecture22: All about Char Arrays, Strings & solving LeetCode Questions

1.4M views
Dec 17, 2021
1:53:19

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

Download

1 formats

Video Formats

360pmp4136.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Lecture22: All about Char Arrays, Strings & solving LeetCode Questions | NatokHD