Lecture 5: Bitwise Operators, For Loops, Operator Precedence & Variable Scoping

  Рет қаралды 1,247,931

CodeHelp - by Babbar

CodeHelp - by Babbar

Күн бұрын

Пікірлер: 2 200
@hashcodez757
@hashcodez757 2 жыл бұрын
24:11 hw sol 1st ques : 1 2nd ques : Stage1 - Inside If 0 3 3rd ques : Stage1 - Inside If 0 2 //OR mein agr pehli condition true hogi toh agli execute nhi hogi 4th ques : 100 5th ques : 1 3
@trusfratedbunny2215
@trusfratedbunny2215 2 ай бұрын
bro 1st question me if statement ke andr koi conditional statement thodi h jo execute hoga.
@BhumiK-m7r
@BhumiK-m7r 2 ай бұрын
bro but in last question the answer will be 3 and 2 cozz the first condition is a++ = 1+2 = 3 and the second condition is ++a = 2
@luvrathod2071
@luvrathod2071 7 күн бұрын
@@BhumiK-m7r you are wrong. and technically he is also wrong it's supposed to be 13 (there is no space or endl)
@luvrathod2071
@luvrathod2071 7 күн бұрын
@@trusfratedbunny2215 number is the conditional, it will return true as long as it's not null (0)
@Mathemagic-31
@Mathemagic-31 6 күн бұрын
💯 correct ans would be 13
@rishabhpurwar4875
@rishabhpurwar4875 2 жыл бұрын
I'm full time software engineer, Have delivered many applications. It feels good to see someone teaching like this from basics. At one time i read all this things from book still watching these videos on 2x to refresh my memory bits😁
@deepakkansal9112
@deepakkansal9112 Жыл бұрын
apna bhi jugad krade mitr
@raju1860
@raju1860 Жыл бұрын
nice to see that sir
@Darinda807
@Darinda807 Жыл бұрын
@@bishalkumarshaw2789 Basically that particular if statement drops all except the last bit, which is either 0 or 1, so it is a condition detecting if N is odd or even
@niteshprajapat7918
@niteshprajapat7918 Жыл бұрын
@@bishalkumarshaw2789 this statements stats that, agar, i ki value 1 se and ho jae to continue krdo, like i and 1 both 1 1 ho tab continue krdo, otherwise go with flow
@zaibkhan9848
@zaibkhan9848 Жыл бұрын
@@bishalkumarshaw2789 if((i&1) ==1) { continue; Console.Write("Hello bishal kumar this print statement never executed due to continue statement") } when this condition is true .means i&1 is equal to 1 then it will continue. this statement is not executed..
@govindsuryavanshi6653
@govindsuryavanshi6653 Жыл бұрын
Greatest ever DSA series to exist on youtube .Your contribution will be remembered. You're God of DSA for us🙇‍♂
@meetved438
@meetved438 Жыл бұрын
At 24:17 Output:- 1. b=1 2. "Stage 1 Inside if" a=0 b=3 3. "Stage 1 Inside if" a=0 b=2 Note: ++b>2 is not executed as a-->0 is true and here OR condition is used. 4. 100 5. b=1 c=3
@monojtewari2071
@monojtewari2071 2 жыл бұрын
following apna college from 2 months but now i realise your content is far better than those rushy videos
@Paradox_1
@Paradox_1 3 жыл бұрын
This is gem 💎 video I ever found in this whole KZbin, C++ DSA placement series, thanks ☺️📯 bhaiya for doing such a great job.
@Bliss1299
@Bliss1299 Жыл бұрын
Learned java in school in IP but now learning DSA in cpp by you. Very happy and excited to learn from a teacher like you. (Not because of your excellent background but your nice teaching skills) Bhaiya you explain very well. Bless me so that I continue till the end.
@pachar2
@pachar2 2 ай бұрын
Did you continue until the end?
@trusfratedbunny2215
@trusfratedbunny2215 2 ай бұрын
@@pachar2 If we give n=2 in prime number if condition (n%i==0) then it will satisfy the condition and print "Not a prime number", so what to put in that case?
@yogeshbavishi64325
@yogeshbavishi64325 3 жыл бұрын
the name DSA placement series is quite suitable. I was watching it like "series". very good in-depth explanation. just so easy to understand. hats off.🙌
@nitinsemwal
@nitinsemwal Жыл бұрын
00:00 - Introduction 00:45 - Bitwise Operators: 01:07 - Bitwise AND operator 02:47 - Promotion 03:42 - Bitwise OR operator 04:40 - Bitwise NOT operator 06:29 - Bitwise XOR operator 07:40 - Experimentation 10:35 - Left & Right Shift Operator 15:23 - Experimentation 16:42 - Pre/Post Increment/Decrement Operator 24:16 - Homework Output Questions 24:30 - For Loop 33:12 - Sum from 1 to n 34:38 - Fibonacci Series Question 39:46 - Prime Number Question 45:30 - Continue keyword 49:23 - Homework Output Questions 49:45 - Scope of Variables & Examples 58:08 - Operator Precedence 01:01:27 - LeetCode First Question 01:07:42 - LeetCode Second Question
@priyanshusingh3667
@priyanshusingh3667 Жыл бұрын
good job brother
@devansh462
@devansh462 2 жыл бұрын
24:16 int main() { int a,b=1; a=10; if(++a){ cout
@aaqibalam4221
@aaqibalam4221 11 ай бұрын
how ?
@aaqibalam4221
@aaqibalam4221 11 ай бұрын
its 1 and not -1
@dannyboy3413
@dannyboy3413 3 жыл бұрын
You are getting me out of my depression and on the verge to change my life. Thank you from the bottom of my heart bhaiya ❤️ and please carry on this upload frequency ❤️🔥
@jhashivam28
@jhashivam28 3 жыл бұрын
Bikul tension na le dost... sb shi hojyega 😀
@dannyboy3413
@dannyboy3413 3 жыл бұрын
@@jhashivam28 thank you bhai
@pankhurigandhi625
@pankhurigandhi625 3 жыл бұрын
super relatable😶
@umeshpatel9408
@umeshpatel9408 3 жыл бұрын
Bhai kya ho gaya koi dikkat
@AbdulMajeedBoto
@AbdulMajeedBoto 3 жыл бұрын
Can anyone suggest if joong Newton's school is safe or not?
@aasthatripathi6952
@aasthatripathi6952 3 жыл бұрын
Lecture 5 ✅ Please do add the links to those Leetcode questions in the description from text lectures .
@priyankataak5394
@priyankataak5394 3 жыл бұрын
Yes Please
@soumelee5661
@soumelee5661 2 жыл бұрын
i read these basics long time ago but watching this video gave me so much more clarity on these topics!! thank u!
@eserlodhia804
@eserlodhia804 Жыл бұрын
if you are facing an error in Replit for question at 49:29, move the increment from the body to the loop updation. i.e; for(int i = 0; i
@scriptedlifes1236
@scriptedlifes1236 2 жыл бұрын
thankyou so much bhaiya .......I really needed this. I'm searching for DSA in C++ from last few months but I'm not satisfied but this playlist made my day!!!!❤❤❤
@samannayaadhikari5811
@samannayaadhikari5811 3 жыл бұрын
I m gonna blindly follow this whole tutorial. I m in 3rd sem btech. My career depends on you now.
@ayushkushwaha171
@ayushkushwaha171 3 жыл бұрын
your career depends on you and only you buddy! Teachers are just helpers in your journey, you only have to walk the whole path :)
@naseemchoudhary2545
@naseemchoudhary2545 3 жыл бұрын
Which college you are doing b tech bro
@samannayaadhikari5811
@samannayaadhikari5811 3 жыл бұрын
@@naseemchoudhary2545 gauhati university
@upskilllearn7596
@upskilllearn7596 3 жыл бұрын
Omg
@upskilllearn7596
@upskilllearn7596 3 жыл бұрын
😵‍💫
@endxlife93
@endxlife93 Жыл бұрын
Dude this course is insane.....aaj tk aise ni pdhi coding kisi se bhi
@anuzravat
@anuzravat Жыл бұрын
abhi suru hone de lmao
@abhijeetbhaisare6870
@abhijeetbhaisare6870 Жыл бұрын
Bro really its is the one of the most PREMIUM DSA course which is available freely on KZbin , thank bro , I will crack the MNC and I will in podcast one day ...
@pranavsalunke9804
@pranavsalunke9804 Жыл бұрын
good
@Princekumar-kg8vn
@Princekumar-kg8vn Жыл бұрын
24:17 Q1. 1 Q2.stage1-inside if Q3. stage1-inside if Q4.100 Q5. 1,3
@almostmonk5523
@almostmonk5523 2 жыл бұрын
Another way for printing Fibonacci series #include using namespace std; int main () { int n,sum=0,sum1=1; cin>>n; for (int i =0;i
@Ravibeniwal69
@Ravibeniwal69 4 ай бұрын
thats wrong brother cout me galt hai
@limrashaikh9512
@limrashaikh9512 3 жыл бұрын
bhayya ur the most loveble persone for me ur providing such a biggenar lvl questions nobody is providing this i love bhayya ji
@neerajnegi4965
@neerajnegi4965 3 жыл бұрын
At time 24:17 Ans1 1 Ans2 Stage1 - Inside If0 3 Ans3 Stage1 - Inside If0 2 //2nd condition will not get executed as 1st one is true in OR Ans4 100 Ans5 13 At time 49:29 Ans1 0 2 4 Ans2 0(infinite times) Ans3 0 3 5 7 9 11 13 15 Ans4 0 0 0 1 0 2 0 3 0 4 0 5 1 1 1 2 1 3 1 4 1 5 2 2 2 3 2 4 2 5 3 3 3 4 3 5 4 4 4 5 Ans5 0 0 0 1 0 2 0 3 0 4 0 5 1 1 1 2 1 3 1 4 1 5 2 2 2 3 2 4 2 5 3 3 3 4 3 5 4 4 4 5
@dxfire7865
@dxfire7865 2 жыл бұрын
bhai kis college se ho
@Anithing393
@Anithing393 2 жыл бұрын
Bro ans 4 ek row me ayenge becouse code me line break ke liye endl ni balki space ke liye " " lga hai so ans will be like this: 00 01 02 03 04 05 and so on......👍
@rajthakur1382
@rajthakur1382 2 жыл бұрын
@@Anithing393 endl b lga h bro
@mradultiwari9864
@mradultiwari9864 2 жыл бұрын
correction at ans3 of 49:29 min ...series should be 0 3 6 9 12 15
@Abhishekkumar21945
@Abhishekkumar21945 2 жыл бұрын
@@mradultiwari9864 No Bro Try Again His Answer Is Correct 👍
@SHUBHAMKUMAR-zj1bo
@SHUBHAMKUMAR-zj1bo 3 жыл бұрын
Hii sir .u really teach d best...i never felt this much satisfaction n convenience on any other youtube channal and teacher....your playlists is very helpful...In fact ur content and way of teaching is much better than some paid course websites....thank uh soo much sir
@jayeshsrivastava3110
@jayeshsrivastava3110 2 жыл бұрын
There is a mistake in Fibonacci Sequence program. Since you are printing the first two numbers as it is, so the loop must start from i=3. Otherwise we will get 12 numbers instead of 10.
@omkartalawadekar1921
@omkartalawadekar1921 10 ай бұрын
5 mcq ans: 1. b= 1 2. stage1 - inside if a = 0 , b = 3 3. stage1 - inside if a = 0 , b = 3 4. 100 5. b = 1 , c = 3
@rohanchourasiya1047
@rohanchourasiya1047 9 ай бұрын
3rd wrong hai a=0 & b=2 ata hai OR operator hai vaha pr 1st true hai to 2nd check nhi krta
@shubham_025
@shubham_025 9 ай бұрын
@@rohanchourasiya1047 you are right
@sem_code
@sem_code 9 ай бұрын
@@rohanchourasiya1047 arey right hai.a=0 and b=3 aur dusri cheeze dono conditions true hai
@kavyamishra-sk3fg
@kavyamishra-sk3fg 9 ай бұрын
bhai last wale mein b= 3 aayega bro. by the way thanks for the solution.
@taranjotsingh2374
@taranjotsingh2374 3 жыл бұрын
Babbar Bhaiya, this series is my hope I am giving my 100% with this. Thank you soo much🙏🏻🙏🏻🙏🏻
@gitcode2023
@gitcode2023 2 жыл бұрын
hi bro where you have landed now with this dsa series and are you doing competitive codinhg
@shivamjha6580
@shivamjha6580 3 жыл бұрын
Thank you so much bhaiya for providing such a great DSA series 👏 I strongly believe that , this is going to be a super duper hit series on the entire KZbin world 🌎👌👍👏🙌♥🌎
@raju1860
@raju1860 Жыл бұрын
now it is super hit
@arnabsur3766
@arnabsur3766 2 жыл бұрын
24:17 1. 1 2. Stage1 - Inside If 0 3 3. Stage1 - Inside If 0 2 4. 100 5. 1(no blank space and)3
@Manpreetkaur-eh4yj
@Manpreetkaur-eh4yj 2 жыл бұрын
can you please explain 2 and 3 ans
@harshitvyas638
@harshitvyas638 19 күн бұрын
1 quest = b = 1, 2 q uest : stage1 = inside2 3 question : stage1 - inside if 4 question : 100 5 question : b = 1, c =3
@theanantchoubey
@theanantchoubey 2 жыл бұрын
At 24:17 OutputOne: 1 OutputTwo: Stage1 - Inside If 0 3 OutputThree: Stage1 - Inside If 0 2 OutputFour: 100 OutputFive: 13
@krunalrajput2227
@krunalrajput2227 Жыл бұрын
Ans 1:- 1 Ans 2:-"Stage 1 - inside if" Ans 3:- "stage 1 - inside if" Ans 4:-100 Ans 5:- 1 and 3 Thank you ❤
@rishitsinha3045
@rishitsinha3045 Жыл бұрын
howd you do ans 1
@born2inspire69
@born2inspire69 4 ай бұрын
10 aa rha phla ka
@pricegaming4762
@pricegaming4762 3 ай бұрын
answer 5 is wrong it should be 2 and 3
@sanidhyatiwari14
@sanidhyatiwari14 3 ай бұрын
@@pricegaming4762 no it will be 1 and 3 only
@trusfratedbunny2215
@trusfratedbunny2215 2 ай бұрын
@@sanidhyatiwari14 1st answer me if ke andr toh koi condition statement hin nhi h, sirf (++a) hai jo check hua fir bhi if statement chalega?
@abhaymodi563
@abhaymodi563 10 ай бұрын
1 answer - 1 2 answer - stage1 - inside if 3 answer - stage1 - inside if 4 answer - 100 5 answer - b = 1 , c= 3
@Aditya-ku1mx
@Aditya-ku1mx 10 ай бұрын
bro 2nd ka ans glt hai... bcoz for a = 1 and b = 2 a-- > 0 [true aayega bcoz a = 1 use hoga then increment hoga] ++b>2[true hoga] hence if condition satitifies... right ans:stage1 inside if 0 3
@abhaymodi563
@abhaymodi563 10 ай бұрын
my mistake bro thanks @@Aditya-ku1mx
@aniket5498
@aniket5498 3 жыл бұрын
Babar bhaiya i tried to make a butterfly pattern after learning all the patterns you taught us and i successfully made it. Thankyou bhaiya for the efforts you put towards our future🤗❤
@sumanshrana1663
@sumanshrana1663 Жыл бұрын
yaar bhi itna complex kaisa kar liya while use kari ki for ??
@sumanshrana1663
@sumanshrana1663 Жыл бұрын
yaar bhi itna complex kaisa kar liya while use kari ki for ??
@deepakgarg2547
@deepakgarg2547 2 жыл бұрын
Superb bhaiya you are best♥️♥️aapko pta nhi aapna kitna engineering bna diya hai love you from my 💖💖
@krishankant8590
@krishankant8590 Жыл бұрын
bhaiya maza agya mai programming chorne wala tha but ise 1 leetcode question ke bad pura plan change ho gya good bless you bhaiya ape se mai duwa deta hu ki apka startup GFG se bada ho jaye
@flyingpakhi3955
@flyingpakhi3955 2 жыл бұрын
thanks a lot bhaiya....nothing to say....i can't explain in words how much you are helping students like me who don't even know programming well.......
@fatimasohail3027
@fatimasohail3027 Жыл бұрын
Y leetcode py solve karain hum bhi agara karain to kholain kesy
@RohanSomadder
@RohanSomadder 2 жыл бұрын
output - 1. 1 2. Stage 1 - Inside If 0 3 3. Stage 1 - Inside If 0 2 4. 100 5. 13
@ajayvishwakarma1405
@ajayvishwakarma1405 Жыл бұрын
can u explain how it is "1" for problem no. 1. im kinda confuse
@whynotpanda4871
@whynotpanda4871 Жыл бұрын
output questions 24:14 1) 1 2) Stage1 Inside-if value of a=0 b=3 3) stage2 inside if value of a=0 b=2 4) 100 5)b=1 c=2
@manvendrasingh7216
@manvendrasingh7216 Жыл бұрын
5 wale me c=3 hoga na
@whynotpanda4871
@whynotpanda4871 Жыл бұрын
​@@manvendrasingh7216yes
@siddheshbhise2056
@siddheshbhise2056 Жыл бұрын
24:15 1) 1 2) Stage 1 - inside If a=0, b=3 3) Stage-1 Inside if a=0 b=3 4) 100 5) 1 3
@JatinKumar-ei1dg
@JatinKumar-ei1dg 2 жыл бұрын
You never disappoint us with your lectures. All the lectures are best among all the other youtube lectures.
@anuradhajadon4827
@anuradhajadon4827 3 жыл бұрын
Your videos are superb. I am going to share all your videos with my juniors. This series will going to help lot of students. Thank you bhaiya for your efforts.
@omkumarlalkarn5946
@omkumarlalkarn5946 3 жыл бұрын
49:37(5 mcqs answers) Q1: 0 2 4 Q2: 0(infinite loop) Q3: 0 3 5 7 9 11 13 15 Q4 & Q5: (Each in new line) 0 0 0 1 0 2 0 3 0 4 0 5 1 1 1 2 1 3 1 4 1 5 2 2 2 3 2 4 2 5 3 3 3 4 3 5 4 4 4 5
@saiadityaurumu1655
@saiadityaurumu1655 3 жыл бұрын
Thank you!
@debashish_02
@debashish_02 3 жыл бұрын
bhaya 3 no question kese kye mujhe ek bar samjhado plz
@priyabratroutray8184
@priyabratroutray8184 3 жыл бұрын
@@debashish_02 when u do and operation with 1 i.e (binary)=> 00000....001 and any odd number(right most bit must be 1 ) it will give you true but with even number it will give false.
@utubevanced533
@utubevanced533 3 жыл бұрын
@@priyabratroutray8184 hi pls can u make me undertsand this 3 rd question pls i am not able to crack it
@nishantsah6981
@nishantsah6981 3 жыл бұрын
bas ek chiz clear kardo Question 3 me 0 ke baad 3 isiliye print hua becoz if( 0&1) false hogaya so instead of continue statement loop ke bahar jo i++ hai wo execute hua joki i ka value 1 kar diya and then loop me i+=2 ne i =3 karke 3 print kiya fir wo if ( 3&1) true hua and continue statement wapas loop me le aaya is my logic correct????
@umeshsirvi5169
@umeshsirvi5169 7 күн бұрын
24:17 Ans = 1 24:18 inside if , a = 0 and b = 3 24:23 Ans = 100 24:24 b = 1 and c = 3
@shashankrajput330
@shashankrajput330 Жыл бұрын
24:16 quesitons 1st question) 1 2nd question) Stage1- Inside If 0 3 3rd question) Stage 1- Inside If 0 2 tricky a bit since || or statement is used and a-- > 0 is True thus 2nd condition is not checked hence the value of b stays at 2 4th question) 100 5th question) 13
@MultiBillionaire_Motivation007
@MultiBillionaire_Motivation007 Жыл бұрын
Fun and Entertaining yet very powerful course LOVE BABBAR Sir thanks for making the course
@amiteshsingh3037
@amiteshsingh3037 3 жыл бұрын
5 O/P QUESTIONS ANS:- 1) 1 2) Stage1 - Inside if 0 3 3) Stage1 - Inside if 0 2 (2nd Condition does not execute as 1st one is true in OR case) 4) 100 5) 1 3
@debashish_02
@debashish_02 3 жыл бұрын
hi bro 1st question kese kya mujhe ek bat samjha do jiska ans 1 he plz
@samar_mahato
@samar_mahato 3 жыл бұрын
@@debashish_02 bro if(condition){ } ++a is possible or not if yes then, cout
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/h4XEmnlug5ucabs🙏🏻
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/h4XEmnlug5ucabs
@lunaticfringe3890
@lunaticfringe3890 2 жыл бұрын
But Why in 1st Question ans is 1, not 2 ? please do lemme know
@mathis-meth4229
@mathis-meth4229 3 жыл бұрын
this guy is so awesome. first he gives roadmaps. and then walks those roadmaps with US for US. tysm brother :))
@SachinVermaChannel09
@SachinVermaChannel09 10 ай бұрын
24:17 Output1: 2 , Output2:"Stage1- Inside If" {a=0 b=3}
@kunalwadhai777
@kunalwadhai777 Жыл бұрын
As your name is love babbar bhaiya .... I really fell in love with your such a great dsa playlist as I started doing it. I have never seen this kind of dsa playlist anywhere ...love for bhaiya ❤
@studywithentertainment2152
@studywithentertainment2152 2 жыл бұрын
1.) 1 2.) stage 1 - inside of 0 3 3.)100 4.) B=1 C=3 thanks for the playlist bhaiya its really helpful.🙂
@gauravsrivastva8212
@gauravsrivastva8212 2 жыл бұрын
Bro plz explain me 2 I didn't understand how the output be o&3
@yaswanthg3536
@yaswanthg3536 4 ай бұрын
The answer in 2nd qn will be 0 and 2,since it's a '&', if the first condition is false, it will not check for the second condition and hence, ++B will not occur and ans would still be 2
@salibhaldar6568
@salibhaldar6568 3 жыл бұрын
Homework-1: 1) b = 1; 2) Stage1 inside if, a=0 b=3; 3) stage1 inside if a=0, b=2 4) 100 5) b=1, c=3 Homework-2: 1)0 2 4 2) infinite loop of 0 3) 0 3 5 7 9 11 13 15 4)
@shaibazbadai2309
@shaibazbadai2309 3 жыл бұрын
Can you please explain HW-1 3 ques? We are incrementing b right? So b should be equal to 3.
@diwakarkaushik5170
@diwakarkaushik5170 3 жыл бұрын
4 ka answer i j 0 0 0 1 0 2 0 3 0 4 0 5 ------- 1 1 1 2 1 3 1 4 1 5 ------ 2 2 2 3 2 4 2 5 ------- 3 3 3 4 3 5 ------ 4 4 4 5
@himanshubairwa6485
@himanshubairwa6485 3 жыл бұрын
in homework 1 how come b=2 is true?
@shaibazbadai2309
@shaibazbadai2309 3 жыл бұрын
@@himanshubairwa6485 in the if condition, we are using 'or' not 'and', Then if first condition is true, it will not execute the next part in the if condition. So 'b' is not incrementing.
@AnjaliYadav-nw9ty
@AnjaliYadav-nw9ty 3 жыл бұрын
@@diwakarkaushik5170 ek bar answer explain karke batade!
@sambitkumarrout6842
@sambitkumarrout6842 3 жыл бұрын
I'm little bit late in catching up... Finishing up 1 video a day as well as practicing it. But thanks from my bottom of the heart for taking the pain in preparing such videos and helping the next generation
@amankothari3288
@amankothari3288 2 жыл бұрын
2:33 are bhaiya khatarnaak . By the way bhaiya aab bahut achaa pada rhe ho sare concept samaj mai aa rhe hai
@techgourab
@techgourab Жыл бұрын
24:17 output 1) 1 2) Stage1 - Inside If0 3 3) Stage1 - Inside If0 2 // 2nd condition will not get executed because 1st one is true in OR 4) 100 5) 1 3
@kartikpandey9837
@kartikpandey9837 3 жыл бұрын
Answer of solution at 24:16 1. O/P : 1 2. O/P: Stage1 - Inside If 0 3 3. O/P: Stage1 - Inside If 0 2 4. O/P: 100 5. O/P: 1 3
@pahaljain9209
@pahaljain9209 3 жыл бұрын
3rd q me kese bhai 0 3 ana chahiye na??
@ankushladani496
@ankushladani496 3 жыл бұрын
@@pahaljain9209 sahi kaha
@pahaljain9209
@pahaljain9209 3 жыл бұрын
@@ankushladani496 2 hi ayega bro 😅
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/jpPEcmRjd65gsNk
@kanishknayak648
@kanishknayak648 3 жыл бұрын
Bhaiya I'm a 1st sem student...nd really ur course is helpful ❤️.... This is for everyone : Tho this is a placement guarantee course bur a beginner can also follow this 🔥❤️. At the end : Thank u Bhaiya ❤️🤗
@Ancdfg1234
@Ancdfg1234 3 жыл бұрын
you are in btech 1st year
@zebra-er6xc
@zebra-er6xc 3 жыл бұрын
@@Ancdfg1234 me too
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/h4XEmnlug5ucabs
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/jpPEcmRjd65gsNk
@I_Anupam_Pandey
@I_Anupam_Pandey 3 жыл бұрын
Waiting for this Thank you for this amazing Course
@poondiustaad4142
@poondiustaad4142 2 жыл бұрын
Many KZbinrs ka pdane ka tareeka dekha ,,magar aap khtrnaak ho sir ...🙏🙏🙏
@sourabhkumar2914
@sourabhkumar2914 2 жыл бұрын
You are brilliant sir.You are only on youtube who is giving this kind of explaination nobody else
@adityamurte8826
@adityamurte8826 3 жыл бұрын
Q1: 1 Q2: Stage1 - Inside If 0 3 Q3: Stage1 - Inside If 0 2 Q4: 100 Q5: 1 3
@amoghmishra2212
@amoghmishra2212 2 жыл бұрын
Bro can you explain Q. 3?
@DEVILGAMING-je3wv
@DEVILGAMING-je3wv 2 жыл бұрын
​@@amoghmishra2212 in OR operator only 1 condition true is enough to be execute
@VinayBoss-g3f
@VinayBoss-g3f 7 ай бұрын
Bhai 3 question its wrong
@AK-39
@AK-39 6 ай бұрын
​@@VinayBoss-g3f3rd question me 0 3 hona chahiye na ?? Please help mujhe confusion horha comments dekh kar
@atharvchougule5254
@atharvchougule5254 2 жыл бұрын
Because of you , I'm able to understand Bitwise operator Now the all concepts are cleared about bitwise operator Thank you so much Bhaiya KEEP IT UP !!!
@Rahulchoudhary-od3ju
@Rahulchoudhary-od3ju 3 жыл бұрын
Bhaiya I have just passed class 12 exam and I have taken cs engineering I will learn courses from your channel. You are the best teacher and software engineer. Love you bhaiya ☺☺
@ybiitbhu
@ybiitbhu 7 ай бұрын
bhai khatam ki ye series? kaisi hai? mera abhi 2nd sem khatam hua hai (from IIT BHU) kya mujhe ye series religiously follow karni chahiye?
@Rahulchoudhary-od3ju
@Rahulchoudhary-od3ju 7 ай бұрын
@@ybiitbhu ha Bhai kar lo follow bhut achi series hai
@Rahulchoudhary-od3ju
@Rahulchoudhary-od3ju 7 ай бұрын
@@ybiitbhu ha Bhai follow kar sakte ho bhut achi series hai
@Joeditz_64
@Joeditz_64 4 ай бұрын
@@ybiitbhu ha bhai kitn a kia dsa ?? bato pls
@ahmadbinabduljabbar
@ahmadbinabduljabbar Жыл бұрын
24:16 1-ans: 1 2-ans: stage1 - Inside If 3-ans: stage1 - Inside If 4-ans: 100 5-ans: 13
@CodeSoldierArena
@CodeSoldierArena 3 ай бұрын
24:17 first ans : 1; 2: Stage1 - Inside If0 3 3: Stage1 - Inside If0 3 4. 100 5. 13 THANK YOU ❤
@shivangbaranwal5827
@shivangbaranwal5827 2 жыл бұрын
1.) 1 2.) stage 1 - inside if 0 3 3.) stage 1 - inside if 0 2 4.)100 5.) B=1 C=3
@singhvishal8613
@singhvishal8613 2 жыл бұрын
@Ajit Rawat ++
@stszed1118
@stszed1118 2 жыл бұрын
sir, i did all the questions that you gave for homework! am really confident now about my further coding journey ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥
@shrutimodi9534
@shrutimodi9534 3 жыл бұрын
MCQ : 1 Stage 1- Inside IF 0 3 Stage 1- Inside IF 0 3 100 b = 1 , c = 3
@vivekbhardwaj7525
@vivekbhardwaj7525 2 жыл бұрын
hyee can u explain 3rd question output plzzzz....?
@21-abhikhillare8
@21-abhikhillare8 2 жыл бұрын
@@vivekbhardwaj7525 bro can you explain me 1st one ?
@Prabhat_Sharma5
@Prabhat_Sharma5 3 ай бұрын
1-1 2-stage 2 - inside else 1 2 3-stage 1 inside of 0,3 4-100 5-2,3
@amitkys6568
@amitkys6568 Жыл бұрын
28:56 you can write, i++ inside of if block, instead of 'break', here 'break' might be confusing for new programmer 💁‍♂💁‍♂
@pravinrathod1676
@pravinrathod1676 3 жыл бұрын
Hello brother ! Aise lag he nahi raha he ke hum koi video tutorial dekh rahe he it feels ke aap humare samne baith ke sikha rahe ho! It’s awesome we love too stay with you until you complete your videos series! Thank you so much of your effort you put in this to create videos. Much appreciated 🙏
@xyz-wl9uj
@xyz-wl9uj 11 ай бұрын
can you plz tell me why am i getting an infinte loop in the fibonacci series first code ?
@theimmortal950
@theimmortal950 3 жыл бұрын
Best DSA course ever I have seen ✨...keep uploading on daily basis it will be more helpful ❤️.
@anamdar4690
@anamdar4690 3 ай бұрын
24:20 2) stage1-inside if 0 3 3)stage1-inside if 0 2 4) 100 5)1 3
@parthasrikar7848
@parthasrikar7848 Жыл бұрын
outputs 1) 1 2) stage 1 - inside if 3)100 4)2 5)3
@ashutoshrawat6583
@ashutoshrawat6583 Жыл бұрын
Hare Krishna...Bhai can you please explain the condition inside the if block?...I didn't get it...in 1st question
@amaan1180
@amaan1180 Жыл бұрын
@@ashutoshrawat6583 if you understand now can you plz explain me
@Captain_Pikachu
@Captain_Pikachu 2 жыл бұрын
Homework questions: 1) 1 2) Stage1 - Inside If 0 3 3) Stage1 - Inside If 0 3 4) 100 5) 13 Edit : Executed them and read the comments got to know that in third question if first condition is true second will not be checked in so output will be 3) Stage1- Inside If 0 2
@ankitamishra9831
@ankitamishra9831 2 жыл бұрын
how did you get the answer as 1 for the first question
@TEROX_GAMINGYT
@TEROX_GAMINGYT Жыл бұрын
bhai question 1 ka answer 1 kaise??
@VishalKumar-bj4nl
@VishalKumar-bj4nl Жыл бұрын
​@@ankitamishra9831b print karna hai usme
@dineshkumarpatra7300
@dineshkumarpatra7300 2 жыл бұрын
q1=1 q2=Stage1- Inside if 0 3 q3=Stage1 Inside if 0 2 q4=100 q5=1 3 amazing explanation , u are great sir 💯💯💯
@mohdtabish_1
@mohdtabish_1 2 жыл бұрын
*q5=> b=1; c=2;
@pradeepparmar320
@pradeepparmar320 2 жыл бұрын
Can u explain q1?
@Engineering_student_2026
@Engineering_student_2026 Жыл бұрын
Thank you so much bhaiya for providing such a great DSA series 👏 I strongly believe that , this is going to be a super duper hit series on the entire KZbin world 🌎
@tanbirsarkar2640
@tanbirsarkar2640 2 жыл бұрын
bhaiyaa aap jo homework dete ho wo to kar leta hoon, lekin aaj leetcode ke problem dimag ke upar se gaya, code ka logic to samajh leta hoon lekin leetcode mai pehli baar karke difficult laga...i'll double my efforts❤❤❤
@barkhathakkar
@barkhathakkar 10 ай бұрын
1st output question Ques 1 -1 Ques 2- Stage 2 inside else a=0,b= 3 Ques 3- Stage 1 inside if a=0, b=3 Ques 4- 100 Ques 5 - b=1,c=3 2nd output question Ques1 -0,2,4 Ques2-0,0,0.......(infinite) Ques3-0,3,5,7,9,11,13,15 Ques4-0,1,2,3,4,5,1,2,3,4,5,2,3,4,5,3,4,5,4,5 Ques5-i,j (0,0),(0,1),(0,2),(0,3)(0,4),(0,5),(1,1),(1,2),(1,3),(1,4),(1,5),(2,1),(2,2),(2,3),(2,4),(2,5),(3,3),(3,4)(3,5),(4,4)(4,5)
@sauravkumar7508
@sauravkumar7508 3 жыл бұрын
24:18(5 Questions output) Q1 : 1 Q2 : Stage1 - Inside If0 3 Q3 : Stage1 - Inside If0 2 Q4 : 100 Q5 : 13
@karanraoexperiment
@karanraoexperiment 3 жыл бұрын
Great 👍
@ahmadbinabduljabbar
@ahmadbinabduljabbar Жыл бұрын
49:29 Q1.ans: 0 2 4 Q2.ans: printing 0 infinite loop Q3.ans: 0 3 5 7 9 11 13 15 Q4.ans: 0 0 0 1 0 2 0 3 0 4 0 5 1 1 1 2 1 3 1 4 1 5 2 2 2 3 2 4 2 5 3 3 3 4 3 5 4 4 4 5 5 5 Q5.ans: 0 0 0 1 0 2 0 3 0 4 0 5 1 1 1 2 1 3 1 4 1 5 2 2 2 3 2 4 2 5 3 3 3 4 3 5 4 4 4 5
@sakshamrawat4984
@sakshamrawat4984 Жыл бұрын
4th ke last me 5 5 nahi aayega
@ahmadbinabduljabbar
@ahmadbinabduljabbar Жыл бұрын
​@@sakshamrawat4984 Yes you're right 👍
@JaiAgnihotri-fi4vy
@JaiAgnihotri-fi4vy 6 ай бұрын
Mujhe third wala samajh nahi aaya 49minute questions
@Teencooks101
@Teencooks101 2 ай бұрын
@@JaiAgnihotri-fi4vy ous mai 1st loop mai i=0 hai esliya if statment true nahi hoga q ke if mai value nahi deta then wo 0 sa greater consider karta hai &1 bas aaisa he hai es leya 1st time mai 0 print kar raha hai fir 2nd time mai statement right hai i is not 0 esliya last ka i++ ignore ho raha hai and direct +2 kar ka aage badh raha hai
@imaryankumar
@imaryankumar 3 жыл бұрын
24:17 -> 1 24:18 -> Stage1 - Inside If 0 3 24:20 -> Stage1 - Inside If 0 2 24:22 -> 100 24:24 -> 13
@neelamsaraswat5600
@neelamsaraswat5600 Жыл бұрын
Right
@darshan2041
@darshan2041 Жыл бұрын
Bhai 24:20 me 0,3 kyu nahi hua
@lverofmemes6599
@lverofmemes6599 Жыл бұрын
​​@@darshan2041 0 3 hi hoga
@Nishankjain-cw4jh
@Nishankjain-cw4jh 7 ай бұрын
24:17 ans1 = 1 ans2 = stage 1 - inside if a =0 b = 3 ans3 = stage 1 - inside if a =0 b = 2 ans4 = 100 ans5 = 1 and 3
@FunFactFallon
@FunFactFallon Жыл бұрын
1. 1 2. Stage1 - Inside If and the value for a is 0 and for b is 3 3. 100 4. b = 1, and c = 3
@priyanshijain2993
@priyanshijain2993 3 жыл бұрын
sir now my confidence is soo boost up , i can solve any qs thankyou 😍
@harpreetbansal7972
@harpreetbansal7972 2 жыл бұрын
24:16 Answers of the 5 questions: Answer 1: 1 Answer 2: Stage1 - Inside if 0 3 Answer 3: Stage1 - Inside if 0 2 Answer 4: 100 Answer 5: 13
@Abhishekkumar-up8zw
@Abhishekkumar-up8zw 2 жыл бұрын
1st answer 1 kaise aaya??
@hmm1778
@hmm1778 2 жыл бұрын
@@Abhishekkumar-up8zw b == 1 hai, Aur if (++a) ye condition true hai (agar if me 0 ke alawa koi aur number ho toh use true mante hai) isliye b print hoga.
@Abhishekkumar-up8zw
@Abhishekkumar-up8zw 2 жыл бұрын
@@hmm1778 thanks 🙏🌹
@himalaybhardwaj.3341
@himalaybhardwaj.3341 3 жыл бұрын
Thank you for upload this series 🤟
@yashshah8440
@yashshah8440 2 жыл бұрын
love those KZbinrs who can make whole video in one go
@storm_breaker1312
@storm_breaker1312 Жыл бұрын
1) 1 2&3) Stage 1 -Inside If 0 3 4)100 5)1 3
@BhaiRayyanKiDuniya
@BhaiRayyanKiDuniya 2 жыл бұрын
24:18 1 24:19 Stage 1 - Inside If 0 3 //pre and post noteworthy 24:20 Stage 1 - Inside If 0 2 //or operater executed as soon as first condition is satisfied 24:22 100 //25 x 4 24:24 13 //pre and post noteworthy
@anujadhotre
@anujadhotre 3 жыл бұрын
MCQ OUTPUT:- 1) 1 2) Stage1-Inside If a=0, b=3 3)Stage1-Inside If a=0, b=2 4) 100 5) b=1, c=3
@boldgrace27
@boldgrace27 2 жыл бұрын
/* TimeStamp 24:17 */ 1] 1 2] "Stage1-Inside If" 0 3 3] "Stage1-Inside If" 0 3 4] 100 5] 1 3 /* TimeStamp: 49.28 */ 1] 0 2 4 2] Infinite Zeros 0 0 0 ..... 3] 0 3 5 7 9 11 13 15 4] 0 0 0 1 0 2 0 3 0 4 0 5 1 1 1 2 1 3 1 4 1 5 2 2 2 3 2 4 2 5 3 3 3 4 3 5 4 4 4 5 5] 0 0 0 1 0 2 0 3 0 4 0 5 1 1 1 2 1 3 1 4 1 5 2 2 2 3 2 4 2 5 3 3 3 4 3 5 4 4 4 5
@sriyanshsharma-de5iw
@sriyanshsharma-de5iw Жыл бұрын
hey bro can u explain the 5th problem
@ManojPatel-ks5je
@ManojPatel-ks5je Жыл бұрын
Bro your solution of problem 3 from timestamp 49:28 is wrong . Right one will be 0 2 4 6 8 10 12 14
@nishanbaral5124
@nishanbaral5124 Жыл бұрын
@@ManojPatel-ks5je No his answer is correct.
@lokeshishere
@lokeshishere 9 ай бұрын
@@ManojPatel-ks5je I got this correct 0 2 4 6 ... 14
@mujahidkhan-fz5hn
@mujahidkhan-fz5hn Ай бұрын
1)2 2) stage 1- inside if 0 3 3) stage 1- inside if 0 3 4)100 5)13
@arpitsrivastava9409
@arpitsrivastava9409 Жыл бұрын
24:18 answer 2: Stage1 - Inside If a=1 and b= 3, 24:21 answer3 is Stage1 - Inside If a=1 and b= 3, 24:23 answer4 is 100, 24:24 answer5 b=1 and c=2,
@LearningAndEarningsTM
@LearningAndEarningsTM Жыл бұрын
24:25 HomeWork's answers are: 1. 1 2. Stage1 - Inside If 0 3 3. Stage1 - Inside If 0 2 4. 100 5. 13
@RupeshKumar-ov5rt
@RupeshKumar-ov5rt 2 жыл бұрын
Thank you for all that you do. Your hard work doesn't go unnoticed. You're appreciated! thanks bhaiya 🥰
@thory7328
@thory7328 2 жыл бұрын
49:32 ?
@akshitavij2487
@akshitavij2487 3 жыл бұрын
24:16 output:1 24:20 output : Stage-1 Inside-if 0 3 (value of a =0, value of b=3) 24:21 output: Stage1 inside -if 0 2 (value of a=0,b=2) 24:23: output :100 phle number ki value increment hogi then multiply by 25. 25*4=100 24:25 output 1 (for b) a++ post increment use kar rha ha phle toh 1 hogyi value , 3 (for c) bcoz ++a pre increment a= 2 hogyi thi ab usko increment kiya 3 hogyi value.
@mdmuquimakhter5145
@mdmuquimakhter5145 2 жыл бұрын
Correct
@YoursMohit24
@YoursMohit24 2 жыл бұрын
24:21 output : Stage-1 Inside-if 0 3 (value of a =0, value of b=3) b=3 check again ++b increased value from 2 to 3 hence a=0 and b=3
@rohanmandloi7561
@rohanmandloi7561 2 жыл бұрын
Can you explain why the answer to the first one is 1?
@dhruvdangi8923
@dhruvdangi8923 Жыл бұрын
I'm in my 1 sem, seeing all the competition around got me a little overwhelmed but your teaching calmed me down thank you🙏🙏🙏🙏
@shivikachauhan2329
@shivikachauhan2329 Жыл бұрын
Frm which clg?
@shivikachauhan2329
@shivikachauhan2329 Жыл бұрын
And how much u have started?
@sanketjaisingpure7028
@sanketjaisingpure7028 2 жыл бұрын
Babbar Sir , Data Structure Apse Sikh kr sach me Majja aa raha hai
@yashpandey7253
@yashpandey7253 3 жыл бұрын
👋 Thank you so much for this series.
@rahulsil3827
@rahulsil3827 2 жыл бұрын
2nd Output questions - q1 -> 0 2 4 q2 -> infinite loop q3 -> 0 3 5 7 9 11 13 15 q4 -> 0 0 0 1 0 2 0 3 0 4 0 5 1 1 1 2 1 3 1 4 1 5 2 2 2 3 2 4 2 5 3 3 3 4 3 5 4 4 4 5 q5 -> 0 0 0 1 0 2 0 3 0 4 0 5 1 1 1 2 1 3 1 4 1 5 2 2 2 3 2 4 2 5 3 3 3 4 3 5 4 4 4 5
@thefitfun469
@thefitfun469 Жыл бұрын
hlo can u explain q3
Lecture 6: Binary & Decimal Number System
35:15
CodeHelp - by Babbar
Рет қаралды 851 М.
Lecture 7: LeetCode Problem Solving Session
42:43
CodeHelp - by Babbar
Рет қаралды 875 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Coding Is Not Enough Anymore
1:22
Mansoor Codes
Рет қаралды 1,8 М.
Learn these 10 Bitwise Tricks Or Regret Later | Competitive Programming Tricks Part 2
29:26
TLE Eliminators - by Priyansh
Рет қаралды 54 М.
Предел развития НЕЙРОСЕТЕЙ
18:53
Onigiri
Рет қаралды 167 М.
1971 | Full Movie | Manoj Bajpayee | 4k UHD | National Award Winner
2:06:36
Sagar Pictures
Рет қаралды 10 МЛН
Lecture 8: Switch Statement & Functions
1:24:59
CodeHelp - by Babbar
Рет қаралды 902 М.
The Absolute Best Intro to Monads For Software Engineers
15:12
Studying With Alex
Рет қаралды 677 М.
Watch this before you start Coding! 5 Tips for Coders
13:53
Apna College
Рет қаралды 377 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН