No video

TWO SUM (leetcode) solution in 6 mins in PYTHON in TELUGU

  Рет қаралды 5,949

Javahar reddy Sunkireddy

Javahar reddy Sunkireddy

Күн бұрын

solve this question in below links and increase your coding profiles
.
.
.
two sum solution in telugu
coding python
python
two sum
sum two
two sum python
two sum telugu
telugu coding solutions
telugu coding
leetcode geeksforgeeks solutions telugu
leetcode telugu solutions
geeksforgeeks solutions telugu
leetcode solutions telugu
geeksforgeeks telug solutions
two sum telugu solution
two telugu sum solution
google facebook amazon apple netflix
data structures in telugu
data structures in python telugu
hashmap telugu
telugu coding
programming telugu
two sum program telugu
two sum program leetcode
leetcode telugu two sum program
two program sum leetcode

Пікірлер: 15
@nagarajutammavarapu
@nagarajutammavarapu Ай бұрын
nums=[2,7,11,15] target=26 for i in range(len(nums)-1): a=i b=i+1 sum=nums[a]+nums[b] if target==sum: print(a,b)
@manisha4130
@manisha4130 Ай бұрын
Great Explanation! Thanks for this Video
@rebekahjames
@rebekahjames 11 ай бұрын
thank you :) life saver. nak aa english lo vintunte burra ku ekkaledhu. thanks for this. over complicate cheyakokunda explain chesav. Na first leet code problem nuvve explain chesnav anna thanks:)
@javaharreddysunkireddy
@javaharreddysunkireddy 11 ай бұрын
welcome, please consider like,share and subscribe so that it gives me motivation to do such videos
@bhargav5321
@bhargav5321 2 ай бұрын
nums=list(map(int, input().split())) target=int(input()) o=[] for i in range(len(nums)): for j in range(len(nums)): if(nums[i]+nums[j]==target): o.append([i,j]) break print(o) this also works perfect but it is not taking as correct
@javaharreddysunkireddy
@javaharreddysunkireddy 2 ай бұрын
Bro nums=[2, 3,1] and target =4 now try this using your code it dosent work your for loops are not handling repetetions say for first iteration the sum would be 2+2 which is four but it is not the answer that is why it dosent work handle those and your code will work fine
@CodingMakesMeHappy
@CodingMakesMeHappy Ай бұрын
Bro j should starting from i+1 then it works fine still it takes O(n^2) time complexity. Use map for O(n). If u don't want space then sort array it will run in O(nlogn) time complexity
@nsjdeveloper1123
@nsjdeveloper1123 4 ай бұрын
Excellent
@javaharreddysunkireddy
@javaharreddysunkireddy 3 ай бұрын
Thank you so much 😀
@pasupuletipriyanandini5041
@pasupuletipriyanandini5041 11 ай бұрын
Thank you so much.
@javaharreddysunkireddy
@javaharreddysunkireddy 3 ай бұрын
welcome
@roopa_ankadala
@roopa_ankadala Ай бұрын
DSA in Python...use untadha career lo manaki..?
@javaharreddysunkireddy
@javaharreddysunkireddy Ай бұрын
@@roopa_ankadala dsa anedhi concepts ekkadaina ave untay syntax maarthadi language maarithe concepts will be same soo yes
@devi99999
@devi99999 6 ай бұрын
Thank you
@javaharreddysunkireddy
@javaharreddysunkireddy 6 ай бұрын
Most welcome ❤️
I solved 541 Leetcode problems. But you need only 150.
7:42
Sahil & Sarra
Рет қаралды 2,3 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 22 МЛН
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 14 МЛН
Two Sum - Leetcode 1 - HashMap - Python
8:26
NeetCode
Рет қаралды 1,2 МЛН
LeetCode Exercise in Java Tutorial - Two Sum FAST Solution
23:36
Coding with John
Рет қаралды 179 М.
How to Start Leetcode (as a beginner)
8:45
Ashish Pratap Singh
Рет қаралды 827 М.
Two Sum | LeetCode 1 | Theory + Python code
7:32
Sai Anish Malla
Рет қаралды 2,5 М.
Longest Common Prefix - Leetcode 14 - Python
6:31
NeetCode
Рет қаралды 166 М.
Python OOP Tutorial 1: Classes and Instances
15:24
Corey Schafer
Рет қаралды 4,4 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16