Who the heck dislikes this😑. Thanks a lot for the efforts Kunal! Really appreciate it. The series has made me switch from Netflix to studying DSA 😂it's so addictive
@@KunalKushwaha this frequency of posting tutorials every alternate day is much better than posting every day as it gives us time to practice properly instead of rushing to keep up with you
@@davs2002 He already mentioned that he'll upload all videos and it will be self paced. Most of us here are in final year and want to brush up all concepts clear before the placements starts so it'll be better if he uploads 1 video everyday. Also you can watch videos alternate days and practice in between 😀
# GOD Of DSA Hi I am a 11yr exp java guy was searching for some free course on youtube for DSA came accross your course and i just feel love in it...all in one place that too with java...i must say you have done very awsome work...your name will be there on this earth as long as DSA will be asked in interviews...May Supream Lord Vishnu Bless You..✌🙏
All of your videos from basic to advanced are unavoidable due to your super smart style of teaching. It's a gift for many of us beginner or experienced who so ever I believe.
@@KunalKushwaha one biggest plus point in all your teachings , you are successfully able to generate interest on such difficult topics like DSA of folks watching these videos in a true sense
Many thanks, Kunal! 🤛 This lesson was a good opportunity for me to practice loops and conditions. Something that for many more experienced developers surely is daily business. I try to make it a habit to first write the pseudo code and the flowchart for the assignments and then I go over to code the solution in Java, JavaScript and Go. This takes a ton of time, but this way the stuff sticks in my old brain. I appreciate your contribution to free education. 🤝
Hey Kunal! Don't feel pressurized coz of the comments asking for more videos. The frequency and quality of your video is awesome! Cheers and take ur time! Thanks a lot for this commitment ;))
If I could, I would write this in every video: nobody dedicated so much on the internet to teach such complex subjects in a clear, crystal-clear manner, besides the amazing quality. And tks for teaching in English, I am a native Portuguese speaker and I have English as a second language, however, most of the good videos are available in Hindi and have no translation to English. Tk you forever!! (I have you as a reference in terms of learning, better than all my professor in computer science college adding altogether)
noone could teach as better as kunal sir,mean my words guys this is the most understanding and easy explained coarse just follow the assignments question to build more confidence ,and see the result after a month that the level is increased,i highly appreciate this work done by kunal sir i wish i could meet and thanks for all this.
My god I'm amazed by the way u give us the way to build logic for problem-solving, thanks Kunal, never seen such an amazing playlist ever before, thanks, man!
52:43 Even if you print the rem variable the answer will be the same i.e. reverse of that num, all you need to do is initialize the rem variable outside the while loop. THANK YOU for a clear explanation
I am enjoying the series by Kunal, literally binge watching this Kunal playlist. I tried to modify the calculator program here and added just a few logic: import java.util.Scanner; public class Calculator { public static void main(String[] args) { // The calculator program tutorial by Kunal; Scanner input = new Scanner(System.in); // takes in user input // Calculation logic. // should be a loop while (true) { System.out.println("Enter the operator to use "); // takes the operand we'll be using char op = input.next().trim().charAt(0); if (op == '+' || op == '-' || op == '/'|| op == '*' || op == '%'){ System.out.println("Enter the 2 numbers to use "); int res = 0; int num1 = input.nextInt(); int num2 = input.nextInt(); boolean validCalculation = true; if (op == '+') { res = num1 + num2; } else if (op == '-') { res = num1 - num2; } else if (op == '/') { // But we cant divide a number by 0, it will throw an error. if (num2 != 0) { res = num1 / num2; } else { System.out.println("Hey there, this is not valid as it will return infinity"); validCalculation = false; } } else if (op == '*') { res = num1 * num2; } else if (op == '%') { if ( num2 != 0) { res = num1 % num2; } else { System.out.println("Hey there, this is will result to an error, cant have this"); validCalculation = false; } } if (validCalculation){ System.out.println("Your result is " +res); } } else if ( op == 'x' || op == 'X') { break; } else { System.out.println("Invalid Operator"); } } } }
@@KunalKushwaha are na na i didnt mean like that i just meant such is the quality of the content.. it makes waiting worth it😅.. sorry if i choose the wrong words
Bhai CIVO channel p v deveops ka bootcamp mein padha rhe h aur twitch p v Opensource(MLH) k liye kl podcast kiye the...so if you are interested in these, you may follow these videos.
@KunalKushwaha 52:09 why we are adding the numbers but we can simply do ...... public class reversingNumber { public static void main(String[] args){ int n = 28479; while (n>0){ int x = n%10; System.out.print(x); n = n/10; } } }
For 52:00 Question No.5(Reverse a No.) , I have a more easier method:- public class ReverseMyNumber { Public static void main(String... args) { int n=28479; while(n>0) { int rem= n%10; Sytem.out.print(rem); n=n/10; } } } Make sure to write "print" instead of "println" in the output printing statement.
kunal bhaiya i know you must be busy but adding a lecture of you doing an open source project using what we have learnt so far in this course will make it absolutely complete because what most of us lack is implementation and it'd mean the world to us if you'd think about it. Thank you for everything
at 50:59 we can use print without multiplying with 10 public class reverse { public static void main(String[] args) { int a=83574; int nxt=0; while(a>0) { int mod=a%10; nxt=mod; System.out.print(nxt); a=a/10; } } } it's output is 47538 !!!!!
I love your answer, my solution was: //Q: Reverse the given integar int n = 16674; String numStore = "";
while(n > 0){ int last = n % 10; String lastString = Integer.toString(last); numStore += lastString; n /= 10; } int numInt = Integer.parseInt(numStore);
Quite heavy for a beginner. Since, I'm an intermediate I understood how programs are literally working. Thanks to the debugging feature, which is a lifesaver! And, it's great that Kunal sir is making us practice many yet hard questions in the video itself. (24/09/24 12:45am)
Q1 : using operators //Q:find maximum of three numbers int max = a; if (b> max && b > c){ System.out.println("The maximum number is : " + b); }else { System.out.println("The maximum number is : " + c); } }
at 51:40 we do not need to multiply and add simply find remainder and print without using printl.. for eg: System.out.println("enter number:"); Scanner scn=new Scanner(System.in); int n=scn.nextInt(); while(n!=0){ int temp=n%10; System.out.print(temp); n=n/10;
i have one more solution for largest number:- import java.util.Scanner; public class temp { public static void main(String[] args) { Scanner value = new Scanner(System.in); int a = value.nextInt(); int b = value.nextInt(); int c = value.nextInt(); if(a>b){ System.out.println(a); } if(b>c){ System.out.println(b); } if(c>a){ System.out.println(c); } } } in this one is used the cyclic order of a>b>c or c>a>b or b>c>a
Seriously, very helpful, i am able to think and execute logics on my own. You are just amazing. 47:00: Try this : public class CountNums { public static void main(String[] args) { String str = "12343"; int count = 0; for (int i = 0; i < str.length(); i++) { char c = str.charAt(i); if (c == '3') { count++; } } System.out.println(count); } }
In the Video at the instance 6:24 , if we run the program only the first if condition is running , else if will not run ... for that i would suggest everybody to write 20000 in the if condition and 10000 in else if condition. Example: import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); int salary = input.nextInt(); if (salary > 20000){ salary += 3000; //salary=salary+3000 } else if (salary > 10000) { salary += 2000; //salary=salary+2000 } else { salary += 1000; //salary=salary+1000 } System.out.println(salary); } }
Hi Would you please share the code on how you used the if, else if and else statements. I have been trying to use the conditional statements for the past hour but the program is not being executed properly
for fibonacci series, taking 0 as 1st position, import java.util.Scanner; public class Fibo { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int a = 0; int b = 1; int count = 2; System.out.println(a); System.out.println(b); while (count
HI! Great series In fibonacci series there is one missing condition as n=0 it will give 1 --as per video code so there should be an if-else at end so that if n=0 if will give 0 only. plz have a look on it.
In the Video at the instance 34:00 , if we run the program only the first if we enter a valid alphabet then it will show whether it's uppercase or lowercase, but if we right any number it gives output as a Uppercase. correct code : import java.util.Scanner; public class CaseCheck { public static void main(String[] args) { Scanner input = new Scanner(System.in); char ch = input.next().trim().charAt(0); // check wether it's upper case or lower case // && and // || or if(ch >='a' && ch = 'A' && ch
Bro I was planning to buy course of DSA JAVA from coding ninja and suddenly i searched on RUclips and start playing your videos .Now i am addicted to your channel.Thank you for uploading these quality course,you saved my money.❤❤❤
public class fibo { public static void main(String[] args) { int a=0; int b=1; System.out.println(a); System.out.println(b); for (int i = 0; i < 8; i++) { int c=a+b; System.out.println(c); a=b; b=c; } } }
Hi Kunal your work is amazing ...I've been working since last 7yrs in IT but I never know how to reverse number & Fibonacci series logic I was just remembering it as I never understood it Thanks brother seriously.
Addictive series seriously I am working professional have time issue in the working day but once I play your video can't leave without completing video
@@somuacharya6586 yes brother unfortunately it matters I think as I have seen max 2 to 3 year gap allows depending on company until you have exceptional skills.
@@somuacharya6586 brother never feel demotivated about your gaps just be ready to answer genuinely about . now comes to what to do part I'm not perfect one to give you any path but in my understanding you enough time to do anything as you are in college just learn java as you are from tire 3 learn DSA have some problem solving ability just to kunals course is hona help you totally don't looke for other things .. then you should learn development by choosing anything web development or mobile app development.. I know there are so many things AI and all but I would say intially don't go for that as I have made mistake only few opportunities are there for guys who is just graduated and have average skills .. so if you choose web development master HTML CSS Java Script and React framework make so many great project now one is going to stop you getting a job ASAP.
// 51:55 if we input 53210, Your solution ignores 0! output: 1235 // Another approach for reverse a number using String. public static void main(String[] args){ int n = 53210; String rev = ""; while (n > 0){ int num = n%10; rev = rev + num; n = n/10; } System.out.println(rev); } output: 01235
the reverse q. can be done more easily if you use it like this int a = 1651654; while(a>0) { int rem = a%10; if(a>0) { System.out.print(rem); } a=a/10;
In those multiple if else statements , if salary >10000 and if salary>20000 are intersecting ones. Eg: Let salary be 11000 , then according to the code it should give 13000 , which it will give . But if you put salary> 20000 , for eg : salary= 22000 , it will not give us 25000 , but we will get the output as 24000. I know its nothing but its bit confusing for me so I thought i should comment so that a newbie wont get confused. Keep on going like this Kunal.
Thank you so much! I was actually looking for this comment. What is the solution to this? Is it putting greater than 10k and less than 20k in the first if statement?
I used this approach to reverse the number and its nicely working You can also check it out public class reverse { public static void main(String[] args) { int n = 2354735; int count = 0; while(n>0) { int rem = n % 10; count++; n = n / 10; System.out.print(rem); } } }
kunal can you please also start open source guide because many of us have completed a major portion of the basics and would like to get experience in open source. I know you are working very hard for us and you are busy with everything. but it would be great help if you just started somethings with open source also. please . I appreciate the hard work you are doing for the community.
Hi How's this playlist as m about to start but don't have time to explore then decide Already in 6 th so can u plz tell how's this playlist going on till now ?
Heyy Kunal!!! I read the comments!!!...They Just wanna tell you to post the videos early as soon as possible...As you started video on gaming...But they addicted with your java content and your confidence to do it...I am too addicted and wants you to post more Get Likes Comments and subscription....Glad to seee you ...Here again...Love you❤
DSA + interview preparation playlist: ruclips.net/p/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
This is actually THE MOST premium course in the World!
I think now everyone can see the Beauty of Java.
This course is very structured. Many tutorials explain concepts but ignore problem solving . Thank you kunal for this course
Who the heck dislikes this😑. Thanks a lot for the efforts Kunal! Really appreciate it. The series has made me switch from Netflix to studying DSA 😂it's so addictive
cfc members 😂
@@aryansharma4775 Damn!😂🙏
Paid classes teachers was disliked this videos 😂😂😂
This Java DSA Series is so Addictive 😍
Thank You!
@@KunalKushwaha this frequency of posting tutorials every alternate day is much better than posting every day as it gives us time to practice properly instead of rushing to keep up with you
@@davs2002 He already mentioned that he'll upload all videos and it will be self paced. Most of us here are in final year and want to brush up all concepts clear before the placements starts so it'll be better if he uploads 1 video everyday.
Also you can watch videos alternate days and practice in between 😀
@@davs2002 bhai terko alternative day mei dekhni hai tho dekh sakta hai...par humare pass jada time nehi hai
@@uncalledbrake603 I am still in 2nd Sem 😀
Solving any problem flawlessly and with so ease. Wow! Your my new teacher. thanks for your simple and detailed teaching.
# GOD Of DSA
Hi I am a 11yr exp java guy was searching for some free course on youtube for DSA came accross your course and i just feel love in it...all in one place that too with java...i must say you have done very awsome work...your name will be there on this earth as long as DSA will be asked in interviews...May Supream Lord Vishnu Bless You..✌🙏
Hi Shubham, which tech stack are you working now?
Favorite Line from all the lectures is: Very Simple Stuff
I haven't seen.. Anyone teach better..than u Really.. Awsm..
All of your videos from basic to advanced are unavoidable due to your super smart style of teaching. It's a gift for many of us beginner or experienced who so ever I believe.
You're very welcome!
@@KunalKushwaha one biggest plus point in all your teachings , you are successfully able to generate interest on such difficult topics like DSA of folks watching these videos in a true sense
kunal, you have no idea how much this course is boosting my confidence....i wish one day i could meet you and thank you personally....
Many thanks, Kunal! 🤛 This lesson was a good opportunity for me to practice loops and conditions. Something that for many more experienced developers surely is daily business. I try to make it a habit to first write the pseudo code and the flowchart for the assignments and then I go over to code the solution in Java, JavaScript and Go. This takes a ton of time, but this way the stuff sticks in my old brain. I appreciate your contribution to free education. 🤝
Wonderful!
Learning DSA has never been this much fun.
Bhaiya isme java language basics se padhai hai kya kyuki Mai beginner hu please reply
@@Siddharth3029 yes. its covering from the basics. go for it
Can u pls tell from where did u cover the topics mentioned
One of the best tutorials so far in RUclips (Java). Thank you Kunal
Really appreciate your effort 6 videos in 6 days really excited to learn from you.
Hey Kunal! Don't feel pressurized coz of the comments asking for more videos. The frequency and quality of your video is awesome! Cheers and take ur time! Thanks a lot for this commitment ;))
this comment should get a 💖
Bhaiya isme java language basics se padhai hai kya kyuki Mai beginner hu please reply
@@Siddharth3029 yes
If I could, I would write this in every video: nobody dedicated so much on the internet to teach such complex subjects in a clear, crystal-clear manner, besides the amazing quality. And tks for teaching in English, I am a native Portuguese speaker and I have English as a second language, however, most of the good videos are available in Hindi and have no translation to English. Tk you forever!!
(I have you as a reference in terms of learning, better than all my professor in computer science college adding altogether)
Thank you
@@KunalKushwaha bhyia pls continue DSA series you're much much much better than those paid courses
@@harishrajwani3697 bhai kunal bhaiya ne dsa series complete kiyi to best series hogi
noone could teach as better as kunal sir,mean my words guys this is the most understanding and easy explained coarse just follow the assignments question to build more confidence ,and see the result after a month that the level is increased,i highly appreciate this work done by kunal sir i wish i could meet and thanks for all this.
Dont't worry ! I am with you
I never stick onto RUclips lectures series for a long time. But this one has my ❤️
Hey seriously I am not getting anything what he is teaching but I completely want to learn what should I do. I don't know anything about coding.
@@iUtkarsh21 first learn C or C++ then you will understand , I also didn't understand anything but after learning C I can understand most of it.
no learn from durga sir no need of c i never learnt it @lakshaydahiya618 @I@@iUtkarsh21
My god I'm amazed by the way u give us the way to build logic for problem-solving, thanks Kunal, never seen such an amazing playlist ever before, thanks, man!
honestly speaking, i m in 2nd yr, and this is the first time i could understand while loop, kudos man u r greattt
same here vroo....
Then how did you make it to 2nd year, if you don't even know basic loops 😂
I literally just started this series and Oh my God this is pure gold!!,...thank you so much for simplifying everything for us
52:43 Even if you print the rem variable the answer will be the same i.e. reverse of that num, all you need to do is initialize the rem variable outside the while loop. THANK YOU for a clear explanation
Even my proffessor won't teach like that you.Great man kudos to you.
You are the best Programmer explaining DSA such a unique way in Java. I absolutely loved it!!!
I am enjoying the series by Kunal, literally binge watching this Kunal playlist. I tried to modify the calculator program here and added just a few logic: import java.util.Scanner;
public class Calculator {
public static void main(String[] args) {
// The calculator program tutorial by Kunal;
Scanner input = new Scanner(System.in); // takes in user input
// Calculation logic.
// should be a loop
while (true) {
System.out.println("Enter the operator to use ");
// takes the operand we'll be using
char op = input.next().trim().charAt(0);
if (op == '+' || op == '-' || op == '/'|| op == '*' || op == '%'){
System.out.println("Enter the 2 numbers to use ");
int res = 0;
int num1 = input.nextInt();
int num2 = input.nextInt();
boolean validCalculation = true;
if (op == '+') {
res = num1 + num2;
} else if (op == '-') {
res = num1 - num2;
} else if (op == '/') {
// But we cant divide a number by 0, it will throw an error.
if (num2 != 0) {
res = num1 / num2;
} else {
System.out.println("Hey there, this is not valid as it will return infinity");
validCalculation = false;
}
} else if (op == '*') {
res = num1 * num2;
} else if (op == '%') {
if ( num2 != 0) {
res = num1 % num2;
} else {
System.out.println("Hey there, this is will result to an error, cant have this");
validCalculation = false;
}
}
if (validCalculation){
System.out.println("Your result is " +res);
}
} else if ( op == 'x' || op == 'X') {
break;
} else {
System.out.println("Invalid Operator");
}
}
}
}
Awesomeeee🔥 i am literally addicted to this series.. this 2 day gap felt like a lifetime😂..
I uploaded 6 videos in 6 days what else do you want?
@@KunalKushwaha May be he is the one who already know basics 😁
@@KunalKushwaha are na na i didnt mean like that i just meant such is the quality of the content.. it makes waiting worth it😅.. sorry if i choose the wrong words
Bhai CIVO channel p v deveops ka bootcamp mein padha rhe h aur twitch p v Opensource(MLH) k liye kl podcast kiye the...so if you are interested in these, you may follow these videos.
More videos!!!
@KunalKushwaha 52:09 why we are adding the numbers but we can simply do ......
public class reversingNumber {
public static void main(String[] args){
int n = 28479;
while (n>0){
int x = n%10;
System.out.print(x);
n = n/10;
}
}
}
Kunal Sir, please continue the series. It would help all of us a lot 🤞🏻The quality you provide is unmatchable. 💥
For 52:00 Question No.5(Reverse a No.) , I have a more easier method:-
public class ReverseMyNumber
{
Public static void main(String... args)
{
int n=28479;
while(n>0)
{
int rem= n%10;
Sytem.out.print(rem);
n=n/10;
}
}
}
Make sure to write "print" instead of "println" in the output printing statement.
that program will be easier for paindrome too it works for both
same thought bro!
kunal bhaiya i know you must be busy but adding a lecture of you doing an open source project using what we have learnt so far in this course will make it absolutely complete because what most of us lack is implementation and it'd mean the world to us if you'd think about it. Thank you for everything
+1
@@iqbalfirdousi9732 +2
+3 totally !!!
fr
Such a great course , I can't stop myself playing next lectures ...doing it one by one
this course is in very detail for begginers
and covers all important concepts
This man has removed the fear of java from my mind!
at 50:59 we can use print without multiplying with 10
public class reverse {
public static void main(String[] args) {
int a=83574;
int nxt=0;
while(a>0)
{
int mod=a%10;
nxt=mod;
System.out.print(nxt);
a=a/10;
}
}
}
it's output is 47538 !!!!!
I love your answer, my solution was: //Q: Reverse the given integar
int n = 16674;
String numStore = "";
while(n > 0){
int last = n % 10;
String lastString = Integer.toString(last);
numStore += lastString;
n /= 10;
}
int numInt = Integer.parseInt(numStore);
System.out.println(numInt);
Such high quality material is illegal to stay free. It feels so good to see you do such a community service to us.
51:57 another method to solve this is ,,
class Main {
public static void main(String[] args) {
long n = 198451318728144l;
long rev = 0;
while(rev
Thanks a lot for such kindness where u r teaching DSA and not charging any penny...
Quite heavy for a beginner. Since, I'm an intermediate I understood how programs are literally working. Thanks to the debugging feature, which is a lifesaver! And, it's great that Kunal sir is making us practice many yet hard questions in the video itself. (24/09/24 12:45am)
One of the best. This will make pro. Kunal kudos
Every one can teach but no one teach like you 🥰🥰🥰
Waiting for your next video 😍😍🥰
Q1 : using operators //Q:find maximum of three numbers
int max = a;
if (b> max && b > c){
System.out.println("The maximum number is : " + b);
}else {
System.out.println("The maximum number is : " + c);
}
}
Java DSA ...U MADE THE TOUGH ONE SO EASY . Hats off
at 51:40 we do not need to multiply and add simply find remainder and print without using printl..
for eg: System.out.println("enter number:");
Scanner scn=new Scanner(System.in);
int n=scn.nextInt();
while(n!=0){
int temp=n%10;
System.out.print(temp);
n=n/10;
How do we evaluate our assignments. Are there assignment solutions available. please let me know.
both the ways are fine !! but creating a different variable that stores the reverse value will help later in palindrome questions.
Its great DSA course ever, first time coding seems interesting😍
i have one more solution for largest number:-
import java.util.Scanner;
public class temp {
public static void main(String[] args) {
Scanner value = new Scanner(System.in);
int a = value.nextInt();
int b = value.nextInt();
int c = value.nextInt();
if(a>b){
System.out.println(a);
}
if(b>c){
System.out.println(b);
}
if(c>a){
System.out.println(c);
}
}
}
in this one is used the cyclic order of a>b>c or c>a>b or b>c>a
Thank you kunal for the amazing lecture❤❤
Seriously, very helpful, i am able to think and execute logics on my own.
You are just amazing.
47:00:
Try this :
public class CountNums {
public static void main(String[] args) {
String str = "12343";
int count = 0;
for (int i = 0; i < str.length(); i++) {
char c = str.charAt(i);
if (c == '3') {
count++;
}
}
System.out.println(count);
}
}
This is the best lecture series so far.. Thankyou!
You're very welcome!
Thanks for the wonderful lectures, theres not even a single day I skipped your lectures from the past week.
Glad you like them!
Take precautions before watching this course
You will be addicted to this DSA course and fall in love with DSA 😄😆💯
This is the best way of teaching.
You are really talented and you know how to teach others. Glad I found your channel to learn DSA. Thanks Kunal!
Bhaiya isme java language basics se padhai hai kya kyuki Mai beginner hu please reply
@@Siddharth3029brother kya tumne yeh start kia?
@@dherya__rakho nahi mai devlop sikh rahu hu abhi baad me dsa karunga
@@Siddharth3029 web dev? But why.... Agar tum Java pehle karte toh tumhe baad mei web d mei bhi asaani hoti
Thanks for saving my career and my money... thanks🙏
You’re welcome
In the Video at the instance 6:24 , if we run the program only the first if condition is running , else if will not run ... for that i would suggest everybody to write 20000 in the if condition and 10000 in else if condition.
Example:
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int salary = input.nextInt();
if (salary > 20000){
salary += 3000; //salary=salary+3000
} else if (salary > 10000) {
salary += 2000; //salary=salary+2000
}
else {
salary += 1000; //salary=salary+1000
}
System.out.println(salary);
}
}
You are the best..... Kunal sir..❤❤
Thanku so much for this course ❤ I'm preparing for my interview from your series😊
23:46 your solution is very good. I used if, else if, and else to solve but you wrote using max. Never thought of that
Hi
Would you please share the code on how you used the if, else if and else statements. I have been trying to use the conditional statements for the past hour but the program is not being executed properly
Good stuff 👍 Kunal . This series is gonna be great . Excited or what!
for fibonacci series,
taking 0 as 1st position,
import java.util.Scanner;
public class Fibo {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int n = in.nextInt();
int a = 0;
int b = 1;
int count = 2;
System.out.println(a);
System.out.println(b);
while (count
HI! Great series
In fibonacci series there is one missing condition
as n=0 it will give 1 --as per video code
so there should be an if-else at end so that if n=0 if will give 0 only.
plz have a look on it.
Your input was n = 0. Which makes the condition (count
In the Video at the instance 34:00 , if we run the program only the first if we enter a valid alphabet then it will show whether it's uppercase or lowercase, but if we right any number it gives output as a Uppercase.
correct code :
import java.util.Scanner;
public class CaseCheck {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
char ch = input.next().trim().charAt(0);
// check wether it's upper case or lower case
// && and
// || or
if(ch >='a' && ch = 'A' && ch
thank you finally find a tutor whom gave great content ❤
well explained than my college lecturer first i was hating java but now i am loving it
these videos also "make sense !!" ....... I would love to loop my thanks to infinity times
Bro I was planning to buy course of DSA JAVA from coding ninja and suddenly i searched on RUclips and start playing your videos .Now i am addicted to your channel.Thank you for uploading these quality course,you saved my money.❤❤❤
Love this course Sir
It is really amazing 🤩
public class fibo {
public static void main(String[] args) {
int a=0;
int b=1;
System.out.println(a);
System.out.println(b);
for (int i = 0; i < 8; i++) {
int c=a+b;
System.out.println(c);
a=b;
b=c;
}
}
}
Nice
Thanks so much Kunal. You are a blessing.
Hi Kunal your work is amazing ...I've been working since last 7yrs in IT but I never know how to reverse number & Fibonacci series logic I was just remembering it as I never understood it Thanks brother seriously.
great video kunal, hands on learning. Feel so much more confident about programming in java.
Dont't worry ! I am with you
the best series on youtube even paid courses are not like this.. hats of to you kunal
This is Amazing bro! Learnt & practiced as well.
Day 10 of DSA learning ✅
Chup bkl
@@tysonryuk6664 wow so edgy
i have learnt the new approach to find the largest number WOW!
I Must say these videos are CLEAN !
#Superb series Kunal Bhaiya
#one & only one😎
#Eazy to understand
#No.1 Java+DSA
Addictive series seriously I am working professional have time issue in the working day but once I play your video can't leave without completing video
@@somuacharya6586 yes brother unfortunately it matters I think as I have seen max 2 to 3 year gap allows depending on company until you have exceptional skills.
@@somuacharya6586 brother never feel demotivated about your gaps just be ready to answer genuinely about . now comes to what to do part I'm not perfect one to give you any path but in my understanding you enough time to do anything as you are in college just learn java as you are from tire 3 learn DSA have some problem solving ability just to kunals course is hona help you totally don't looke for other things .. then you should learn development by choosing anything web development or mobile app development.. I know there are so many things AI and all but I would say intially don't go for that as I have made mistake only few opportunities are there for guys who is just graduated and have average skills .. so if you choose web development master HTML CSS Java Script and React framework make so many great project now one is going to stop you getting a job ASAP.
I hated Java when I tried to learned earlier but your Teaching ❤️❤️❤️
// 51:55 if we input 53210, Your solution ignores 0! output: 1235
// Another approach for reverse a number using String.
public static void main(String[] args){
int n = 53210;
String rev = "";
while (n > 0){
int num = n%10;
rev = rev + num;
n = n/10;
}
System.out.println(rev);
}
output: 01235
Dont't worry ! I am with you
n/10 karne pe why aren't we getting error coz it will convert number to double/float
the reverse q. can be done more easily if you use it like this
int a = 1651654;
while(a>0)
{
int rem = a%10;
if(a>0)
{
System.out.print(rem);
}
a=a/10;
The thing you've done is just a reverse of that.
But the actual result should be also a number such that it is the reverse of an original number.
Completed assignment, Awesome explanation.... Moving to next one
In those multiple if else statements , if salary >10000 and if salary>20000 are intersecting ones.
Eg: Let salary be 11000 , then according to the code it should give 13000 , which it will give .
But if you put salary> 20000 , for eg : salary= 22000 , it will not give us 25000 , but we will get the output as 24000. I know its nothing but its bit confusing for me so I thought i should comment so that a newbie wont get confused. Keep on going like this Kunal.
Thank you so much! I was actually looking for this comment. What is the solution to this? Is it putting greater than 10k and less than 20k in the first if statement?
@@parikshitpareek1993 if you want 10k-20k range , you be writing salary>10000 && salary
thank you for such amazing playlist....😍Its really helpfull👍
I used this approach to reverse the number and its nicely working
You can also check it out
public class reverse {
public static void main(String[] args) {
int n = 2354735;
int count = 0;
while(n>0) {
int rem = n % 10;
count++;
n = n / 10;
System.out.print(rem);
}
}
}
i also make this program
you solving questions was an eyeopener
Thanks a lot Kunal! Enjoy this section.
In the way, you explain things, is too good.
Hey kunal I am telling you a funfact that you are a God level teacher
keep on coming kunal ! it's really feels awesome ...
kunal can you please also start open source guide because many of us have completed a major portion of the basics and would like to get experience in open source. I know you are working very hard for us and you are busy with everything. but it would be great help if you just started somethings with open source also. please . I appreciate the hard work you are doing for the community.
Some of the questions here are easy leetcode questions. Awesome work Kunal
Thank you Kunal bhai!
Going to comment on each video so that youtube algorithm makes it reach more people:-)
Hi
How's this playlist as m about to start but don't have time to explore then decide
Already in 6 th so can u plz tell how's this playlist going on till now ?
Heyy Kunal!!! I read the comments!!!...They Just wanna tell you to post the videos early as soon as possible...As you started video on gaming...But they addicted with your java content and your confidence to do it...I am too addicted and wants you to post more Get Likes Comments and subscription....Glad to seee you ...Here again...Love you❤
love this dude , thanks Kunal for the DSA
Day 2 of the series, moving towards arrays now. Today's goal is to finish till lecture number 20
Thnks kunal for this. Any person can understand this...
Dammm addictiveee ❤️🔥🔥❤️..may god bless youu 💓
it is actually fun ....i enjoyed whole video...