Find Duplicate Elements in an Array in Java (Hindi) || Using 3 Different Ways
ฝัง
- เผยแพร่เมื่อ 3 ก.ย. 2018
- #java #javatutorials #deepak #smartprogramming
☀ Java Development Course (Upto 80% off) : courses.smartprogramming.in
📞 For more details Call or What's App : +91 98887-55565
------------------------------------------------------------------------------------------
#ArraysInJava #SingleDimensionalArray #MultiDimensionalArray #java #hindi #deepak #JavaTutorials #DeepakPanwar #OnlineTraining #OnlineClasses
How to Find Duplicates Elements in Java Array? - Java Interview Questions -5,
Write java program to find duplicate elements in array in java?
14.12 How to print duplicate Elements in ArrayList in Java Tutorial,
Find duplicate element from an array in Java || Interview Program,
5 Ways to find Duplicate element in an array JAVA,
How to find duplicate elements in Array,
Find duplicate item or number in array,
How to find common elements from two arrays in java?
Java Program to Find Duplicate Elements in an Array,
Java Program To Find Duplicate Elements In An Array,
------------------------------------------------------------------------------------------
Follow Me On Social Media :-
► Website : www.smartprogramming.in
► Instagram : / smart_programming
► Facebook : / smartprogramming.india
🚩🌳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
Thank you so much for an amazing explanation... I was struggling for the solution of integers repeating more than 2 times… and finally could resolve the issue by watching your video…Thank you again.. very well explained !!!!
Sir upload callection video,and you have great teaching skills.
Sir please upload collection video because apk pdaye huy topic bhut achhe se samaj m ate hai
you are awesome never seen somebody to explain so well. can you make some tutorial on collections in detail. thanks again
Your logical program skill is super sir, but I'm Telugu man. I don't know Hindi. Why don't you teach in English..! Other states peoples are easily can understand think once sir. Your knowledge is easily spread to others through English language...👍
Thank you for helping us..great job
God Bless you for future videos and waiting for more tutorials :)
thank you, keep learning 🙂🙂
Sir आप मेरे लिये भगवान से कम नही,,बहुत अच्छा expaine करते है,,आप सदा खुस रहिये सर् ,,और ऐसे ही video upload करते रहिए।।thank you sir best of luck
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
wow sir ...... really you are a very very very very best teacher...........aap bht acche se her cheej samjhate ho ......bht explain ker ker ke ....... thankewww sir
Hey guys "To Dekho" bs...sukoon❤️...
Thankyou sir...!!!
thank you so much sir for this level of explanation.
Best way of teaching 👌👌
Yes Please update tutorial on Data structures and Collections! Big fan of your teachings!
Ok sure.
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 :
Amazon Store: www.amazon.in/shop/smartprogramming
Facebook Page : facebook.com/smartprogramming.india
Instagram Page : instagram.com/smart_programming
You teaching skill is awesome sir
you are good to explain everything in java
Please sir collection and multithreading ka pura concept upload kar dijiye.I like your teaching process ☺️☺️ so i learn more. please sir 🙏🙏.
Sir, im becoming your fan.everyday 2 videos sure as my daily routine. i have some questions and enquires please ans me.
1: please do all searching technique including hashing
2: explain about big O , and time and space complexity
3: All data structure logical implementation (optional: using library function)
waiting for your answerss....thank you :)
Thanks a lot for your valuable feedback brother.the concepts you are talking is very very important, and i will surely explain these in data structures, but it will take some time as first i have to focus on java main topics, sorry for inconvenience brother, thank you, keep learning
Real u make java simple for me to understand
Sir we give the condition tht if value is grteater than 1 then print the numbers bt if the no. Is three times in array then there value like 1,2,3 then by condition for 2 and 3 it have tobprint no. Again and again bt it is not printing that no. How it is ??
Can u please explain
Very nice explanation........all the best .Thank you sir.
Nice explanation Sir,
can you make the video for Find the the frequency of each element of array java
Very nice bro ,, helps allot for logic ,, and great logic, i want some deep learning videos for arrays also, please add
Sir... Great ho aap💛
In 3rd method why have u used Set interface while getting key and value??? Can you please tell sir??? As we have used HashMap class so it comes under Map Interface...so why Set???
Sir, can you upload...... Program to find frequency of each element in an given array of elements
thank you sir for this video such well explained. Thank you so much again
wow bro superb hash map to rat gya ab thanks a lot bro or most important questions ki ek series bhi bna do pls
thank u sir nice vidio and very helpfull for me thanks a lot sir
sir apse request hai kab ap collection ka vidio upload karenge because it is very helpfull for prepration for interview
Thankyou for being so generous with your knowledge 🙏 god bless u with all the happiness sir ☺️
Thank You so Much
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 :
Shop With Us: www.amazon.in/shop/smartprogramming
Facebook Page : facebook.com/smartprogramming.india
Instagram : instagram.com/smart_programming
Deepak sir plz upload collections. It will help for so many student s
Hello deepak sir,
Thanks a lot for this tutorial series You video explaining is superb it clear the concepts and help in thinking logic of program. Waiting for collection theory and programming videos. Please upload Asap.
Sure,
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
Hello sir thank you for your excellent explanation with due respect sir please make videos on collection
thanks for the all videos , could you upload the collection video as well
Can you explain me how this polymorphic object works?
Map hm= new HashMap() ;
Thanks Sir for your awesome videos
Thank you so much.
Thanku so much sir 😊😊😊collection se related programs K liye 😊😊u r great 😀
you are welcome, keep learning 🙂🙂
Well Done !
Hi sir,
Plz multi threading and collections xplain kare.mostly diffrent types of programs. U r teching is excellent
Hello shaik6765,
Multi threading and collections will take some more time as i have to upload sequentially, sorry for inconvenience.
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
You are great 👍 your explanation is super, anyone can understand easily 🙏
Thank you so much ☺️
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
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 :
Shop With Us: www.amazon.in/shop/smartprogramming
Facebook Page : facebook.com/smartprogramming.india
Instagram : instagram.com/smart_programming
Your app is very helpful, easy to read , and it helps me to find your video easily
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
How to print the array in ascending order after removing duplicate elements from the array?
why if(i!=j), this condition never occur (because j=i+1) ??
Sir I luvv your videos sir pls upload videos on important theory questions in java.
does map allows duplicate values to store? 3rd method is more complex
Does HashMap stores duplicate elements???
Hi Deepak sir..
Please help with program to find duplicate characters in a string using Java. Thank you.
Thank you
Thank you sir
I searched so many channels bt this channel clear my doubts
Thanks
I have problem in for loop if(me.getValue()>1) it shows that "me" cannot be resolved
U r awesome sir
You are a excellent trainer.if possible please upload videos on linklist.
Hello raghvendra tiwari,
Thanks a lot for your valuable feedback and support. linked list videos will take some time, sorry for inconvenience.
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
u are a good teacher....thank u sir
Hello thomas raphael,
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
Show less
tha nk u sir
sir plzz or videos baniye .......... collection nd data structure nd multi threading ke
Thanku sir....your video are most useful for us...
Hello Ravikiran Takale,
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
Nice to see Collections in this video. Thanks!
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
Nice one
Sir, great session. Thankyou so much..
Keep watching🤗
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
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 :
Shop With Us: www.amazon.in/shop/smartprogramming
Facebook Page : facebook.com/smartprogramming.india
Instagram : instagram.com/smart_programming
Sir maine itne jagaho se ye question seekhne ki koshish ki but aapke explanation se he samaj aya ....thank you so much :)
Keep Learning.
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
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 :
Shop With Us: www.amazon.in/shop/smartprogramming
Facebook Page : facebook.com/smartprogramming.india
Instagram : instagram.com/smart_programming
Sir..... Please make video on collections as you have mentioned in this video. It will be really helpful...
Will do soon
Sir pls also make video in advance java
Sir please say how i find count of duplicate in array
Sir plz make videos on collection s
bohat khoob sir g
hor achi achi videos upload karte raha karain
Hello Shah saaab,
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
if an Array contains 3 same element then how to find duplicate eg:-int[] array={ 2,4,2,5,2,5,5}; plz give me a solution and also upload the video on this..
Collection Ka video बनाइए plz
Sir where are you ,I hope you doing well, please upload collections and Multi-Threading videos sir please
Thank you so much sir but we need find the duplicate value in string also soo please try to make a vedio in that
Hello Hola Pasha
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?
Logic = new awesome
thanks a lot for your coding feedback 😀
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
No one:
Our beloved Deepak sir : ....TO DEKHO
Please sir solve the hackerank problems
Thanks for this video when you are adding collection video
Hello Dhananjay Chavan ,
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?
Excellent ..
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
Hi deepak.
Plz quickly create videos on collections
sure, but it will take some time as i have to first explain the OOP's concepts and interfaces, then will upload collections tutorials.
sorry for inconvenience.
thank you, keep learning 🙂🙂
thank u sir
Welcome Dear
Collection tutorials?? link please
if we don't write (i!=j ) will the prgm run fine plzz explain
Hello Shaheen Shaikh..!!
I is not equal to j is used to check weather I is repeated element or not..
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?
Sir plzz upload collections video plzzzz
Sir, please upload java collection vedios.
As soon as possible
Insert new element in array or delete element in array pr programs plz upload Sir 😊👍
thank you for your feedback, keep learning 🙂🙂
Please upload nodes and matrix programming brother🙏
Hello akshat rana,
Nodes and matrix programs will take some time, sorry for inconvenience.
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
Very useful video... Keep uploading such videos... Can you also upload logic for following program, string input= aaabbbcccdddddaabbcccddd; string output= a3b3c3d5a2b2c3d3
sure, but it will take some time as i will first try to complete all tutorials according to list i have shown in videos, otherwise schedule will get change, sorry for inconvenience.
thank you, keep learning 🙂🙂
you said
you will make an video on collections provide the link
This video is not yet uploaded. You will be notify when collections videos is uploaded.
Thanks sir for your great effort..and I want this series have to go till fully advance level... please sir... thanks
Hello MD Sameer Siddiqui,
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
can you please tell how many times a number is repeated
Map m= new HashMap();
for(Integer no:a) {
Integer count=m.get(no);
if(count== null) {
m.put(no,1);
}
else {
count =count+1;
m.put(no,count+1);
}
}
Set sm= m.entrySet();
for(Map.Entry fsm: sm ) {
if(fsm.getValue()>1) {
System.out.println("dublicate element is"+ fsm.getKey()+" "+"no of time repeated is"+(fsm.getValue()));
}
}
subscribed...
Thank You and keep learning.
Pls. Upload Collection vdo sir hi
Very soon
Sir plz upload more vedio on dsa
Sure, will upload soon.
nice one video
thank you, keep learning
Nice sir
thank you, keep learning 🙂🙂
Kindly upload Collection based video tutourial.
Sure, we are working on Collections. Will try to upload soon.
@@SmartProgramming thanks 👍
Plz sir upload collection videos
Will Upload soon
Please Make video on collections topic
Sure, Will start uploading videos from the mid of October.
Sure, Will start uploading videos from the mid of October.
Deepak babu....ddmmyyyy ka proble bataiye..
sure, thank you
Collection ke tutorials upload karo sir...
We will soon upload the videos on multithreading.
Please Upload Collection Topic Videos
Sure, will upload soon.
wap frequency count in array in java please
hello tariq ansari ,
Yes, most important questions for interview and exams
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
Sir Methods aur Constructor and OOPs Start Kardo😅
sure, after array programs OOP's concepts will be uploaded, actually i have to go sequence wise otherwise the flow of channel gets stopped, very very sorry for inconvenience, thank you, keep learning