Decode Strings (LeetCode 394) | Full solution with animations and examples | Study Algorithms
26.5 هزار بار بازدید -
2 سال پیش
-
String encoding and decoding are
String encoding and decoding are widely used in encryption algorithms. This is often used to send encrypted messages. Hence, they make up good programming problems as well. In this particular problems you are given an encoded string, and we have to figure out the actual string. Watch the video to see a visual example of how the decoding works making it easier to follow and understand. All of this with a pseudo code.
Actual problem on LeetCode: leetcode.com/problems/decode-string/
Chapters:
00:00 - Intro
00:45 - Problem statement and description
02:41 - Logic to decode the given string
05:35 - Finding an optimal solution to decode the string
10:57 - Pseudo code to decode strings
13:31 - Final Thoughts
📚 Links to topics I talk about in the video:
Brute Force Algorithmic Paradigms: • Brute Force algorithms with real life...
What is Big O: • Big O Notation Simplified to the MAX ...
Stack Data Structure: • Stack Data Structure explained with a...
Other problems on Strings: • Strings
📘 A text based explanation is available at: studyalgorithms.com/
Code on Github: github.com/nikoo28/java-solutions/blob/master/src/…
Test-cases on Github: github.com/nikoo28/java-solutions/blob/master/src/…
📖 Reference Books:
Starting Learn to Code: amzn.to/36pU0JO
Favorite book to understand algorithms: amzn.to/39w3YLS
Favorite book for data structures: amzn.to/3oAVBTk
Get started for interview preparation: amzn.to/39ysbkJ
🔗 To see more videos like this, you can show your support on: www.buymeacoffee.com/studyalgorithms
🎥 My Recording Gear:
Recording Light: amzn.to/3pAqh8O
Microphone: amzn.to/2MCX7qU
Recording Camera: amzn.to/3alg9Ky
Tablet to sketch and draw: amzn.to/3pM6Bi4
Surface Pen: amzn.to/3pv6tTs
Laptop to edit videos: amzn.to/2LYpMqn
💻 Get Social 💻
Follow on Facebook at: www.facebook.com/studyalgos
Follow on Twitter at: www.twitter.com/studyalgorithms
Follow on Tumblr at: studyalgos.tumblr.com/
Subscribe to RSS feeds: studyalgorithms.com/feed/
Join fan mail: eepurl.com/g9Dadv
#leetcode #programming #interview
2 سال پیش
در تاریخ 1401/03/01 منتشر شده
است.
26,543
بـار بازدید شده