Find Missing Number In Array In Java (Hindi)

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ต.ค. 2024

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

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

    🚩🌳Professional Courses + Projects (Upto 80% off) 🌳 courses.smartprogramming.in
    🔴 Core Java Playlist : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
    🔴 Advance Java Playlist : th-cam.com/play/PLlhM4lkb2sEjVsbbZ_kiixY5CcR84IQUg.html
    🔴 Android Playlist : th-cam.com/play/PLlhM4lkb2sEhdllbTIVF0rzD0coCiuHok.html
    =====================================
    ▶ Core Java Chapter-wise Playlist ◀
    ⭕ 9. Collection Framework in Java | Java Data Structure : th-cam.com/play/PLlhM4lkb2sEiOcuH1g-CUuU288qmMNpyj.html
    ⭕ 8. Multithreading in Java : th-cam.com/play/PLlhM4lkb2sEh1pBs0KBb63PlKKqRx6M1a.html
    ⭕ 7. Strings In Java : th-cam.com/play/PLlhM4lkb2sEh8AARH5oEivYOrMgaVsPFb.html
    ⭕ 6. Exception Handling : th-cam.com/play/PLlhM4lkb2sEjaU-JAASDG4Tdwpf-JFARN.html
    ⭕ 5. OOP's Concepts : th-cam.com/play/PLlhM4lkb2sEhf5NlWeYh_gdcN49pHjVP0.html
    ⭕ 4. Arrays in Java : th-cam.com/play/PLlhM4lkb2sEi4UoqSmobDeA5VNI1f2w3C.html
    ⭕ 3. Control Statements : th-cam.com/play/PLlhM4lkb2sEgQmNKO43i7v60no4bdc3lI.html
    ⭕ 2. Java Introduction : th-cam.com/play/PLlhM4lkb2sEj6zsK25K9f15qNUATqYxGq.html
    ⭕ 1. Programming Basic Terminologies : th-cam.com/play/PLlhM4lkb2sEhwPZhFmlox57kaCgMm5UgC.html
    =====================================
    ▶Advance Java Chapter-wise Playlist ◀
    ⭕ 1. JDBC (Java Database Connectivity) with MySQL : th-cam.com/play/PLlhM4lkb2sEjDXBqaYbwAoDAQKh2yczR7.html
    ⭕ 2. Servlet & JSP Tutorials for Beginners : th-cam.com/play/PLlhM4lkb2sEiiEAP0uSFXiFY8KdXPnN0f.html

  • @alinazachia4182
    @alinazachia4182 5 ปีที่แล้ว +37

    *WHAT IF WE HAVE 2 MISSING NUMBERS ???*

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

    good explaination just one problem in the solution
    the expectednumofelements should be = array.length not array.length +1

  • @iteach-tech6531
    @iteach-tech6531 5 ปีที่แล้ว +2

    Nice videos really appreciated. Plus who puts subscriber icon at the center of screen its annoying? Please add them at corners.

  • @GovindSingh-vf7ff
    @GovindSingh-vf7ff 6 ปีที่แล้ว +13

    sir, please remove watermark from the middle.

    • @SmartProgramming
      @SmartProgramming  5 ปีที่แล้ว +5

      sorry, it was actually i edited in the video, and now it cant be removed, sorry for inconvenience.
      thank you, keep learning

  • @rahulkumarmishra7670
    @rahulkumarmishra7670 4 ปีที่แล้ว +3

    Sir thaks ..when i am seeing ur lecture i am feeling confient.i have one dought if there are two missing no what we will do then ..

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

      Thank you for your feedback.
      Below are some of the links for more videos and information :
      Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
      Website : www.smartprogramming.in
      Projects & Courses Website : courses.smartprogramming.in
      Download Our Android Application for Notes and Interview Questions : play.google.com/store/apps/details?id=com.smartprogramming
      Follow Us On :
      Facebook Page : facebook.com/smartprogramming.india
      Instagram Page : instagram.com/smart_programming

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

    Thanks, Sir and pls upload videos for Anagram of the string without builtin function and find the prime number from given input i.e. GIVEN INPUT:-123456789 OUTPUT:- 2 3 5 7

  • @shwetabharti8756
    @shwetabharti8756 3 ปีที่แล้ว +3

    Hat's off to ur explanation sir🙏🙏🙏😊😊

    • @SmartProgramming
      @SmartProgramming  3 ปีที่แล้ว

      Thank you for your feedback. Keep watching.
      Below are some of the links for more videos and information :
      Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
      Important Java Books: www.amazon.in/shop/smartprogramming?listId=3OFWAB0091PSQ
      Website : www.smartprogramming.in
      Projects & Courses Website : courses.smartprogramming.in
      Download Our Android Application for Notes and Interview Questions : play.google.com/store/apps/details?id=com.smartprogramming
      Follow Us On :
      Amazon Store: www.amazon.in/shop/smartprogramming
      Facebook Page : facebook.com/smartprogramming.india
      Instagram Page : instagram.com/smart_programming

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

    Simple and easily understandable for your video

    • @SmartProgramming
      @SmartProgramming  4 ปีที่แล้ว

      Thank you for your feedback.
      Below are some of the links for more videos and information :
      Java Tutorials Serial Wise : th-cam.com/play/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b.html
      Website : www.smartprogramming.in
      Projects & Courses Website : courses.smartprogramming.in
      Download Our Android Application for Notes and Interview Questions : play.google.com/store/apps/details?id=com.smartprogramming
      Follow Us On :
      Facebook Page : facebook.com/smartprogramming.india
      Instagram Page : instagram.com/smart_programming

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

    Good explanation sir , please upload Linked list and stack Queue videos..

  • @prafullathorat7776
    @prafullathorat7776 5 ปีที่แล้ว +4

    if array range start in between like int a[]= {5,6,8,9,10} then it will not work? range has to started from 1 to n its mandatory ?

    • @SmartProgramming
      @SmartProgramming  5 ปีที่แล้ว

      Hello Prafulla thorat,
      no its not mandatory..!!
      Thanks a lot for your valuable feedback and support.
      Get updated to my new videos in the following link:
      th-cam.com/users/smartprogramming
      Below are the links of all the tutorials in java :
      1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
      2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
      3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
      4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html?

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

    U r good teacher 😊😊Sir plz data structure pr programs in Java stack queue linked list pr programs ka tutorial banaiye plz sir 🙏🙏

    • @SmartProgramming
      @SmartProgramming  6 ปีที่แล้ว

      data structure will take some time, sorry for inconvenience 🙁

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

    Thank you sir you made it easy for us❤️❤️❤️❤️❤️❤️❤️❤️

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

    please sir Array and string ke program ke video create karo

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

    Your videos are good !

    • @SmartProgramming
      @SmartProgramming  6 ปีที่แล้ว

      Hello Snehil Tripathi,
      Thanks a lot for your valuable feedback and support.
      If you are new, Please subscribe to get updates about new videos in the following link:
      th-cam.com/users/smartprogramming
      Below are the links of all the tutorials in java :
      1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
      2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
      3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html

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

    I'm preparing for placement for technical studies I'm not pro at coding I'm beginner will ur vdos be useful to me?

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

    Hey sir, your tutorials are great ! Can you please speak 100% english ! I am not native indian so not understand all of what you are saying

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

    Sir
    Subscribe ki button middle board par hai
    Please uski jagah change kar dijiye

  • @PradipRathod-l7q
    @PradipRathod-l7q 9 วันที่ผ่านมา

    Thanks sir your

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

    Could you please tell me how to find out multiple missing number?

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

    Sir please upload videos of SQL like 2nd largest salary & 10th largest salary

    • @SmartProgramming
      @SmartProgramming  5 ปีที่แล้ว

      Hello Neha mangla,
      SQL will take some time as i have to first upload the concepts of java, sorry for inconvenience, thank you, keep learning
      If you are new, Please subscribe to get updates about new videos in the following link:
      th-cam.com/users/smartprogramming
      Below are the links of all the tutorials in java :
      1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
      2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
      3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
      4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html

  • @ThabiraGamingShorts
    @ThabiraGamingShorts 5 ปีที่แล้ว

    thank u so much deepak sir

  • @ankushsingh7838
    @ankushsingh7838 4 ปีที่แล้ว

    there is a little problem if we nos 1,2,3,5,6,7 it will give 2 as a missing no
    please solve this problem sir

  • @tiktokladies5223
    @tiktokladies5223 5 ปีที่แล้ว

    Bro do it in eclipse it will be easy to compile

  • @SaddamHussain-te8vc
    @SaddamHussain-te8vc 6 ปีที่แล้ว +4

    Please remove watermark from middle...

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

      ya, sorry, actually i forget to place the watermark in the corner and now it cannot be placed in corner.
      sorry for inconvenience. keep learning.

  • @prabhattiwari5964
    @prabhattiwari5964 3 ปีที่แล้ว

    Sir please move this subscribe icon to corner of video

  • @sidbhor12
    @sidbhor12 3 ปีที่แล้ว +3

    sir vo bich me kyu dala hai subcribe ka .dikhata nhi usse

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

    thank you🙏🙏 sir

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

    its nice
    but if i want to find two numbers what is the logic

    • @SmartProgramming
      @SmartProgramming  6 ปีที่แล้ว

      if we talk about simple algorithm then Iterate the array from 1 to n, check for every element, if it is present in an array, store it in HashMap with key as number and value as true, and if it is not present in array, store count as key and value as false, and at last print all the keys whose value is false.

    • @anushka3287
      @anushka3287 5 ปีที่แล้ว +8

      public class MissingNumber {
      public static void main(String[] args) {
      int[]ia = {1,2,4,5,7};
      for(int i =0;i

  • @yatinpandey6499
    @yatinpandey6499 3 ปีที่แล้ว

    Perfect.

  • @NoorMohammad-wt9gj
    @NoorMohammad-wt9gj 5 ปีที่แล้ว +1

    Sir Subscription bell icon white board ke bich Mai aa gaya hai usko hide kare

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

      Hello NoorTech,
      Thanks a lot for your valuable feedback and support, keep learning.
      sorry for that bell icon, that was actually mistake in video only which cannot be solved, sorry.
      Get updated to my new videos in the following link:
      th-cam.com/users/smartprogramming
      Below are the links of all the tutorials in java :
      1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
      2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
      3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html
      4. OOPs Concepts in Java : th-cam.com/video/7WhnYwoBY24/w-d-xo.html
      5. Exception Handling in Java : th-cam.com/video/y-NlcLcxiKY/w-d-xo.html

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

    sir watermark ko question pe mt rkho dekhne me problem hoti h

  • @vinit__rai
    @vinit__rai 5 ปีที่แล้ว

    nice....i m going to subscribe this..

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

    How to find the missing number in integer array of 1 to 100?.................if this array is very long or 100 then how to create this program....and i want to find multiple missing number like this(1,3,5,7,9,..............80,100)
    so how to make this program...?

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

      if you want to find missing no between 1-100, then also logic will be same.

  • @JohnWick-zc5li
    @JohnWick-zc5li 5 ปีที่แล้ว +2

    No need for watermark always present...

    • @SmartProgramming
      @SmartProgramming  5 ปีที่แล้ว

      yes, sorry, it was actually i edited in the video, not i cant remove it, sorry.

  • @engineers-blog
    @engineers-blog 6 ปีที่แล้ว +1

    //Find Missing Number In Array In Java (Hindi)
    public class FindMissingNumber2 {
    public static void main(String[] args) {
    int[] a = { 1, 2, 3, 4, 5, 7 };
    int xor1 = a[0];
    for (int i = 1; i < a.length; i++) {
    xor1 = xor1 ^ a[i];
    }
    int xor2 = 1;
    for (int i = 2; i < (a.length + 1); i++) {
    xor2 = xor2 ^ i;
    }
    System.out.println("Missing number =" + (xor1 ^ xor2));
    }
    }
    sir i m not getting exact o/p plz help me

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

      class FindMissingNo
      {
      public static void main(String[] args)
      {
      int[] a={1, 2, 3, 4, 5, 6, 7, 9, 10};
      int expected_no_elements=a.length+1;
      int total_sum=expected_no_elements*(expected_no_elements+1)/2;
      //System.out.println(total_sum);
      int sum=0;
      for(int i=0; i

  • @gadinaresh5458
    @gadinaresh5458 4 ปีที่แล้ว

    1)Write a pseudo code for missing numbers 2, 3,9,29,__,126.
    For this problem,your method is not working...please clear my doubt sir...plzzzzzzzz reply me

  • @AbhishekSingh-ht1ie
    @AbhishekSingh-ht1ie 6 ปีที่แล้ว +2

    But sir if i dnt know how much numbers are missing there then...

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

      here it is given only 1 element is missing.
      if two elements are missing then Iterate the array from 1 to n, check for every element, if it is present in an array, store it in HashMap with key as number and value as true, and if it is not present in array, store count as key and value as false, and at last print all the keys whose value is false.
      If you are new, Please subscribe to get updates about new videos in the following link:
      th-cam.com/users/smartprogramming
      Below are the links of all the tutorials in java :
      1. Java Tutorials for Beginners : th-cam.com/video/J1TPKWIPFaE/w-d-xo.html
      2. Control Statements in Java (with programs and patterns) : th-cam.com/video/OUZkdKFeuK0/w-d-xo.html
      3. Arrays in Java (With Algorithms) : th-cam.com/video/dRrjjotgniA/w-d-xo.html

    • @AbhishekSingh-ht1ie
      @AbhishekSingh-ht1ie 6 ปีที่แล้ว +1

      Ohkey sir.....but i am not newly viewer of your vedios😊😊

    • @SmartProgramming
      @SmartProgramming  6 ปีที่แล้ว

      oh, sorry.
      thank you, keep learning 🙂🙂

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

    Sir seriea ke program please

  • @gunasekhar1246
    @gunasekhar1246 5 ปีที่แล้ว

    Missing number of 1 to 100 how to write program in java pls upload bro

  • @keerthirs6863
    @keerthirs6863 5 ปีที่แล้ว

    This is not working for the elements 100,101,103,104,105 etc. What will I do?

    • @sarvodaykumar2723
      @sarvodaykumar2723 5 ปีที่แล้ว

      Sir please provide solution for above query

  • @codingkiduniya7675
    @codingkiduniya7675 4 ปีที่แล้ว

    If missing no is more than 1then

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

    👌🏻

  • @CseLecturesBySuraj
    @CseLecturesBySuraj 5 ปีที่แล้ว

    ye subscribe or press the bell icon to hata do kch nahi dikh rha uski wagh se

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

    presss the bell icon ko to hataa dete dislike............!