How to build Strong Programming logic? | Problem Solving Skills improvement | Placement series 02

preview_player
Показать описание
How we can built logic as a beginner. When I started my journey I always used to think that coding is not for me. But later I realized that if I don't give me a shot, How can I judge myself without trying. I used some personal strategy to improve my coding, I Hope it will be helpful for you guys also. DSA is a heart of placement.

Telegram: rohit_negi_family
Рекомендации по теме
Комментарии
Автор

1. Relate with practical life
2. Code topic wise
3. See tutorials or watch YouTube video and code yourself
4. Practice
5. Make notes
6. Revise
7. Repeat all for 3-4 hrs daily
8. Reward yourself for achievement

prabhattiwari
Автор

1. Array / String / next Step (Basic Question Slove)
2. Implementation - Connect Question To Real Life
Syntax Se Fimilar Hona - Basic Question
3. Proper Notes - Coding - Easy - Notes - Repeat
4. Logic Bulid Is All About Pratice Connect With Real-life
5. Reward Yourself

LovepreetSingh-ljn
Автор

Watched this video when I had 0 problems solved on leetcode . Was scared as shit . Followed this strategy.
Worked for a month and started coding again . Now I have solved 120 problems on leetcode . And learning more and more and will continue to improve my logic building . 😊

gauravsolanki
Автор

I said him to make video on logic building and he did it. Love you bro 💕💕

kusumdevigairola
Автор

Well said brother, practise with pen- paper is must in coding, many Students understands that coding in editor and running is good but it's not, thinking will not improve in this way, and for long run coding will not work due to problem solving skills weaker day by day, so practise is must with pen and paper to solve any problem, i am currently learning Data Structures & algorithms from Coursera from University of California online.

FoodMania
Автор

Thankyou so much sir 🙏 ...I am just going to start my DSA and it was not clear how to start and from where ...but by ur guidance I have got an best path to do it and complete it ... thanks alot and again consistency is the main key as you have said

anuradhajaiswal
Автор

Thank you so much Negi ji...
I will try my best to make myself stable and dedicated for continuous 21 days

pGanesh
Автор

To be honest, this is best and most practical video that i have seen regarding DSA for beginners. Thanks Rohit bhai for making this and please keep uploading more content like this

rekalit
Автор

Bhaiya aapko sunn kr bahut motivate hua...110% real baat bataye hai aap...mai yahi krunga..

fanushaneef
Автор

Your videos are too genuine and the way that you teach are just amaz..😌

xxwolf
Автор

Appreciate this video.No One talks about revision but you did .I used to feel demotivated when people used to solve new new problems without any difficulty and they don't revisit questions too.But I couldn't do it like that.I thought I am incapable to do coding.But now I applied these methods and its helping e a lot.Glad for this video.

btmhezu
Автор

Bhai ne Problem solving ke sath motivation bhi Mst De diya😱

CrazyAshu
Автор

whole of video in just one simple line " i think if you have a curiosity to learn a things and a passionate for a current work who you are doing, so it will be done definatily " .

googlebaba
Автор

If you can give tutorial on any programming language topic wise and explain the coding problems that would be really helpful, and the way you make people understand is very nice .

mausomipaul
Автор

This is the best youtube recommendation i have ever got. kudos to the knowledge brother.

creativeguru
Автор

Superb strategy Sir u reveal & enclosed with us.... Thanks 😊

AartiKumari-wmkg
Автор

Thanku...my placement session is about to start and I'm really confused what to do, how to do...I was feeling so hopeless. And your video has actually provided hopes!

neha_coding
Автор

Rohit bhai u are true inspiration 🙏 and your guidance is much better than any other yt creator

diveshbhoyar
Автор

To build code logic of any program, you must learn concept of mathematics such as even or odd numbers or prime numbers. For mathematics in computer programming, you must know operators given below:

Arithmetic Operators:
+ Addition 1+1=2
- Subtraction 2-1=1
* Multiplication 2*2=4
/ Division 6/2=3
% Modulus if 6/2=3 then 6%2 is equal to 0 that means 6 is even number. if 7/2=3.5 and 3.5 is decimal value then 7%2 is not equal to 0 that means 7 is odd number

Assignment Operator:
int x = 10;
x=x+5; // x=15

Comparison Operators:
== Equal to if(x == y){}else{}
!= Not equal if(x != y){}else{}
> Greater than if(x > y){}else{}
< Less than if(x < y){}else{}

if statement condition is true then then program inside if(){} will execute but if statement condition is false then program inside else will execute

Another syntax:
if(){
}
else if(){
}
else{
}

if statement condition is true then then program inside if(){} will execute but if statement condition is false then program inside else if(){} will execute

Google search how to find greatest number or calculate prime factor of a number. Read and understand from starting of JavaScript tutorials and check if variable declaration and initialization is useful in finding greatest number. Read and understand from JavaScript tutorials and check if arithmetic operator is useful in finding greatest number. Read and understand from JavaScript tutorials and check if relational operator is useful in finding greatest number and so on. Program 1 to find the greatest number from 3, 1 and 5 given below:
const arr = [3, 1, 5]; //arr[0]=3, arr[1]=1, arr[2]=5
var i=0;
var greatest=arr[i]; //greatest=3
i=i+1; //i=1
if(greatest>arr[i]){ //if(3>1)
}else{
}
i=i+1; //i=2
if(greatest>arr[i]){ //if(3>5)
}else{
greatest=arr[i]; //greatest=5
}

Program 2 using loop to find the greatest number from 3, 1 and 5 given below:
const arr = [3, 1, 5];
var i=0;
var greatest=arr[i];
// while loop is executed 2 times because we have written i=i+1 and if(){}else(){} 2 times //previous in Program 1 given above
while(i<2){
i=i+1;
if(greatest>arr[i]){
}
else{
greatest=arr[i];
}
}

hamzafarooq
Автор

Very motivating video Bhaiya. Thnaks for this.

sagestudy
visit shbcf.ru