#120 Javascript Interview Questions | JS Output based questions || #frontendmaster #javascript

preview_player
Показать описание

#udemy #leetcode #geektrust #geeksforgeek #hackerrank #codechef #iit #uptu #aktu
Рекомендации по теме
Комментарии
Автор

Hare Krishna Hare Rama made a place in my ❤️ heart😊😊

sanatanipandit
Автор

sir you are genius i am learning lots of JS questions with your help thank you

Hare Krishna 🙏🏻

rkprogramming
Автор

Ye to bhut hi simple tarike se bataya aapane 👌🏻🔥

The_Suraj_Khot
Автор

Bahoot bahoot Dhanyawad bhai jee! Keep it up!!

bhaveshgharat
Автор

let str = "Sumeet nishad jai ho ka; aan"

let idx=[0]

for( i=1;i<=str.length;i++){

i[idx+i] = i


}
console.log(str, i)

sumeetnishad
Автор

I knew the concept whole time but I decided to watch this video twice for Hare Krsna mahamantra.
Hare Krsna 🙏

SomnathPattnaik
Автор

Thanks for sharing such js concept with us❤

karanshakya
Автор

I saw a similar type of question. To count the maximum occurrence of a character in a string.

TNSOR
Автор

Sir please make lots of videos like this, regarding leetcode practice questions

CaptainAnonymous-ldof
Автор

Hare krishna hare krishna krishna krishna hare hare. Hare rama hare rama rama rama hare hare. This mahamantra made question more beautiful ❤❤

whitewolf
Автор

Only because you write & showed mahamantra in your video I'm going to subscribe and going share this video to my friends.

pratikgadge
Автор

oh krishna thank you for giving me teacher as well as your devotee also

vishalpathak-kriv
Автор

Asi problems dsa bna solve ni hogii untill and unless kisi ne similar question solve kia h

Anonymous-db
Автор

I have done this but in a simple way 😊

Rajput
Автор

In java❤
Map<Character, Integer> map=new hashMap<>();
for(var e : str.trim().toCharArray){
map.merge(e, 1, (v1, v2)->v1+v2);
}
map.forEach((k, v)->System.out.printf("Char %c appears %d times%n", k, v);

Required knowlege
1.Lambda exp
2.Collection framework
3.methods targeted for lambdas

Offcourse there are many ways not to use lambdas

VedantSawale-pgul
Автор

Sir aaj hi apka channel dekha....and immediately subscribe kardiya...taaki koi question miss na ho....kerp going sir...your content is amazing!!!!

sahaj.arora_
Автор

Sir can you please create series of JavaScript 🙏🏻 which include all the major concept of JavaScript

kaushikmakwana
Автор

I did it using split and then made an empty object and then using for each

miraklTutorial
Автор

Concept kind of hashmap🥱, by the way you are doing great keep going man🔥

cinzoop
Автор

maine below solution kiya tha after reading question

const str = "some random sentence of letters"

let processed = {}

str.split(" ").forEach(word => {
const internal = word.split("").reduce((acc, item) => {
if(!acc[item]) {
acc = {...acc, [item]: 1}
}else {
acc = {...acc, [item]: acc[item]+1}
}
return acc
}, processed)
processed = {...processed, ...internal}
})

console.log(processed)

ganesha