Find Missing Number In Array In Java (Hindi)

Поделиться
HTML-код
  • Опубликовано: 18 окт 2024

Комментарии • 70

  • @SmartProgramming
    @SmartProgramming  Год назад

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

  • @alinazachia4182
    @alinazachia4182 5 лет назад +38

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

  • @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 : ruclips.net/p/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b
      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 : ruclips.net/p/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b
      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

  • @rahulkumarmishra7670
    @rahulkumarmishra7670 4 года назад +4

    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 : ruclips.net/p/PLlhM4lkb2sEhfuXL-2BDrJ67WkUdQ2v9b
      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

  • @GovindSingh-vf7ff
    @GovindSingh-vf7ff 6 лет назад +13

    sir, please remove watermark from the middle.

    • @SmartProgramming
      @SmartProgramming  6 лет назад +5

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

  • @nagamanidangeti3593
    @nagamanidangeti3593 5 лет назад +2

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

  • @saquibmohammmad9194
    @saquibmohammmad9194 2 года назад

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

  • @PradipRathod-l7q
    @PradipRathod-l7q 21 день назад

    Thanks sir your

  • @shubhangikorke1967
    @shubhangikorke1967 Год назад +2

    please sir Array and string ke program ke video create karo

  • @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 🙁

  • @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:
      ruclips.net/user/smartprogramming
      Below are the links of all the tutorials in java :
      1. Java Tutorials for Beginners : ruclips.net/video/J1TPKWIPFaE/видео.html
      2. Control Statements in Java (with programs and patterns) : ruclips.net/video/OUZkdKFeuK0/видео.html
      3. Arrays in Java (With Algorithms) : ruclips.net/video/dRrjjotgniA/видео.html

  • @kamleshprajapati6621
    @kamleshprajapati6621 5 лет назад +1

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

  • @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?

  • @mdmoinuddin6168
    @mdmoinuddin6168 2 года назад

    thank you🙏🙏 sir

  • @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

  • @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:
      ruclips.net/user/smartprogramming
      Below are the links of all the tutorials in java :
      1. Java Tutorials for Beginners : ruclips.net/video/J1TPKWIPFaE/видео.html
      2. Control Statements in Java (with programs and patterns) : ruclips.net/video/OUZkdKFeuK0/видео.html
      3. Arrays in Java (With Algorithms) : ruclips.net/video/dRrjjotgniA/видео.html
      4. OOPs Concepts in Java : ruclips.net/video/7WhnYwoBY24/видео.html?

  • @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:
      ruclips.net/user/smartprogramming
      Below are the links of all the tutorials in java :
      1. Java Tutorials for Beginners : ruclips.net/video/J1TPKWIPFaE/видео.html
      2. Control Statements in Java (with programs and patterns) : ruclips.net/video/OUZkdKFeuK0/видео.html
      3. Arrays in Java (With Algorithms) : ruclips.net/video/dRrjjotgniA/видео.html
      4. OOPs Concepts in Java : ruclips.net/video/7WhnYwoBY24/видео.html

  • @ThabiraGamingShorts
    @ThabiraGamingShorts 5 лет назад

    thank u so much deepak sir

  • @hrudayaballavsahoo2117
    @hrudayaballavsahoo2117 4 года назад +1

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

  • @prabhattiwari5964
    @prabhattiwari5964 3 года назад

    Sir please move this subscribe icon to corner of video

  • @yatinpandey6499
    @yatinpandey6499 3 года назад

    Perfect.

  • @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

  • @vinit__rai
    @vinit__rai 5 лет назад

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

  • @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

  • @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:
      ruclips.net/user/smartprogramming
      Below are the links of all the tutorials in java :
      1. Java Tutorials for Beginners : ruclips.net/video/J1TPKWIPFaE/видео.html
      2. Control Statements in Java (with programs and patterns) : ruclips.net/video/OUZkdKFeuK0/видео.html
      3. Arrays in Java (With Algorithms) : ruclips.net/video/dRrjjotgniA/видео.html
      4. OOPs Concepts in Java : ruclips.net/video/7WhnYwoBY24/видео.html
      5. Exception Handling in Java : ruclips.net/video/y-NlcLcxiKY/видео.html

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

  • @magneticmind8213
    @magneticmind8213 3 года назад +1

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

  • @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

  • @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

  • @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

  • @sidbhor12
    @sidbhor12 3 года назад +3

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

  • @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  6 лет назад +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

  • @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:
      ruclips.net/user/smartprogramming
      Below are the links of all the tutorials in java :
      1. Java Tutorials for Beginners : ruclips.net/video/J1TPKWIPFaE/видео.html
      2. Control Statements in Java (with programs and patterns) : ruclips.net/video/OUZkdKFeuK0/видео.html
      3. Arrays in Java (With Algorithms) : ruclips.net/video/dRrjjotgniA/видео.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 🙂🙂

  • @keerthirs6863
    @keerthirs6863 5 лет назад

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

  • @codingkiduniya7675
    @codingkiduniya7675 4 года назад

    If missing no is more than 1then

  • @nileshsoni97
    @nileshsoni97 6 лет назад +1

    👌🏻

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

  • @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............!