LeetCode in Java | Problem Solving in Arrays : Easy Question | Two Sum Problem

preview_player
Показать описание
In this series, we will solve some of the most frequently asked Leetcode interview questions. Watch this video to clear your doubts on two sum problems and stay tuned for more.

If you are joining us late, to know more about PWSkills & plans :

▶️ PW Skills LinkedIn Channel -

Рекомендации по теме
Комментарии
Автор

For line 3 i<nums.length-1.
Because j<nums.length and as per que elements should not be same .
(so for start j should be i+1 and for end i should be j-1)

ItachiGamer
Автор

can't explain how college wallah is helpful for Thank you 😇

harshitchaurasia
Автор

you want to Learn DSA
Best place and free
Thank you all CW
Team ❤

BaapDeveloper
Автор

Continue this type of videos Java leetcode questions. Very helpful for understand the question logic.

kdcode
Автор

This is awesome...pls make playlist of such problems...thank you so much ☺️❣️

kirankadam
Автор

Thank you Sooo much for this Video,
I had a feeling from start of my programming journey that I am not prepared for leet code, and this is not a new thing, I am facing this problem from quite a few time
Everywhere I hear that "Leetcode ke que karo, leetcode par weekly- biweekly contest do", but every time I procrastinate thinking pehle kuch aana to chahiya fir karte hai, and the day never came
After this video I have got a boost of confidence and motivation to finally make Leetcode profile and start solving questions,
Tysm❤️❤️❤️

Afzal
Автор

Better than ALPHA 2.O
PW is providing all this for free

gateocity
Автор

Thanks a lot
*1st year students mark you attendence*

FunMan_
Автор

Hi ma'am,
I was trying to solve LeetCode problem for many days but I was not attempting.
Thank you so much ma'am. Because it was started.

MohitSingh-zorj
Автор

c++ approach T.C O(N^2)
vector<int> twoSum(vector<int>& nums, int target) {
for(int i=0;i<nums.size();i++)
for(int j=i+1;j<nums.size();j++)
if(nums[i]+nums[j]==target)
return {i, j};

return {};
}

codewithDSA
Автор

Plz ma'am continue this series 🙏🙏🙏

cuteshalvi
Автор

Thank you ma'am... very helpful video

sanketdhokale
Автор

Please continue this type of videos, where every weekend we solve some imp Leetcode questions 😃

Afzal
Автор

Thanks didi for this clear explanation

manu-singh
Автор

Thank you so much mem & Team PWSkills .
Mem leetcode video students ko coding me interest badhane me bhut help karegi
Please request he leetcode problem solution video every day aaye or kam se kam 2 problem per day aaye
Thanks mem

rahuljangid
Автор

Should continue this question series Evey day

tarun
Автор

Thank you so much PW I have No words 🥰

swapnil
Автор

mam, please provide us leetcode easy problem list to explore our logic and make it leetcode series problem videos more.THANKYOU

trbzkhan
Автор

Mam please more leetcode questions please

Mr.coderrr
Автор

Thank u so much 😍 ma'am
For more practice

pawanrajput