Applying recursion to check if a string is a palindrome or not | Reverse the array using recursion

preview_player
Показать описание
So, in the last three lectures, we looked at what recursion is, the three most important parts of recursion, and the recursion tree. Now, in this video, we will apply all of those concepts to solve the following two problems:
2. Reverse the array using recursion.

You can use my code NISHANT to get 15% Off on all GFG courses.

✨ Important Links ✨

✨ Hashtags ✨
#NishantChahar #Microsoft #DSA #Recursion #FAANG #NSIT #NSUT #engineering #internship #college

✨tags ✨
Where to learn dp
where to learn graphs
where to learn dsa
how to start programming
how to start coding
where to learn trees
what is memoisation
what is tabulation
what are graphs
where to learn Operating systems
where to learn dbms
where to learn oops
where to learn computer networks
where to learn low level design
where to learn cs fundamentals
Sanchit jain
Gaurav sen
Gate smashers
Placement guide
How to start programming
where to learn cpp
where to learn python
where to learn javascript
where to learn java
Placement guide
Nishant Chahar Placement Guide
languages to learn
resources to learn data structures
Projects development
AR/VR
Blockchain Machine learning
Deep Learning
Software developer engineer ,
Side projects ,
Importance of side projects ,
Machine Learning Engineer,
How to become a machine learning engineer ,
Associate engineer
Data structures Algorithms
College Life, College, Memories
Fun Fests Chill Enjoy
IITD Mood indigo rendezvous IIT
NSUT Moksha DTU Engifest
Bits Bitsgoa
Namaste Javascript
Namaste Javascript Akshay Saini
Apna college
Apna college c++
apna college DSA
Where to learn dp
where to learn graphs
where to learn dsa
how to start programming
how to start coding
where to learn trees
what is memoisation
what is tabulation
what are graphs
where to learn programming
how to start coding
where to learn coding
where to learn DSA
resources to learn programming
how to crack amazon
how to crack placement
blockchain
what is blockchain
blockchain technology
blockchain technology explained
blockchain explained
blockchain technology in hindi
web development roadmap
roadmap to learn web development
android development roadmap
MERN stack roadmap
machine learning roadmap
roadmap to learn machine learning
roadmap for deep learning
roadmap for 2nd years
roadmap for opensource
roadmap for ios development
roadmap for deep learning
roadmap to learn DSA
Рекомендации по теме
Комментарии
Автор

I Hope i am also improving with your suggestions! ❤
Also you might get TLE for the questions because they are DP problems and not, Don't worry! kar lenge sab theek!
2. Reverse the array using recursion.

Curious.chahar
Автор

def revArr (arr, start, end):
if start >= end:
return
temp = arr[start]
arr[start] = arr[end]
arr[end] = temp
recursiveCall = revArr (arr, start + 1, end - 1)
return arr

timfaker
Автор

Day -4, thanks for the such an easy and amazing :)

vishalshrivastav
Автор

def reverse_list(a):
start = 0
end = len(a)-1
if start < end:
temp = a[start]
a[start] = a[end]
a[end] = temp
start += 1
end -= 1
return a

rahulkumarvij
Автор

Day 4 Task Completed.✅
SIR your Teaching method is Very Simple, which makes concept more and More Easily Understandable.🌟🌟🌟

shubhamkumbhar
Автор

Day 4 Homework completed, you motivated us to learn faster and implement faster ❣

vishnutiwari
Автор

Day 4 ✅
I solved both problem palindrome and reverse array but not by using recursion.
But it seems very easy by recursion method 😀.
Thank you bhaiya ❤️

SunnyKumar-tjjw
Автор

Day 4 of Learning from you!

truly an honor to learn from a teacher like you ❤️

aparupganguly
Автор

Another day, another injoy, another topic Day 3 are complete out of 30 I am coming

PadhaiZilla
Автор

Am a beginner wow he's good at teaching,
My journey starts from here!
Day-4 out of 30
Thank you bro

karanjot_singh
Автор

While practicing the palindrome string problem in gfg, I found out that pass by reference method is more optimized than passing by value

_harshjain
Автор

Video -4 completed
A question on checking if a string is palindrome or not was discussed. Then a hint for reversing the array was given. I am done with the homework problem.
Thanku 🙂

harshjain
Автор

Bhaiya you 10min video content is much more effective then 30 min lecture 👍

ankitchandore
Автор

day4 - palindrome is string which is read from left to right or right to left is same. Such an easy explanation for the code.

shauryaa
Автор

Day 4 /30
Learning to check for a numbere is palindrome or not as well as to print the reverse of an array thank you so so much bhaiya for teaching us the concepts as well as logic so well in such a simplified as well as easy to use manner. This series is really so much beneficial since day one.
Question solved ✅

nayanchandak
Автор

this concept also clear sir
day - 04/30 (done)
thank you so much bhaiya.

niyateesahoo
Автор

The journey of coding is not difficult When started with you ... 👍🙏🏻 Thankyou sor much sir

kaushalseth
Автор

Day 4/30 completed successfully and home work also done waiting for the next video! Thank u!
Going with the flow!

krutikaushikmohapatra
Автор

Day-4/Day-30 is completed successfully
The way you are imbibing the concept of recursion with different set of problems is really impressive sir....
Basic yet very helpful sir....
Thank you so much for taking up this series sir....

UdayKumar-qgnn
Автор

Day- is completed. Thankyou for consistance.

spyhead
welcome to shbcf.ru