HackerRank Javascript Basic Certification #02
ฝัง
- เผยแพร่เมื่อ 6 พ.ย. 2021
- HackerRank All skills certifications
Github Link
github.com/tkssharma/hackerra...
- github.com/tkssharma/hackerra...
- github.com/tkssharma/hackerra...
- github.com/tkssharma/hackerra...
I am covering all basics and intermediate level certifications from Hackerrank, our focus will be on how to approach for the problem and how to pass all tests before submitting problem.
hackerrank javascript basic and intermediate certification
hackerrank SQL basic and intermediate certification
hackerrank REST APIs basic and intermediate certification
hackerrank React basic and intermediate certification
hackerrank Angular basic and intermediate certification
hackerrank Node JS basic and intermediate certification
hackerrank Python basic and intermediate certification
Notes: tests keeps changing so don't expect that when you are attempting you will see the same question - วิทยาศาสตร์และเทคโนโลยี
In first excersive the correct answer was :
if(Number(num)>=weekdays.length || Number(num)
The correct answer of the first Question:
function weekdayText(weekdays) {
return function getText(number) {
if (number >= weekdays.length || number < 0) {
throw new Error('Invalid day number');
}
return weekdays[number];
}
}
const day = weekdayText(['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'])("6");
console.log(day); // Saturday
weekday text question me function ke aage return likha hua mene kabhi nahi dekha programming mujse to ye question nhi hua wese bhi hackerrank me mene java, python aur javascript sab easy vala hi kiya hai bcz mujhe question ko samjhne ki trick aur jaane kya kya sikhna plateform ke question ko karne please aap baatiye na aapko khud se karna kaise aaya ????
keep doing coding .. questions are long text, aadmi dekh kar daar jata hai
but logic wise easy hota hai
Its a question of currying actually
Thanks a lot 💯❤️🙏
Mujhe yeh question padhna hai kaha se milega???
yeh account bhi mera hi hai koi baatayen ki yeh question hackerrank ka koi site par mil sakta hai padne ke liye ????bcz hackerrank me ab ye retry ke liye 30 days ke open hoga....
Super.
return function find(minRange,maxRange,value) {
if(maxRange > data.length - 1){
throw new Error('Invalid range')
}
for(let i =minRange ; i