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

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ค. 2022
  • In this video, we'll are going to solve some more questions of the array. Arrays are really important because we are going to use them a lot in future topics. So make sure that you watch this lecture carefully.
    Question link: practice.geeksforgeeks.org/pr...
    Previous lecture: • What are Arrays? | Def...
    You can use my code NISHANT to get 15% Off on all GFG courses.
    ✨ Important Links ✨
    - Don't Click Here: bit.ly/3afmPha
    - Telegram Link: t.me/codeIn10byNishant
    - Github Repo Link: github.com/chaharnishant11/Co...
    ✨ Hashtags ✨
    #NishantChahar #Microsoft #DSA #Recursion #FAANG #NSIT #NSUT #engineering #internship #college
    ✨tags ✨
    Where to learn dp
    where to learn graphs
    where to learn dsa
    how to start programming
    how to start coding
    where to learn trees
    what is memoisation
    what is tabulation
    what are graphs
    where to learn Operating systems
    where to learn dbms
    where to learn oops
    where to learn computer networks
    where to learn low level design
    where to learn cs fundamentals
    Sanchit jain
    Gaurav sen
    Gate smashers
    Placement guide
    How to start programming
    where to learn cpp
    where to learn python
    where to learn javascript
    where to learn java
    Placement guide
    Nishant Chahar Placement Guide
    languages to learn
    resources to learn data structures
    Projects development
    AR/VR
    Blockchain Machine learning
    Deep Learning
    Software developer engineer ,
    Side projects ,
    Importance of side projects ,
    Machine Learning Engineer,
    How to become a machine learning engineer ,
    Associate engineer
    Data structures Algorithms
    College Life, College, Memories
    Fun Fests Chill Enjoy
    IITD Mood indigo rendezvous IIT
    NSUT Moksha DTU Engifest
    Bits Bitsgoa
    Namaste Javascript
    Namaste Javascript Akshay Saini
    Apna college
    Apna college c++
    apna college DSA
    Where to learn dp
    where to learn graphs
    where to learn dsa
    how to start programming
    how to start coding
    where to learn trees
    what is memoisation
    what is tabulation
    what are graphs
    where to learn programming
    how to start coding
    where to learn coding
    where to learn DSA
    resources to learn programming
    how to crack amazon
    how to crack placement
    blockchain
    what is blockchain
    blockchain technology
    blockchain technology explained
    blockchain explained
    blockchain technology in hindi
    web development roadmap
    roadmap to learn web development
    android development roadmap
    MERN stack roadmap
    machine learning roadmap
    roadmap to learn machine learning
    roadmap for deep learning
    roadmap for 2nd years
    roadmap for opensource
    roadmap for ios development
    roadmap for deep learning
    roadmap to learn DSA

