Solving Arrays Questions | Find the element that appears once | GeeksForGeeks | Nishant Chahar Ep-13

Solving Arrays Questions | Find the element that appears once | GeeksForGeeks | Nishant Chahar Ep-13

Curious Chahar

2 года назад

17,260 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@summeshh
@summeshh - 20.01.2024 15:52

Bhaiya this approach going to take O(n) time complexity but in gfg we have to solve it in O(log n) so how we can do it by using Binary search ?

Ответить
@raajsinghbhandari9027
@raajsinghbhandari9027 - 06.01.2024 20:51

name of this question in leetcode??

Ответить
@user-mi5pz7um6n
@user-mi5pz7um6n - 06.01.2024 13:44

if an element appears more than once and odd number of times it doesn't work... what should i do then... in other words this method only works when the non-unique numbers are present even number of times..

Ответить
@mittibharath9167
@mittibharath9167 - 29.12.2023 15:20

What if n is even

Ответить
@siddharthkachhia4829
@siddharthkachhia4829 - 15.12.2023 09:04

Fantastic

Ответить
@doyou_know2702
@doyou_know2702 - 07.12.2023 19:20

what if there are multiple elements which occur only once

Ответить
@doyou_know2702
@doyou_know2702 - 07.12.2023 19:16

what if I use a nested for loop and not a different array;

Ответить
@richakumari6267
@richakumari6267 - 19.10.2023 12:19

but it did'nt get applied on number i.e occuring odd no. of times please so, provide sol. for that

Ответить
@shivamrai2889
@shivamrai2889 - 24.07.2023 19:09

Itna bhi easy nhi tha O(log n) me krna tha , O(n) me kr k dikha diya qsn pdh bhi lo yrr

Ответить
@Sanjeev-ms4jb
@Sanjeev-ms4jb - 12.07.2023 11:43

like toh banta hai

Ответить
@user-hd5yd4eh3z
@user-hd5yd4eh3z - 06.06.2023 13:36

bruteforce Approach :
*JAVA*
static int brute(int[] nums, int n) {
for(int i = 0; i < n; i++) {
int cnt = 0;
for(int j = 0; j < n; j ++) {
if(nums[j] == nums[i]) cnt++;
}
if(cnt == 1) return nums[i];
}
return -1;
}

Ответить
@shubhamrawat5758
@shubhamrawat5758 - 11.04.2023 11:49

1 no...

Ответить
@protyushaghosh3996
@protyushaghosh3996 - 03.02.2023 21:35

explanation is very easy to understand ,,,,thank you bhaiya😊

Ответить
@zeeshan1019
@zeeshan1019 - 08.10.2022 19:53

Kaafi shi trah s samjhaya 🔥
Keep going bhaiya and sorry aaj aapke live m nii aaska

Ответить
@pooja2254
@pooja2254 - 13.08.2022 15:58

Understood

Ответить
@iam_niraj
@iam_niraj - 14.07.2022 16:10

Thanks bhaiya

Ответить
@aftab.04
@aftab.04 - 12.07.2022 17:54

Day 38 Done ✅

Ответить
@amitbehera9913
@amitbehera9913 - 10.07.2022 10:29

Bhai o question log n time pe Diya hai not in o of n

Ответить
@JACK-ho6cj
@JACK-ho6cj - 09.07.2022 07:20

It's look like mathematical reasoning

Ответить
@gouravnainwaya5669
@gouravnainwaya5669 - 09.07.2022 07:12

Very helpful video bro 😍

Ответить
@ronak8710
@ronak8710 - 08.07.2022 16:28

bro plz make video on how ty\o learn html

Ответить
@syedrizwan2203
@syedrizwan2203 - 08.07.2022 12:49

Hi @nishant can you please make review on kunal kushwaha interview, placement series....
It will be very much helpful
thanks for the educational content you are providing in such a simplified manner without animations Hat's off to you.

Ответить
@ShitanjaliKasera
@ShitanjaliKasera - 08.07.2022 10:07

Day 38 - Done with watching and understood the concept. Will practice now. @/codein10❤️ @/consistency❤️

Ответить
@abhinavrawat2522
@abhinavrawat2522 - 08.07.2022 08:32

Bhaiya is Computer Science and Communication Engineering good? Does it deals with coding ? Is it a IT branch? Do we become a software engineer after completing it?

