DSA with JavaScript in Hindi #29 Check String is palindrome or not in JavaScript | Data Structure

preview_player
Показать описание
Hello Developers,
In this Data structure and algo string part, we learn how to check whether strings are palindrome or not in JS data structure and algorithms with JavaScript in the Hindi language with text input and buttons. there we cover all topics and operations of DSA in javascript.

What is Anagram?
Understand Logic on Board
Write Prorgam to check Anagram.
Test with Different String.
Task For you.

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

Best Channel for learning Frontend and DS. Thanks for the neat explanation

chetanpatil
Автор

Your react and js playlist is awesome 👌 and now I started to lear DSA with js I feel to much confident by watching your playlist .😍❤

RajKumar-lidc
Автор

Thank you very much indeed for this amazing playlist.

razarajpoot
Автор

awesome bro.... you make problem very simple.

riversound
Автор

You are outstanding sir (I see ur react playlist it's very nice video in comparison to all videos of react videos available on YouTube😍, I found your channel very late but better late than never(देर आए दुरुस्त आए) Thanks sir ji )....Is it possible to learn data structures and algorithms in c++ programming language in advance by you ?

cricket.wizard.O
Автор

function checkPalandrom(string){


for (let i = 0; i <= string.length - 1; i++) {
if(string[i] != string[string.length - (i + 1)]){
return false
}
}

return true

}



using for loop

harshalmahajan
Автор

function isPalindrome(str) {
let newStr =
for (let i = 0; i < str.length; i++) {
if (str[i] === newStr[i]) {
return true
} else {
return false
}
}
}

this function better or not ?[time complexity and space complexity]
please reply sir🙏🙏🙏🙏🙏🙏

dipakmandal
Автор

app purri DSA parhaein hum parh rahy hain Thanks

MujahidAli-gijk
Автор

Sir, aapne if statement k andar "return" kion nhi add kiya? I mean if condition agar "true" hogi to "result=false" ho jayega and return hai to loop se bahar aajayega...

prateek.agrawal
Автор

Hello sir can u make a playlist of full Javascript basic or advanced topics cover for full stack development

ajaychoudhary
Автор

Is course se hum kya mnc ko creak kar paenge?

alihoseynzadeh
Автор

why does the program doesnot work if I write it in the manner
function PalindromeCheck(str){
let start = 0
let end = str.length-1
while(start<end){
if(str[start]==str[end]){
return true
}
start++
end--
}
return false
}

This will still return true. It only checks the start and end.

rajibchandraboruah
Автор

let number=123;

const check=()=>{ //creating a function to check//
var //i convert number to string and then split the string its look like ("1", "2", "3") then reverse function reverse it ("3", "2", "1") and join make it 321
var num2=number.toString();

if(num1===num2){
console.log("Its a Palindrome");
}else{
console.log("not a Palindrome");
}

}

check();

SyedHammadulHassanITNCALHR
Автор

if we have lot of string then how we will check multiple value which method I need to used?

BlackMetalPromo
Автор

!= Ki jagah == lagane parr yeh kaam nhi karr raha hai.

gouravnainwaya