ความคิดเห็น • 84

  • @ce2_rutujatandalwade_652
    @ce2_rutujatandalwade_652 2 ปีที่แล้ว +4

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

  • @yashdeepsingh785
    @yashdeepsingh785 2 ปีที่แล้ว +1

    Never gets bored while taking your lecture 38 completed.Learning and growing 🥰

  • @protyushaghosh3996
    @protyushaghosh3996 ปีที่แล้ว

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

  • @mayurkumbhare1926
    @mayurkumbhare1926 2 ปีที่แล้ว +2

    We believe in you
    Great teaching by great mentor
    Road to 50k
    ❤‍🔥

  • @naveenjodu21
    @naveenjodu21 2 ปีที่แล้ว +1

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

  • @zeeshan1019
    @zeeshan1019 ปีที่แล้ว +1

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

  • @vanshishah5206
    @vanshishah5206 2 ปีที่แล้ว

    Coincidence mene Aaj hi yeh question solve kiya 🔥
    Explanation and consistency 💯

  • @vishalshrivastav1710
    @vishalshrivastav1710 2 ปีที่แล้ว +1

    thanks for the Video bhaiya............
    full support
    consistency OP

  • @cuteminired6550
    @cuteminired6550 หลายเดือนก่อน

    Thanks so much bro

  • @ankit_6378
    @ankit_6378 2 ปีที่แล้ว +1

    Loving your content

  • @HarshSharma-ib8ft
    @HarshSharma-ib8ft 2 ปีที่แล้ว +1

    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!

  • @abhishekkathiriya79
    @abhishekkathiriya79 2 ปีที่แล้ว

    Nichant bhaiya 💗
    Video was good 👍 👌 👏
    Keep going 💯
    Keep learning 💯
    Thanks 😊

  • @srashtifarkya4940
    @srashtifarkya4940 2 ปีที่แล้ว +1

    Great Bhaiya 👍
    uploading videos everyday is not a joke✌ you teaches very well brother💓💓
    You are Great 👉

  • @mdrashid3367
    @mdrashid3367 2 ปีที่แล้ว

    Thank you very much bhaiya 💗

  • @abhilashasingh9322
    @abhilashasingh9322 2 ปีที่แล้ว

    Well explained💛

  • @yashikagarg4044
    @yashikagarg4044 2 ปีที่แล้ว

    Well explained ✨

  • @oNago555
    @oNago555 2 ปีที่แล้ว

    Enjoying and solving ❣️

  • @sumitkanth5349
    @sumitkanth5349 2 ปีที่แล้ว +1

    Day 38 video to smj aari h bhaiya thanks :) bs result kb aaega ye smj ni aa rha ;)

  • @siddharthkachhia4829
    @siddharthkachhia4829 7 หลายเดือนก่อน

    Fantastic

  • @gouravnainwaya5669
    @gouravnainwaya5669 2 ปีที่แล้ว +1

    Very helpful video bro 😍

  • @doyou_know2702
    @doyou_know2702 7 หลายเดือนก่อน

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

  • @richakumari6267
    @richakumari6267 9 หลายเดือนก่อน

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

  • @user-oe7pi5lv1w
    @user-oe7pi5lv1w 5 หลายเดือนก่อน

    is this approach valid if numbers repeating three times

  • @vaibhavigvp
    @vaibhavigvp 2 ปีที่แล้ว

    Thank you bhaiya for the day❤

  • @deepak__1
    @deepak__1 2 ปีที่แล้ว

    thanks for today

  • @aadityakrsharma
    @aadityakrsharma 2 ปีที่แล้ว

    Good 👍

  • @kaustavpurkayastha
    @kaustavpurkayastha 2 ปีที่แล้ว

    Bohot badhiya se samjhaya bro ✨

  • @bhagyashritamrakar1280
    @bhagyashritamrakar1280 2 ปีที่แล้ว

    Great 👍

  • @vikasbagri1225
    @vikasbagri1225 2 ปีที่แล้ว

    The moment you said " Find the element that appears once" I was like "maja aa gaya ye toh maine kiya hai"
    I really like this question and the intuition behind the solution is very easy to be understood as I was so so in "Digital Electronics"
    and I loved the logical gate part a lot
    Again thanks for this fun challenge

  • @AbhishekVerma-dv6bz
    @AbhishekVerma-dv6bz 2 ปีที่แล้ว

    Thankyou Brother ❤️

  • @cricketwithgirl8114
    @cricketwithgirl8114 2 ปีที่แล้ว

    Sir thank you

  • @summeshh
    @summeshh 6 หลายเดือนก่อน

    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 ?

  • @pooja2254
    @pooja2254 ปีที่แล้ว

    Understood

  • @jitendersingh9473
    @jitendersingh9473 2 ปีที่แล้ว

    Nice 💕

  • @nakulpise618
    @nakulpise618 2 ปีที่แล้ว +1

    Today is also done 👍

  • @rajatarora8058
    @rajatarora8058 2 ปีที่แล้ว

    Day 38 - Done with watching and understood the concept. Will practice now. #Codein10❤️ #consistency❤️

  • @ShitanjaliKasera
    @ShitanjaliKasera 2 ปีที่แล้ว

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

  • @iam_niraj
    @iam_niraj 2 ปีที่แล้ว

    Thanks bhaiya

  • @positiveattitude9506
    @positiveattitude9506 2 ปีที่แล้ว

    30 k subscribers soon ❤

  • @MdRaza-ef3jj
    @MdRaza-ef3jj 2 ปีที่แล้ว

    Keep this series on💥💥💥

  • @ankit_6378
    @ankit_6378 2 ปีที่แล้ว +1

    #CodeIn10 ❤❤

  • @positiveattitude9506
    @positiveattitude9506 2 ปีที่แล้ว

    your great bhaiya.
    present here 38 days completed successfully thankyou Nishant bhaiya for your support ❤️#nishantchahar.
    very excited for Microsoft ture 😅😅😅😅

  • @manemanoj3068
    @manemanoj3068 2 ปีที่แล้ว +1

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

  • @shubhamrawat5758
    @shubhamrawat5758 ปีที่แล้ว

    1 no...

  • @mdtouseeb264
    @mdtouseeb264 2 ปีที่แล้ว

    Day 38 🔥😎
    Thanx bhai💟💯

  • @user-hd5yd4eh3z
    @user-hd5yd4eh3z ปีที่แล้ว

    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;
    }

  • @coderAman9
    @coderAman9 2 ปีที่แล้ว

    bhiya java complete course kab aayega

  • @srinityapavani5347
    @srinityapavani5347 2 ปีที่แล้ว +1

    Day 38 - done successfully #arrays #Codein10

  • @raajsinghbhandari9027
    @raajsinghbhandari9027 6 หลายเดือนก่อน

    name of this question in leetcode??

  • @sounak4067
    @sounak4067 2 ปีที่แล้ว

    Thank you bhaiya for everything... Consistency day 38 :)

  • @avishkumar6281
    @avishkumar6281 2 ปีที่แล้ว

    🔥🔥🔥

  • @princedabral276
    @princedabral276 2 ปีที่แล้ว

    I wrote this code my self for the answer of this vdeo... But still I am not getting how to do this code in geeks for geeks ;(
    #include
    using namespace std;
    int main() {
    int arr[] = {1,2,5,8,5,3,8,5,7,6,1,7,9,4,7};
    int times = 0;
    int size = 15;
    for (int i = 0; i < size; i++) {
    for (int j = 0; j < size; j++) {
    if (arr[i] == arr[j]) {
    times += 1;
    }
    }
    // cout

  • @akshatsingh433
    @akshatsingh433 2 ปีที่แล้ว

    👍

  • @doyou_know2702
    @doyou_know2702 7 หลายเดือนก่อน

    what if there are multiple elements which occur only once

  • @ronak8710
    @ronak8710 2 ปีที่แล้ว

    bro plz make video on how ty\o learn html

  • @deeppatel7657
    @deeppatel7657 2 ปีที่แล้ว

    Day-38 done ✅
    Dp plzz bro

  • @syedrizwan2203
    @syedrizwan2203 2 ปีที่แล้ว

    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.

  • @anandsingh3081
    @anandsingh3081 2 ปีที่แล้ว

    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...... 🙏

  • @lethalleet
    @lethalleet 2 ปีที่แล้ว

    Day 37 done

  • @shuvrodas5155
    @shuvrodas5155 2 ปีที่แล้ว

    Can we hit 30k by this week💕
    Yesh yesh we can💕🎉

  • @aftab.04
    @aftab.04 2 ปีที่แล้ว

    Day 38 Done ✅

  • @mittibharath9167
    @mittibharath9167 6 หลายเดือนก่อน

    What if n is even

  • @rocksdj3032
    @rocksdj3032 2 ปีที่แล้ว

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

  • @cricketwithgirl8114
    @cricketwithgirl8114 2 ปีที่แล้ว

    Java series bhi chalaye sir

  • @abhinavrawat2522
    @abhinavrawat2522 2 ปีที่แล้ว

    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?

  • @user-mi5pz7um6n
    @user-mi5pz7um6n 6 หลายเดือนก่อน +1

    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..

    • @subratamandal2924
      @subratamandal2924 6 หลายเดือนก่อน

      Sort karo. Phir check Karo jiska left ya right mein equal value nehi hai, to wo unique element hai

  • @harikeshyadav4814
    @harikeshyadav4814 2 ปีที่แล้ว

    Day 38 ✅🔥

  • @shivdixit2587
    @shivdixit2587 2 ปีที่แล้ว +2

    Week - 6 started
    Very much excited
    There is no feeling of getting bored by stretching all these 5 weeks feels good and more capable of doing more & more coding everyday
    Thanks bhaiya😎
    Shiv

  • @_nisarg_shah
    @_nisarg_shah 2 ปีที่แล้ว

    Arrays++

  • @karanjot_singh
    @karanjot_singh 2 ปีที่แล้ว

    Day-38 done ✅
    Dp plzz bro
    30 k subscribers soon ❤

  • @amitbehera9913
    @amitbehera9913 2 ปีที่แล้ว

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

  • @JACK-ho6cj
    @JACK-ho6cj 2 ปีที่แล้ว

    It's look like mathematical reasoning

  • @Vikatuofficial
    @Vikatuofficial 2 ปีที่แล้ว

    Ok

  • @sakshiawadhiya7267
    @sakshiawadhiya7267 2 ปีที่แล้ว

    Voice sound low hai bahut

  • @saujanyashukla5483
    @saujanyashukla5483 2 ปีที่แล้ว

    Bhaiya I am from mechanical branch and in tier -3 clg and interested so much in coding what should I do to get placed in top MNC
    Your reply will be valuable 🙏

    • @AKASH-so2ou
      @AKASH-so2ou 2 ปีที่แล้ว

      Koi bootcamp join karlo

  • @abhayrajkashyap2283
    @abhayrajkashyap2283 2 ปีที่แล้ว

    Sir plzz give assignment 🥺

  • @Sanjeev-ms4jb
    @Sanjeev-ms4jb ปีที่แล้ว

    like toh banta hai

  • @user-qp4hr8yq2h
    @user-qp4hr8yq2h 5 หลายเดือนก่อน

    it wont work if you have more than 1 unique number😄

  • @preethig6601
    @preethig6601 2 ปีที่แล้ว

    Bro take this in English bro fully plss....

  • @shivamrai2889
    @shivamrai2889 ปีที่แล้ว +1

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

  • @pradeeshk7231
    @pradeeshk7231 2 ปีที่แล้ว

    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 👍🏻👏🏻❤️

  • @preetkatiyar969
    @preetkatiyar969 2 ปีที่แล้ว +1

    Bhaiya wait hi kar rha tha video ki(first comment)
    preetkatiyar999