Length of Last Word - LeetCode #58 - 3 solutions - Python, JavaScript, Java, C++

Published: 19 August 2024
on channel: CodingNinja
5,302
24

Length of Last Word with Python, JavaScript, Java and C++, LeetCode #58!

In this video, we'll dive into the LeetCode problem "Length of Last Word". Learn how to solve this problem efficiently and understand the key concepts behind it. We’ll start by analyzing the problem statement and then explore various approaches to find the length of the last word in a given string. The video will cover both the naive and optimized solutions, discussing their time and space complexities. Whether you're new to coding or looking to improve your problem-solving skills, this tutorial will help you master the "Length of Last Word" challenge. Don’t forget to like, share, and subscribe for more coding tips and tricks!

------------------------------------------------------------------------------------------------------
⭐️ Please subscribe to my channel from here.
   / @codingninjaexamazon  

⭐️ Please upvote my post from here.
https://leetcode.com/problems/length-...
------------------------------------------------------------------------------------------------------

■ Timeline
0:04 Explain basic idea - solution 1
3:03 Coding - solution 1
4:28 Time Complexity and Space Complexity - solution 1
4:47 Coding Exercise
7:04 Time Complexity and Space Complexity - Coding Exercise
7:13 Bonus

■ Blind 75 LeetCode questions
   • Blind 75 LeetCode Questions  

■ Twitter
  / codingninjaaz  

■ Problem Link
https://leetcode.com/problems/length-...

■ Codes in the video
Python, JavaScript, Java and C++ are available from here.
https://leetcode.com/problems/length-...

■ Other Playlists
Array&Hash :    • Video  
Tree :    • Video  
Backtracking :    • Video  
Sliding Window :    • Permutation in String - LeetCode #567 with...  
Greedy :    • Video  
Easy Level Questions :    • Video  
Medium Level Questions :    • Permutation in String - LeetCode #567 with...  
Linked List:    • Video  
Hard Level Questions :   • Merge k Sorted Lists - LeetCode #23 with p...  

#leetcode #python #interview


On this page of the site you can watch the video online Length of Last Word - LeetCode #58 - 3 solutions - Python, JavaScript, Java, C++ with a duration of hours minute second in good quality, which was uploaded by the user CodingNinja 19 August 2024, share the link with friends and acquaintances, this video has already been watched 5,302 times on youtube and it was liked by 24 viewers. Enjoy your viewing!