Ответить
@anandsingh3081
@anandsingh3081 - 08.07.2022 07:29

Bhaiya aap pagal ho gye kya. Yaar mtlb manana pdega after placement after full time job aisi consistency. Oh bhai. This is called selfless hardwork. Thank you so much bhaiya. Wow 🤩🤩🤩🤩🤩. Love you so much...... 🙏

Ответить
@ce2_rutujatandalwade_652
@ce2_rutujatandalwade_652 - 08.07.2022 06:40

The concept was explained very clearly and without fail you upload the videos daily.. Great work bhaiya

Ответить
@abhayrajkashyap2283
@abhayrajkashyap2283 - 08.07.2022 05:09

Sir plzz give assignment 🥺

Ответить
@coderAman9
@coderAman9 - 08.07.2022 04:24

bhiya java complete course kab aayega

Ответить
@cricketwithgirl8114
@cricketwithgirl8114 - 08.07.2022 04:12

Java series bhi chalaye sir

Ответить
@cricketwithgirl8114
@cricketwithgirl8114 - 08.07.2022 04:11

Sir thank you

Ответить
@HarshSharma-ib8ft
@HarshSharma-ib8ft - 08.07.2022 00:34

Day 38
Solving Array Questions
Everything was clearly explained by you. You work incredibly hard and you are very much committed to your daily work. You are close to reaching 30 K subscribers. Congratulations in advance for that. Keep producing remarkable content like this. I have been viewing your videos every day for the past 38 days. I can't believe how quickly time has flown by. It's all a result of your commitment to the explanation and the bond you have built with the audience. I deeply appreciate all of your knowledge and work from the start. I am learning so much, and I value your guidance and support. You invest a lot of effort and dedication in everything you achieve. I look forward to meeting you soon and getting to know you better while learning valuable knowledge from you. You are the best, Nishant bhaiya!

Ответить
@ankit_6378
@ankit_6378 - 08.07.2022 00:12

Loving your content

Ответить
@pradeeshk7231
@pradeeshk7231 - 07.07.2022 22:14

Bro can you please add the subtitles?? If it is in English it will be easy for those who don't understand Hindi..(like me)

I love your reels & the main channel videos.. Keep doing this Nishant Bro 👍🏻👏🏻❤️

Ответить
@abhilashasingh9322
@abhilashasingh9322 - 07.07.2022 21:40

Well explained💛

Ответить
@rocksdj3032
@rocksdj3032 - 07.07.2022 21:27

Sir web page create karne ke liye HTML jarurat he to pls HTML padhaiye

Ответить
@naveenjodu21
@naveenjodu21 - 07.07.2022 20:42

we can use two pointer approach as well as they clearly mentioned sorted array

Ответить
@vaibhavigvp
@vaibhavigvp - 07.07.2022 20:19

Thank you bhaiya for the day❤

Ответить
@deepak__1
@deepak__1 - 07.07.2022 20:18

thanks for today

Ответить
@mdrashid3367
@mdrashid3367 - 07.07.2022 20:00

Thank you very much bhaiya 💗

Ответить
@cop4360
@cop4360 - 07.07.2022 19:44

XOR: a. 0 ke sath kisi no ka XOR = same number.... b. different number(0/1) = XOR value is 1.. Thanks Nishant, this is very useful

Ответить
@MdRaza-ef3jj
@MdRaza-ef3jj - 07.07.2022 19:32

Keep this series on💥💥💥

Ответить
@manemanoj3068
@manemanoj3068 - 07.07.2022 19:15

Aare bhai Arrays Solve karthai 🤣 .
Bhai WelCome to Hyderabad 🫂

Ответить
@shuvrodas5155
@shuvrodas5155 - 07.07.2022 18:50

Can we hit 30k by this week💕

Yesh yesh we can💕🎉

Ответить
@kaustavpurkayastha
@kaustavpurkayastha - 07.07.2022 18:49

Bohot badhiya se samjhaya bro ✨

Ответить
@harikeshyadav4814
@harikeshyadav4814 - 07.07.2022 18:45

Day 38 ✅🔥

Ответить
@sakshiawadhiya7267
@sakshiawadhiya7267 - 07.07.2022 18:44

Voice sound low hai bahut

Ответить