Dark

How to solve competitive questions on HackerRank 🔥 | Java Placement Course

Apni Kaksha
Subscribe
Views 129 829
97% 1 271 27

Instagram : apnikaksha (instagram.com/apnikaksha/)
Java Playlist : ruvid.net/group/PLKKfKV1b9e8ps6dD3QA5KFfHdiWj9cB1s
Hey guys, in this lecture we are going to solve one question on Hacker Rank. Sit tight and enjoy the lecture. In case you face any doubt then you can ask your doubt from "Anuj Kumar Sharma Bhaiya" in the comment section or the above Instagram handle. #java. #collegePlacement. #javaLanguage

Published on

 

Nov 27, 2019

Share:

Link:

Download:

Loading link...

Add to:

My playlist
Watch later
Comments 100
Kunal Gogna
Kunal Gogna 16 hours ago
5 ka sq 10 ni hota
Gaurav Jain
Gaurav Jain 5 days ago
give me the link to the question plz sr
C J
C J 8 days ago
Impossible to understand, accent too thick
Akash Srivastava
Akash Srivastava 11 days ago
ye aman dhattarwal ki photo kahe lga ke rakhi hai
chitranshu bhatnagar
Bhai ache se samaj aagya thank you so much!
Focus Study
Focus Study 20 days ago
Swap Karke Kia ja Sakta Hain ?
Karan Anvekar
Karan Anvekar 25 days ago
The Type - Casting is not required.
Subham Paridala
Subham Paridala Month ago
Sir, any video for hackerrank c++ questions.
Suman Kumar Sinha
Sir my branch is electrical i only study c++ in my 1st year how to crck my placement question which is tommrow please suggest me
Nidhi
Nidhi Month ago
great job
prasun kumar
prasun kumar Month ago
Good explanation sir
Tushar Manwatkar
What is time complexity
Sahil Saxena
Sahil Saxena Month ago
Special case if- 3 4 2 Max(3,3) return 3 but 4 aana chaiyey Yha ye wrong ho jyga Example arr= 1 2 3 4 1 0
Sandeep Gupta
Sandeep Gupta Month ago
What is o of n?
9024_Ritesh Kumar
9024_Ritesh Kumar 2 months ago
ye to unfair hai because 8 no. wale ko 2 candy but 9 wale ko 1 sara sar na insafi.
Mansheen Kaur
Mansheen Kaur 2 months ago
i could have never solve this ques... i have to practice a lot to approach these kind of questions
Bantai Rapper Yo Yo
Bantai Rapper Yo Yo 2 months ago
Bhai Please suggest an App Dev Course..... [May be on Udemy, Coursera or even youtube or even any book].
Abhinav prakash
Abhinav prakash 2 months ago
time complexity discuss kar dijiye
mastergekido
mastergekido 2 months ago
If you put a title in one language, you should speak in that language... English speakers will be confused by your video. Or at least put subtitles in that language.
Prashil Ganvir
Prashil Ganvir 2 months ago
Bhaiya...hme hackerRank me %d ya printf ye sb chije use krni pd he bt eclipse me hm nhi use krte the....aisa kyu...plz reply!!!!!! ⚠️⚠️⚠️
Gyanendra Pratap
Gyanendra Pratap 2 months ago
Why to go right to left...
Anand Kumar
Anand Kumar 2 months ago
mere bhai link tao daal dai hackerrank kai is question kaa descrption mai
pooja sharma
pooja sharma 2 months ago
"No coverage data has been collected during this coverage seesion please don't terminate the Java process manually from Eclipse " someone have solution for this ????? I have been suffering from this error for a week .
DAVID
DAVID 2 months ago
I think problem in your code. Buy a new laptop.
shivam kumar
shivam kumar 2 months ago
Bhai nice explanation apna ky company khol lo coding block or coding ninza se jada chlega
aqibe hassan
aqibe hassan 3 months ago
I applied the same logic but it's showing compilation error why ? Like exactly the same
Sahh Mukund
Sahh Mukund 3 months ago
Why hav u made github video private ??
Be curious
Be curious 3 months ago
bro ,why don't we consider both the neighbours once
dd 23
dd 23 3 months ago
Sir,plz clarify my doubt.What should be the time complexity required for 10 power 4.( constraints)
abhigyan chatterjee
abhigyan chatterjee 3 months ago
Sir was Math.max(c[i+1] + 1, c[i]) needed because it only enters in the condition when it's greater right so c[i] should be more than c[i+1] by 1 minimum right because we are dealing with integers.Can't we just write c[i]
Aman TyaGi
Aman TyaGi 3 months ago
Ek chij samjh nhi aa rhi hai ki editor mai Python3 select krne ke bavjood bhi python 3 concepts use krne par code run nhi ho rha why?
Mr arshu
Mr arshu 4 months ago
sir or bhi video bnao
Omkar Harade
Omkar Harade 4 months ago
what is meant by o of something
Saransh Khulbe
Saransh Khulbe 5 months ago
Bhayya ek baar hacker rank mein jo CONSTRAINTS hote hai uske according kitni TIME COMPLEXITY mein question hona chahiye ... is topic ko thoda detail mein bata do aapki hacker rank video mein dhang se smjh nhi aaya. Thoda aur detail mein bata do.
Abdul Ragib
Abdul Ragib 5 months ago
course is still incomplete
Vaibhav Vijayvargiya
If we were solving this on c++ then in place of array.fill we would have to use a for loop for filling 1 to every element right?
COC Master Vivek
COC Master Vivek 5 months ago
How tough the level can go?
Sravan V
Sravan V 5 months ago
Teach in English
Sravan V
Sravan V 2 months ago
@DAVID I learn it already
DAVID
DAVID 2 months ago
Learn Hindi
Sukriti Sachan
Sukriti Sachan 5 months ago
I have a question When we sit for placement jaise adha code yaha likha milta hackerrank me vaise milega ya fir pura khud likhna prega
DAVID
DAVID 2 months ago
aadha
MaiParamHooon
MaiParamHooon 5 months ago
bhaiya OOPS ke topic bache hui h please complete karvado
Rohit Menon
Rohit Menon 5 months ago
Please any one help. I am in 1st year 2nd semester going to finish. Now holidays due to Corona virus .I cant develop the logic of how to put the values properly and all .for eg like in pattern printing and most of the competitive problems.i dont know how to do it. What should I do. HELP.i dont know how to code
Rohit Menon
Rohit Menon 5 months ago
Please any one help. I am in 1st year 2nd semester going to finish. Now holidays due to Corona virus .I cant develop the logic of how to put the values properly and all .for eg like in pattern printing and most of the competitive problems.i dont know how to do it. What should I do. HELP.i dont know how to code
Rachit Chaurasia
Rachit Chaurasia 5 months ago
Bhaiya BST wale question bhi Bata dijiye
Yash Khandelwal
Yash Khandelwal 6 months ago
Tree or branch wale ds algo kab aaenge Or recursion jase topics par zada dhyaan dena padega
Mohak Trivedi
Mohak Trivedi 6 months ago
Please make a video on time-complexity, if possible.
Ritik Sharma
Ritik Sharma 6 months ago
Please make a vidio on time and space complexity
Ravi Kumar
Ravi Kumar 7 months ago
Bhaiya plz start a competitive programming series.
Samridh Shubham
Samridh Shubham 7 months ago
why do we take n-2 in the second loop? why not n-1?
your dad
your dad 6 months ago
Yes, he isnt a good teacher. He dont clear minor doubts. Last second number se start karna tha loop not last number, n
gaurav kumar
gaurav kumar 8 months ago
Rank batao apni.. meri around 2lakh h
Saurabh Bhardwaj
Saurabh Bhardwaj 8 months ago
Hey bro mein saurabh your's new subscriber
Sid Gandhi
Sid Gandhi 8 months ago
Bhai ye kuch log comment kar rahe h ki kotlin official language ho gyi h android development ke liye , iska matlab ye to nhi ki java use nhi hogi ab android development ke liye ? Please reply !
Sandeep N Bhandarkar
java is still the top priority along with python for android development
Vivek Agarwal
Vivek Agarwal 8 months ago
Your intention is to solve this particular this data structure problem OR in general, you would like to explain how to attempt heckerrank . Really not able to understand the intention of this video.
aman singh
aman singh 8 months ago
Sir,Data structure and algorithms kb aega
वन्दे मातरम्
Sir please is course ko bhi continue kijiye... Please 🙏🙏😟
वन्दे मातरम्
@Rohan Dubey Thanku so much rohan Bhai.... 😇😊😊
Rohan Dubey
Rohan Dubey 8 months ago
@वन्दे मातरम् same to you bhai GoodLuck
Rohan Dubey
Rohan Dubey 8 months ago
@वन्दे मातरम् bhai geek for geeks pe java ke Backend Part-1 and Part-2 Course mil jaayenge ....but fees jyada hai ....agar financially weak nhi ho toh wha se aap kr sakte ho .....yaa Coding Ninja delhi mai ..online course offer krti but fees jyada ...agar sasta course lena hai toh.....Udemy se kr sakte ho www.udemy.com/course/java-the-complete-java-developer-course/ ( 80 Hours video) .....yaa Coursera ( Paid hai if u want Certificate )
वन्दे मातरम्
@Rohan Dubey Best of Luck Brother . Aap apne jivan mai khuubb tarakki karo...☺😊
वन्दे मातरम्
@Rohan Dubey Mera bhi 4th sem start hone waala hai btech ka mujhe inpar bharosa tha par ab koi dusra raajya nikaalna hoga. Bhai u are so lucky ki aap indore se ho kyuki jaha se mai hu waha to normal coachings itte hi paise leke only basics hi sikhati hai. 😔😢😢
Prabhat Gaurav
Prabhat Gaurav 8 months ago
Bro pls be regular
Prabhat Gaurav
Prabhat Gaurav 8 months ago
Bhai next video lab aayega
Yash Khatri
Yash Khatri 8 months ago
When will this series resume?
Rohan Dubey
Rohan Dubey 8 months ago
bhai channel jab banaya toh promise kra ki 4 mahine mai pura Ds + Algo hojayega but ghanta ho jaayega inki wajah se coaching join nhi kri ki promise kiya ki 4 mahine mai ho jaayega but....chutiya banaa rahe yaar yeh ......jo abhi tak bataya usme bhi pura core java nhi kraya u know what Collecetion Framework bhot wide topic hai plus java 8 feature ( Lambda Expression ) he not teach till .....& many more Advance java toh bhul jao
Apni pathsala &tech
Apni pathsala &tech 8 months ago
Ab iska aur video nhi ayega kya bhaiya
BAKCHOD DEVTA
BAKCHOD DEVTA 8 months ago
Bhai ab videos aayegi ya nhi
Rohit Patil
Rohit Patil 8 months ago
Is the course completed???
Stella Kim
Stella Kim 8 months ago
Is java course completed now
Ashirvad Satapathy
Ashirvad Satapathy 8 months ago
Respect🙂
mayank grover
mayank grover 8 months ago
Guys who are asking for java cource.. Anuj sir is not well he'll be back soon..
31 Abhishek Pandey
31 Abhishek Pandey 9 months ago
When this course will get continued?
Rohan Dubey
Rohan Dubey 8 months ago
bhai channel jab banaya toh promise kra ki 4 mahine mai pura Ds + Algo hojayega but ghanta ho jaayega inki wajah se coaching join nhi kri ki promise kiya ki 4 mahine mai ho jaayega but....chutiya banaa rahe yaar yeh ......jo abhi tak bataya usme bhi pura core java nhi kraya u know what Collecetion Framework bhot wide topic hai plus java 8 feature ( Lambda Expression ) he not teach till .....& many more Advance java toh bhul jao
Rishav B
Rishav B 9 months ago
Ap kab khatam karoge January se company ana start ho jayga.. please bhaiya jaldi java course khatam karo please😭😭😭😭😭....
Motivate4u
Motivate4u 9 months ago
bhaiya next video kab ayega
jaap kaur
jaap kaur 9 months ago
Bhaiya next videos kb aaegi Java course end bhi krvado pls
anubhav verma
anubhav verma 9 months ago
Bhaiya videos dalo na regularly
Yash Khatri
Yash Khatri 9 months ago
Sir kab resume hogi playlist. Please course khtm krwayiye.
techvideos
techvideos 9 months ago
You could have used a double linked list and traverse two times. It would have been easier to implement your logic
suman prasad
suman prasad 9 months ago
Bhaiya C++ with DS ka full tutorial kb ayega
Abhishek Verma
Abhishek Verma 9 months ago
Very very nice and informative video. Thanks for uploading such a knowledgeable video. I am looking for this type of video, which make me able to start competitive programming. Please make more videos, these are very helpful for everyone. And by this you will also get so many views and follwers also the way you explained the problem, makes problem much simpler and easy. Not everyone has such talent. So please upload as much video as you can, which helps all student and it also helps your channel tremendously.
Cricket20 live
Cricket20 live 23 days ago
I have course of competitive programming and complete interview preparation of geeksofgeeks and Dsa begginer to advance, get it with me at very low cost, i just purchased it, if you want to share it then msg me at my insta :- rajuw892
Trisha S
Trisha S 9 months ago
Sir please do teach us in English...It will be more helpful ..
Rahul jangir
Rahul jangir 9 months ago
Video banana band kyo kr diya please banao na aage 🙏🙏🙏🙏🙏
Pradeep Kumar Mahato
Bhaiya course kab tak complete hogi?
hemant singh
hemant singh 9 months ago
Bhaiya java ki series continue kriye please
ASHISH CHIDHAVA
ASHISH CHIDHAVA 9 months ago
Sir please continue java series
ASHISH CHIDHAVA
ASHISH CHIDHAVA 9 months ago
Sir new video kab aayegi
ankur.singhs
ankur.singhs 9 months ago
Is Java course finished ?
Aditya Suryavanshi
Aditya Suryavanshi 9 months ago
sir can you please tell us when will the lectures on data structure and algorithm will get start.
Lakshit singh zala
Lakshit singh zala 2 months ago
@Aditya Suryavanshi bro thank you batane ke liye mujhe mil gya ab. Thanks a lot😃😃😃 Bro tumhara ds algo bhi thik se hi gya kya
Aditya Suryavanshi
Aditya Suryavanshi 2 months ago
@Lakshit singh zala bhai ho skta h vo na mile jo chaiye ho to Google p jo course chaiye uska nam bagal m torrent likh dena ... Jese java full tutorial torrent.. to jo bhi torrent ka link hoga vo aa jayega
Lakshit singh zala
Lakshit singh zala 2 months ago
@Aditya Suryavanshi bro meme dekha isme sare udemy ke course nhi hai. Atleast vo toh nhi hai jo meko chahiye 😩
Aditya Suryavanshi
Aditya Suryavanshi 8 months ago
@Rohan Dubey Bhai tutorialsplanet ye ek site h udemy course download krne k liye vha s download kr lena
Rohan Dubey
Rohan Dubey 8 months ago
@Aditya Suryavanshi yes yes coaching 20 january se ....but yaar bhai Torrent toh Banned haina india mai toh fir kaise Download hoga
hemant singh
hemant singh 9 months ago
Bhaiya java wali series continue kro please
Rohit Singhal
Rohit Singhal 9 months ago
bhaiya next video upload kar dijiye pls
Vaneet Kumar
Vaneet Kumar 9 months ago
agli videos kab aayegi
Sanket Bhagat
Sanket Bhagat 9 months ago
Bhiya please upload next videos..... 😫🙏🙏💓😫🙏🙏💓
Arun Kumar
Arun Kumar 9 months ago
Bhaiya next video banaiye 💕
041_Harsh Vardhan Srivastava
Sir , plz continue DS!!
Cricket20 live
Cricket20 live 23 days ago
I have course of competitive programming and complete interview preparation of geeksofgeeks and Dsa begginer to advance, get it with me at very low cost, i just purchased it, if you want to share it then msg me at my insta :- rajuw892
Aritra Chatterjee
Aritra Chatterjee 9 months ago
It's been over 20 days a video on Java is been unloaded..... Plz make it fast. Thank you!
mayank grover
mayank grover 8 months ago
@shehbaz khan chlo bhai krlo wait aur 3 videos bki hai uske baad toh java continue ho jayegi
shehbaz khan
shehbaz khan 8 months ago
@mayank grover no he is making python videos
Akshay Fichadia
Akshay Fichadia 8 months ago
Bhai Pls continue java
mayank grover
mayank grover 8 months ago
@srishti das anuj sir is not fine... He'll be back soon
srishti das
srishti das 8 months ago
Nd now it's been 1 month
AMMAR ANJUM
AMMAR ANJUM 9 months ago
Sir pls upload this type of video where we can gather many concept and method..,,
ankur.singhs
ankur.singhs 9 months ago
Why you stoped this Java Series ?
Nirmal
Nirmal 9 months ago
bhaiya please upload Next Videos Apna bola tha week main 2 video ayga
TUSHAR KANSAL
TUSHAR KANSAL 9 months ago
Yar bhaiya jb apne ye start kiya tha course to apne kha tha ki 3 mahine ka course 3 mahine kbke ho gye abhi tk java complete ni hui ds bhi h ur apptitude bhi kha tha Yar badi badi bate bol thi tb aapne plz speed bhadao apni ur video dalo contiously jisse log dekhe aapki video vrna fir vo ur khi na chle jaenge bhut video padi h youtube pr
Rohan Dubey
Rohan Dubey 8 months ago
bhai channel jab banaya toh promise kra ki 4 mahine mai pura Ds + Algo hojayega but ghanta ho jaayega inki wajah se coaching join nhi kri ki promise kiya ki 4 mahine mai ho jaayega but....chutiya banaa rahe yaar yeh ......jo abhi tak bataya usme bhi pura core java nhi kraya u know what Collecetion Framework bhot wide topic hai plus java 8 feature ( Lambda Expression ) he not teach till .....& many more Advance java toh bhul jao
Abhishek Meena
Abhishek Meena 9 months ago
next video kaab aaigi bhaiya
baidyanath panda
baidyanath panda 9 months ago
Interesting. Arrays.fill I didn't know
Anurag Sindhu
Anurag Sindhu 9 months ago
www.hackerrank.com/challenges/candies/problem?h_r=internal-search
Ritik Gupta
Ritik Gupta 9 months ago
Bhaiya iske aage bhi aur concepts aur topics hai. Unke uppar bhi videos banaiye na. Please. Ye session aadhe me hi ruk gya hai. We're in the middle of the course.
Shahbaz Ainarkar
Shahbaz Ainarkar 9 months ago
Error occurred during initialization of boot layer java.lang.LayerInstantiationException: Package jdk.internal.jimage.decompressor in both module java.base and module jrt.fs can you give solution to this error please
Rishabh
Rishabh 9 months ago
Hi please suggest better options after comp engg graduation 1. Should continue with job? 2. MBA, if yes then in which part for CS guys? 3. MTech, MS foreign university? Which of these would be very effective to go with???
Rohit Mittal
Rohit Mittal 9 months ago
please keep uploading videos of this series. it is very good and useful as well.
Prvz Abbas
Prvz Abbas 9 months ago
Anush Bhai ... Plz StringBuffer Py Video Banawo Uski Samjh Nhe Ati Sahe Sa
Harshit Atri
Harshit Atri 9 months ago
when will ds and algo start?
Rohan Dubey
Rohan Dubey 8 months ago
bhai channel jab banaya toh promise kra ki 4 mahine mai pura Ds + Algo hojayega but ghanta ho jaayega inki wajah se coaching join nhi kri ki promise kiya ki 4 mahine mai ho jaayega but....chutiya banaa rahe yaar yeh ......jo abhi tak bataya usme bhi pura core java nhi kraya u know what Collecetion Framework bhot wide topic hai plus java 8 feature ( Lambda Expression ) he not teach till .....& many more Advance java toh bhul jao
Tanvirhaider Rizvi
Tanvirhaider Rizvi 9 months ago
Bhai java ki videos upload krein plz!
Next videos