Тёмный

Two Sum (LeetCode 1) | Neetcode 3 / 150 | Bharath Chandra (తెలుగు) 

Bharath Chandra (తెలుగు)
Подписаться 6 тыс.
Просмотров 824
50% 1

Hello guys, cheers to another piece of learning. Today I talked about the "Two Sum" problem which is the second in Neetcode 150 list. It is one of the most asked questions in interviews and has some interesting ways to solve it.
In the above video, I showed all the different logics with which the problem can be solved and also the codes to those logics in Python. Let me know if you got a hold of the logic?
HashMaps and HashSets video - • Hashsets and HashMaps ...
Two Pointer Algorithm - • 2 - Pointer Algorithm ...
Link to Neetcode 150 - neetcode.io/practice
Link to 2 Sum Problem - leetcode.com/problems/two-sum...
Regular updates from me on Discord, Insta and Telegram. I post job notifications of telegram and discord
Insta - / bharathh_chandraa
Telegram - t.me/thebharathchandra
Discord - / discord
00:00 - Introduction
00:23 - Problem Statement
01:50 - Brute Force Algorithm Explanation
04:32 - Brute Force Code
05:25 - Using 2 - Pointer Algorithm
11:18 - Code Using 2 - Pointer
12:33 - Using HashMap Explanation
19:12 - Using HashMap Code
20:21 - Conclusion

Наука

Опубликовано:

 

14 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@bharath.k9854
@bharath.k9854 14 дней назад
Inni rojulu ekkada unnav annaa 😅 , intha Manchiga chepputhunav, please continue broo ❤
@bharathh_chandraa
@bharathh_chandraa 12 дней назад
Nenu ikkade unna Bharath, nee friends evvaru naa videos neeku share cheyaledhu. Nuvvu aa thappu cheyodhu😉
@gantahemashankar6791
@gantahemashankar6791 9 дней назад
Thank you so much bro...telugu lo ela start chesinandhuku....I am from mech background in software but I got hope I can learn DSA❤
@maheswara_pradeep8235
@maheswara_pradeep8235 14 дней назад
bro intha mundhu bayapadi muttevadini kadhu. ippudu nee vala motivation ochi satrt chesthunna ee playlist valla
@bharathh_chandraa
@bharathh_chandraa 14 дней назад
150 questions aipoyevaraku vidichipettodhu!! Inka bhayam malli raadu
@maheswara_pradeep8235
@maheswara_pradeep8235 14 дней назад
@@bharathh_chandraa 😊
@rohithpatel867
@rohithpatel867 3 часа назад
GOAT explanation!!
@user-by6tt4hq8r
@user-by6tt4hq8r 10 дней назад
great explanation anna
@Manjith-1887
@Manjith-1887 13 дней назад
👍
@balu_beats__
@balu_beats__ 11 дней назад
DSA projects chei bruh
@ghani2342
@ghani2342 14 дней назад
love it anna
@kinglanister
@kinglanister 13 дней назад
bruh java code kuda chupinchandi it wll be helpful , nen mi playlist nunchi leetcode start cheddam anukontuna inni days leetcode kastam ani cheyyaledhu ,
@bharathh_chandraa
@bharathh_chandraa 12 дней назад
Ivvalti problem lo pseudocode explain chesa. Alaane Java code link kooda description lo icha
@_Siva_krishna_karri
@_Siva_krishna_karri 14 дней назад
Anna logic arthamavtundhi but code cheyalekapotunna can you give any suggestion
@bharathh_chandraa
@bharathh_chandraa 14 дней назад
First basic coding concepts strong cheskovaali Siva. Conditionals, Loops, functions and recursion nerchukovaali. Telusko channel lo python videos or jenny lectures channel lo python videos choosthe concepts clear avthay. Make sure concepts nerchukuntunnappudu problems kooda solve chestundu
@user-dn7gj3lk6t
@user-dn7gj3lk6t 9 дней назад
vector mp(n); for(int i=0;i
@mr.rishikesava2881
@mr.rishikesava2881 14 дней назад
Bro enduku class Solution(object) ani type chesthe ne output vachindhi bro nenu just function and code type chesi run chesinte raledhu bro edo error vasthudi may i know the reason?
@bharathh_chandraa
@bharathh_chandraa 14 дней назад
Object oriented languages lo methods class lopala undali Rishi. Also leetcode compilor aa class lone nee method untadi ani expect chestundi so adhi delete cheyodhu
@maheswara_pradeep8235
@maheswara_pradeep8235 14 дней назад
bro ippudu ee prob lo -ve values unde chance kuda undha? and also please try to make a video on sliding window also if possible
@bharathh_chandraa
@bharathh_chandraa 14 дней назад
Yeah pradeep. Negative values unna ee solution pani chestadi. Two pointer algorithm video lo sliding window kooda cover chesaanu, take a look. Malli evaina problems lo use avthe seperate video chesthaanu
@maheswara_pradeep8235
@maheswara_pradeep8235 14 дней назад
@@bharathh_chandraa ok bro
@lokesh0000
@lokesh0000 13 дней назад
Next video eppudu bro
@bharathh_chandraa
@bharathh_chandraa 13 дней назад
Inko 90 mins lopala ochestadi
@youandyou137
@youandyou137 13 дней назад
Just show the java code also for 10 seconds
@bharathh_chandraa
@bharathh_chandraa 7 дней назад
Start chesa bro. Ippatnunchi most videos lo untadi
@KumarTatikonda
@KumarTatikonda 10 дней назад
Why not cpp lo cheppachu kada ani nenu aduguthavunna 😅
@bharathh_chandraa
@bharathh_chandraa 10 дней назад
Python lo DSA resource internet motham lo ekkada ledhu Kumar andhukani. Aina pseudocode cheptha ganaka ye language lo aina code cheskovachu, kindha code links kooda istunna anni languages vi
@KumarTatikonda
@KumarTatikonda 6 дней назад
@@bharathh_chandraa thank u bro , this is my first ever reply from any youtuber ☺️
@sasidhar1826
@sasidhar1826 13 дней назад
👍
Далее
Two Sum - Leetcode 1 - HashMap - Python
8:26
Просмотров 1,2 млн
skibidi toilet multiverse 039 (part 2)
08:58
Просмотров 2,8 млн
МНЕ ИСПОРТИЛИ МАШИНУ #shorts
00:30
Просмотров 980 тыс.
COBOL Course - Programming with VSCode
1:17:04
Просмотров 191 тыс.
How I Mastered Data Structures and Algorithms
10:45
Просмотров 61 тыс.
Recursion in Programming - Full Course
1:51:36
Просмотров 930 тыс.
Собери ПК и Получи 10,000₽
1:00
Просмотров 2,6 млн