Pratique du Shadowing: Two Sum - Leetcode 1 - HashMap - Python - Apprendre l'anglais à l'oral avec la vidéo
About This Lesson
In this lesson, you will dive into a popular coding challenge known as "Two Sum." This exercise will help you enhance your problem-solving skills using Python while focusing on efficient algorithms like using hash maps. As you follow along with the video, you'll have the opportunity to listen to clear explanations, which can aid in improving English pronunciation. You'll learn how to find two numbers in an array that add up to a specific target, while also practicing your listening and speaking skills through shadowing techniques.
Key Vocabulary & Phrases
- Target - The number you want to achieve by summing two values.
- Index - The position of a value in an array.
- Combination - Different selections of numbers being considered.
- Hash map - A data structure that pairs keys to values, allowing for quick lookups.
- Runtime - The time complexity of an algorithm, indicating how performance scales.
- Brute force - A straightforward method that attempts all possibilities.
- Efficient - A method that achieves the desired outcome with minimal resource use.
- Exist - To be present or available in a given context.
Practice Tips
To effectively use this lesson for practicing English, try to implement the shadowing technique while watching the video. Shadowing involves listening carefully to the speaker and repeating what they say in real-time. This technique not only helps in improving your English pronunciation but also enhances your comprehension and retention of programming concepts.
As the video is based on coding, focus on the rhythm and intonation used by the speaker. Notice how they emphasize key terms related to programming. By mimicking their tone, you can effectively improve your speaking skills while grasping crucial vocabulary related to algorithms and data structures.
If you find the pacing of the video challenging, consider pausing after each key concept to repeat it aloud. This allows you to practice shadow speaking with clarity and confidence. Emphasize words and phrases that are new to you, which in turn will facilitate your journey to learn English with YouTube in a practical manner.
Qu'est-ce que la technique du Shadowing ?
Le Shadowing est une technique d'apprentissage des langues fondée sur la science, développée à l'origine pour la formation des interprètes professionnels. Le principe est simple mais puissant : vous écoutez de l'anglais natif et le répétez immédiatement à voix haute — comme une ombre suivant le locuteur avec un décalage de 1 à 2 secondes. Les recherches montrent une amélioration significative de la précision de la prononciation, de l'intonation, du rythme, des liaisons, de la compréhension orale et de la fluidité.