👉 Get Source Code here for Free : www.thapatechnical.com/2024/09/50-game-changing-javascript-interview.html 💸 Get All My RUclips Videos' Source Code for just ₹249! Grab Now - thapatechnical.shop/source-code ------------------------------------------------------------------------------------------------------------------ Click here to buy India Best Hosting 👉 www.hostinger.com/thapa7 For Thapa Family 💥 Use the discount code THAPA7 to get Extra 10% OFF! ------------------------------------------------------------------------------------------------------------------ 📺 Discover React.js History in Just 10 Minutes - ruclips.net/video/MiK2bFqhg1U/видео.html 📺 Watch the complete Playlist here : ruclips.net/p/PLwGdqUZWnOp1Rab71vx2zMF6qpwGDB2Z1 ------------------------------------------------------------------------------------------------------------------ 🚀 Boost Your Skills with these Pre-Requisite Videos: 🔗 Best HTML Course - ruclips.net/video/5ccq_nLHneE/видео.html 🔗 Best CSS Course - ruclips.net/video/MSICFljRcb4/видео.html 🔗 JavaScript Basics Course Part 1 - ruclips.net/video/13gLB6hDHR8/видео.html 🔗 JavaScript Advanced Course Part 2 - ruclips.net/video/YwsOCN8woA8/видео.html
Q)9 function averageVal(myVal){ let count = 0 let instances = 0 for (const eachVal of myVal) { count = eachVal+count instances++ } let average =Math.round(count/instances) console.log('Sum of the array is',count) console.log('No. of elements is',instances) console.log('The average is',average) } averageVal([5,45,25,12,14,56,23])
Q)11 function sumOfDigits(myVal) { // Convert the number to a string, split into an array of characters, and map them to numbers let digitsArray = myVal.toString().split("").map(Number); //String(1256) becomes "1256".becomes ['1', '2', '5', '6'] becomes // The Number function is applied to each string element: Number('1') becomes 1.. //The final array is [1, 2, 5, 6], an array of numbers. console.log("Array of digits:", digitsArray); // Use reduce to sum the array elements (digits) let sumOfAll = digitsArray.reduce((accum, currVal) => accum + currVal, 0); console.log("Total Sum of Digits:", sumOfAll); } sumOfDigits(1256);
🙏Vinod bhai agar apka pura js course complete kr le detailed me to kya Job ka ummid kr skte hai. Please bataeye Mera mtlb js me koi reject to nhi krega n
Obviously bhai.. as a fresher or kya chaiye.. 28hrs ka JS karke bhi job na mile tho ab kya 5yrs ka experience lekei fresher ka job interivew jaye batawo bhai.. Hai ki nai
first question second method output was wrong when we have 2 or more same length longest word then it returning last one but in question they told it should return the first one
function hashTagGenerator(str){ if(str.length>200||str.trim().length===0){ return false } let strArr=str.split(' '); let combined=''; for(const word of strArr){ let capitalized=word[0].toUpperCase()+word.substring(1) combined+=capitalized } return `#${combined}` } hashTagGenerator("")
why you add your own videos every time i like your video and lecture but i do not and may be more students do not like your that way you always mention your video 🤔😔😑
2 nd question function genratehash(theRes) { let resArr = theRes.split(" "); let myArr = []; console.log(resArr); for (const element of resArr) { let uppercase = element[0].toUpperCase() + element.slice(1); console.log(uppercase); myArr.push(uppercase); } console.log(myArr); console.log(`#${myArr.join("")}`); } genratehash("gear up friends we are going to rock");
const findLongestWord =(str)=>{ if(str.trim().length == 0)return false; let long = str.split(' '); let longest = long.reduce((acc,curr)=>acc.toString().length>curr.toString().length?acc:curr,0) return longest; } console.log(findLongestWord("Hellob my nahhhhme is vijay"))
qus - 1 one more way ! let max = newString[0] // for (let i = 0; i < newString.length; i++) { // if (newString[i].length > max.length) { // max = newString[i] // } // } // console.log('max string: !', max, " ", max.length) i know , its a old method qus -> 3 const findCount = str.split('').filter((item) => item.toLocaleLowerCase() === char.toLocaleLowerCase()).length
👉 Get Source Code here for Free : www.thapatechnical.com/2024/09/50-game-changing-javascript-interview.html
💸 Get All My RUclips Videos' Source Code for just ₹249! Grab Now - thapatechnical.shop/source-code
------------------------------------------------------------------------------------------------------------------
Click here to buy India Best Hosting 👉 www.hostinger.com/thapa7
For Thapa Family 💥 Use the discount code THAPA7 to get Extra 10% OFF!
------------------------------------------------------------------------------------------------------------------
📺 Discover React.js History in Just 10 Minutes - ruclips.net/video/MiK2bFqhg1U/видео.html
📺 Watch the complete Playlist here : ruclips.net/p/PLwGdqUZWnOp1Rab71vx2zMF6qpwGDB2Z1
------------------------------------------------------------------------------------------------------------------
🚀 Boost Your Skills with these Pre-Requisite Videos:
🔗 Best HTML Course - ruclips.net/video/5ccq_nLHneE/видео.html
🔗 Best CSS Course - ruclips.net/video/MSICFljRcb4/видео.html
🔗 JavaScript Basics Course Part 1 - ruclips.net/video/13gLB6hDHR8/видео.html
🔗 JavaScript Advanced Course Part 2 - ruclips.net/video/YwsOCN8woA8/видео.html
Thank you, you are really good and hardworking person.
I learn everything from you ,
javascript, React, node js, express js, mongodb 😊
Your work is very good,
Just change the vs studio theme to dark and increase font size,
This step increases your views as well as subscribers
Best explanation.❤ And Start NEXT Js series please 😢
Q)9
function averageVal(myVal){
let count = 0
let instances = 0
for (const eachVal of myVal) {
count = eachVal+count
instances++
}
let average =Math.round(count/instances)
console.log('Sum of the array is',count)
console.log('No. of elements is',instances)
console.log('The average is',average)
}
averageVal([5,45,25,12,14,56,23])
Q)3
function repeated(theWord,theChar){
let theCount = 0;
for(i=0 ; i
For question number 10.. I have solved through JSON.stringify comparison!!
Is it correct?
Sir react ko bhi one shot me merged karke dal dijiye please ❤
I have learned a lot of from your channel.. thank you so❤❤❤
My request is, plz Star NEXT Js series
Thank You Dear Sir 💖
Thank you bhaiya❤
Please payment gateway API pr bhi videos banao laravel framework pr
sir you have gave AN amazing idea in question 3 we can also do this with help of for loop
Q)11
function sumOfDigits(myVal) {
// Convert the number to a string, split into an array of characters, and map them to numbers
let digitsArray = myVal.toString().split("").map(Number);
//String(1256) becomes "1256".becomes ['1', '2', '5', '6'] becomes
// The Number function is applied to each string element: Number('1') becomes 1..
//The final array is [1, 2, 5, 6], an array of numbers.
console.log("Array of digits:", digitsArray);
// Use reduce to sum the array elements (digits)
let sumOfAll = digitsArray.reduce((accum, currVal) => accum + currVal, 0);
console.log("Total Sum of Digits:", sumOfAll);
}
sumOfDigits(1256);
Q)19
function startsWith(theWord, subWord) {
theWord = theWord.split(" ");
theWord = theWord[0].toLowerCase();
// console.log(theWord)
if (theWord === subWord) {
console.log("Matched");
} else {
console.log("Not matching");
}
}
startsWith("Hey bob", "hey");
startsWith("Hello bob", "hey");
World's best explanation ever. Please start seriers on "NEXT JS"..
I also want it, bro
Me too bhai❤❤
👏awesome method sir
Another Simple Method For Question 19-----
const startWith = (str,subStr) => {
str = str.toLowerCase().split(" ")
return str[0] == subStr.toLowerCase() ? 'Matching' : 'Not Matching';
}
console.log(startWith('Hello WOrld','hello'));
Kya mast video banaaya bhai❤️😎
Dear sir,same react bhi ek saath upload kar dena...
Q3>> const countChar = (word,char)=>{
word = word.toUpperCase().split('');
//console.log(str)
totalCount = word.reduce((accum,curChar) =>{
if(curChar === char){
accum++;
}
return accum;
}, 0);
return totalCount;
}
console.log(countChar("MissIssippi", "I")); // output:4
Question 22 Solution A bit Long :))
const findMedian = (arr) => {
arr = arr.sort((a,b) => a-b)
let evenVal = []
let oddVal = []
if (arr.length % 2 === 0) {
evenVal.push(arr[(arr.length / 2) - 1],arr[arr.length / 2])
return evenVal.reduce((accu,nextElem) => accu+ nextElem,0)/evenVal.length
}else{
oddVal.push(arr[Math.floor(arr.length / 2)])
return Number(oddVal)
}
}
console.log(findMedian([1,5,4]));
RUclips channel JavaScript interview best video ❤❤
no word for you sir you are great such a very helpful video
Node js ki series suru karao please
Thank you so much for tutorial ❤❤❤❤❤❤❤❤❤❤❤
Please make the react interview questions video too, thanks😊
Node and exprees please
TOP CLASS ❤
Q)10
function equalArray(array_1,array_2) {
if(array_1.length!=array_2.length){
console.log("Unequal length");
return false
}
let isEqual = true;
for(i=0 ; i
Thankyou ❤😊
Please make DSA series in JavaScript.
thanks brother
day 01 -> 24 september 2024
Practiced Question # 01 and 02 . Video has been completed till 32:20 min with practice
🙏Vinod bhai agar apka pura js course complete kr le detailed me to kya Job ka ummid kr skte hai.
Please bataeye
Mera mtlb js me koi reject to nhi krega n
Obviously bhai.. as a fresher or kya chaiye.. 28hrs ka JS karke bhi job na mile tho ab kya 5yrs ka experience lekei fresher ka job interivew jaye batawo bhai.. Hai ki nai
@@ThapaTechnical ha vinod bhai mtlb apka pura course complete krne ke apka 100 day interview wala dekhne ke baad.
Interview me ja skta hu
@@ThapaTechnical please reply vinod bhai
sir you have said we cannot use built in sort method in q # 5 but you have used this method
sir make a video on how to make logic
Good morning🌞
This whole series is same as the previous 100days of coding challenges. You should make different questions from that.
html canvas with JavaScript video please
NEXT JS or React Native course sir please
Good morning brother
Bhaiya please Android app development ke upar tutorials banaiye
sir pls React interview ke questions
All videos and source code link is not working
Great Sir🙏❤️
Sir please react js ki one shot bna da please please
sir you had not commit 6 to 10 questions folder in repo
first question second method output was wrong when we have 2 or more same length longest word then it returning last one but in question they told it should return the first one
function hashTagGenerator(str){
if(str.length>200||str.trim().length===0){
return false
}
let strArr=str.split(' ');
let combined='';
for(const word of strArr){
let capitalized=word[0].toUpperCase()+word.substring(1)
combined+=capitalized
}
return `#${combined}`
}
hashTagGenerator("")
sir max num find krna ka lea mena sort use ki arr[0] wale ko return kr dea
Its not appropriate for interview. You can use into development
yo
#10 days ka video
within 1 day
Notes kha hai
Source code ka link hai usi me he sab kuch hai
Ok thank you❤
first
why you add your own videos every time i like your video and lecture but i do not and may be more students do not like your that way you always mention your video 🤔😔😑
Are kehna kya chahte ho????
😂@@phanibhusan6538
2 nd question
function genratehash(theRes) {
let resArr = theRes.split(" ");
let myArr = [];
console.log(resArr);
for (const element of resArr) {
let uppercase = element[0].toUpperCase() + element.slice(1);
console.log(uppercase);
myArr.push(uppercase);
}
console.log(myArr);
console.log(`#${myArr.join("")}`);
}
genratehash("gear up friends we are going to rock");
const findLongestWord =(str)=>{
if(str.trim().length == 0)return false;
let long = str.split(' ');
let longest = long.reduce((acc,curr)=>acc.toString().length>curr.toString().length?acc:curr,0)
return longest;
}
console.log(findLongestWord("Hellob my nahhhhme is vijay"))
qus - 1
one more way !
let max = newString[0]
// for (let i = 0; i < newString.length; i++) {
// if (newString[i].length > max.length) {
// max = newString[i]
// }
// }
// console.log('max string: !', max, " ", max.length)
i know , its a old method
qus -> 3
const findCount = str.split('').filter((item) => item.toLocaleLowerCase() === char.toLocaleLowerCase()).length
Day 02 -> 25 september 2024
Practiced Question # 3 . Video has been completed till 38:20 min with practice