Thanks for the interview, Sir. I cracked a company last week
@reactjsdeveloperinterview6 күн бұрын
Congrats👏
@lalubadapandara83852 күн бұрын
0:30 min Mai deekh Raha hai bhai tu😂😂😂😂 alag email se comment karleta
@AmirKhan-uh5vdКүн бұрын
@@reactjsdeveloperinterview Thank you Sir
@shibakarmakar7030Ай бұрын
It's not a real interview. It's a self interview but he delivered a good example interview.
@sumitjadhav105413 күн бұрын
how did you know that it wasn't a real interview?😅
@aaishteru670912 күн бұрын
@@sumitjadhav1054Interviewer didn't seem to be experienced enough as he's thinking much than usual to ask any question
@sumitjadhav105410 күн бұрын
@@aaishteru6709 Thanks got it 👍🏻
@subsstriescoding3 күн бұрын
yeah, this is a practice interview
@osho143Ай бұрын
I will watch interviews from now on instead of watching tutorials. Thank you for uploading it as a post. For freshers, its not just a post its a potential unlocker video. Really helpful for upscaling the base knowledge. Respect++
@Vivek-gt4gmАй бұрын
//Marge two string let str1 = 'Hello' let str2 = 'World' //output = HWeolrllod; let bag = ''; let i =0;j=0; while(i
@deepakbisht5149Ай бұрын
in the second condition use j
@Ashwin29047Ай бұрын
let str1 = 'Hello' let str2 = 'World' //output = HWeolrllod; let ans=""; for(let i=0;i
@daybot1634Ай бұрын
No need two variables i and j, lmao. You just check if (str1[i] && str2[i]) are undefined then exit loop.
@_Fancy_Bear_Ай бұрын
Don't take it hard solve like a puzzle just split up the problem and solve the splited problem in code and merge the problem and merge the code boom you got it... in merge string just split problem two concate alternate string so you can use loop for minimum length string after run balance extra string we will concate it to final result using substring method...
@somaprakashrath1Ай бұрын
Bro.. the question of == and === came in the morning interview. Thanks 🤗
@gwwyy_Ай бұрын
Dude why do we use === Tell me
@somaprakashrath1Ай бұрын
@@gwwyy_ It checks if two operands are equal in the both value and in the type.
@gwwyy_Ай бұрын
@@somaprakashrath1 ok bro thaku
@somaprakashrath1Ай бұрын
@@gwwyy_ wlcm bro. And Be successful in your life ☺️
@VishuuuuVlogsАй бұрын
Where did you apply, lol I'm not getting any interview calls
@journalslastpageАй бұрын
20:00 Merge String alternately let s1 = "Hello123456"; let s2 = "World"; let finalStr = ""; for (let i = 0; i < (s1.length > s2.length ? s1.length : s2.length); i++) { if (i < s1.length) finalStr += s1.charAt(i); if (i < s2.length) finalStr += s2.charAt(i); } console.log(finalStr);
@James_Bond62720 күн бұрын
function mergeAlternatively(str1, str2) { let result = ''; const maxLength = Math.min(str1.length, str2.length); for (let i = 0; i < maxLength; i++) { result += str1[i] + str2[i]; } return result; } const str1 = "hello"; const str2 = "world 1234"; const merged = mergeAlternatively(str1, str2); console.log(merged);
@snehalprajapati728619 күн бұрын
Appreciated 👍🏻 @@James_Bond627
3 күн бұрын
" i < (s1.length > s2.length ? s1.length : s2.length)" bro instead of this can't we just write "i < (s1.length)", i already run it showing no error, please tell why you did that ??? thank you.
@journalslastpage3 күн бұрын
for the case when second string is longer than the first string. The logic of the for loop I wrote runs for the length of the largest string, so that all the characters from both the strings are traversed.
@saketshinde7871Ай бұрын
Fantastic interview! Really helpful...
@shujanomaan40119 күн бұрын
Bhai meko dekh ke darr lag raha abb interview Dene se 😭😭
const str1 = "abc2"; const str2 = "xyz13"; function addString(str1, str2) { let minStr = Math.min(str1.length, str2.length); let res = ""; for (let i = 0; i < minStr; i++) { res += str1[i]; res += str2[i]; } str1.length > str2.length ? (res += str1.substring(minStr, str1.length)) : (res += str2.substring(minStr, str2.length)); return res; } const res = addString(str1, str2); console.log(res);
@SCRIPTSAGАй бұрын
It’s good but this is planned interview i think but this is good way to present himself
@theinfinityx223622 күн бұрын
I guess Passing null will cause an error, because i guess react expects the dependency array to be an array or to none so Null won't be valid for it! The no dependency will cause it to run after every render and empty -once on mount
@rishiraj2548Ай бұрын
Thanks
@shivamdeshwal356314 күн бұрын
Bhai string marge wale question bhut aasan tha like 5 min me ho gya tha and bhut simple logic bhi tha, aapne kuch jada hi hard kar diya use or gor se deekho uska ans fir bhi glt hi aaya hai extra 'o' aaya hai usme , but bo bat hai ki thoda pressure environment ki bat ho jata hai, barna aap bhi bad me krke dekhte to badi aasani se ho jata
@AmirKhan-uh5vd6 күн бұрын
Okay bhai, Abbi toh practice kr rha hu
@AmirKhan-uh5vd6 күн бұрын
Okay bhai, Abbi toh practice kr rha hu
@xyzatinАй бұрын
Thanks for sharing. I love Ladakh. Good luck with your YT channel.
@al-baghdadi7914Ай бұрын
10:35 , it will give true
@-PuligantimahendarАй бұрын
finest one keep doning thankyou
@zee8320Ай бұрын
function mergeStrings(param1, param2) { let mergeStr = ""; let maxlength = Math.max(param1.length, param2.length); let suffix = ""; let sortlength = Math.min(param1.length, param2.length); if (param1.length < param2.length) { suffix = param2.slice(param1.length, param2.length); } else { suffix = param1.slice(param2.length, param1.length); } for (let i = 0; i < sortlength; i++) { mergeStr = mergeStr.concat(param1[i], param2[i]); } if (suffix != "") { mergeStr = mergeStr.concat(suffix); } return mergeStr; } let str1 = "hello"; let str2 = "worldABC";
@samK12_18Ай бұрын
20:00 const str1 = "Hello"; const str2 = "World"; function merge2Strings() { let arr1 = [...str1]; let arr2 = [...str2]; let i = 0; let length = arr1.length > arr2.length ? arr1.length : arr2.length; let res = ""; while(i < length) { if(arr1[i]) res += arr1[i] if(arr2[i]) res += arr2[i] i++; } return res; } console.log(merge2Strings());
@toonvibescartoon7 күн бұрын
hey , how much lpa can we expect from this interview ????
@Creepycome20 күн бұрын
I'm really scared. What if don't come up with the answer in the interview😢
@reactjsdeveloperinterview20 күн бұрын
It's fine! You will only improve once you face such type of interviews.
@bholaamahtoАй бұрын
This interview was for freshers or experience?
@reactjsdeveloperinterviewАй бұрын
Fresher
@ayanchatterjee759917 күн бұрын
sir can u tell me how much java script do i have to do to before learning react
@GOKodesАй бұрын
let arr = [[1, 2,[7,8]], [3, 4], [5, 6]] function flatArray(arr) { let res = [] for (let i = 0; i < arr.length; i++){ if (Array.isArray(arr[i])) { res.push(...flatArray(arr[i])) } else { res.push(arr[i]) } } return res } console.log(flatArray(arr));
@HarshJipkate4 күн бұрын
easy solution for merge string bro - const a = "Hello" const b = "World 1234" var ans = '' for(let i = 0; i < Math.max(a.length, b.length); i++){ if(i < a.length){ ans += a[i] } ans += b[i] } console.log(ans)
@tinolbhoyar464629 күн бұрын
Isn't the interview bit long 20 30 mins is enough
@abbasali973021 күн бұрын
no according to this job market it is sufficient
@Purnachandhar-S14 күн бұрын
his voice is very loud and clear ,,,what is the headphones his using?
@quinx94447 күн бұрын
razer heaphones it is
@AmirKhan-uh5vd6 күн бұрын
I was using Razer BlackShark V2 X
@viziergaming75532 күн бұрын
What package they offered you?
@paulhetherington3854Ай бұрын
Look - I wrote - the word "Function?" It don't - give any f(x) -- TTY-- you only!
What was the package for this job interviewed for?
@Codewithkanha20 күн бұрын
50 cr
@debaduttadey16097 күн бұрын
hello sir i wnat know the ans of sum((2)(3)) sum(2,3)
@KrishJhawalta9 күн бұрын
Which keyboard he is using?
@AmirKhan-uh5vd6 күн бұрын
Redragon K617 Fizz
@Lordwisetech29 күн бұрын
Omo 😂😂😂God help me
@cecilselormamediku956029 күн бұрын
Guy 😂
@thebocksters27567 күн бұрын
Is that english ?
@techfab871Ай бұрын
What was the package for this interview
@Jha.rishabhhh12 күн бұрын
₹101k
@Gogeta_46Ай бұрын
After watching this interview I'm scared I'm in 1st year of college and this looks so hard furthermore it's for freshers and they are asking so many complicated questions
@iamshaey8440Ай бұрын
I can teach you
@reactjsdeveloperinterview28 күн бұрын
It's natural to feel like that! You have time in your hand. Just try to improve by 0.5% everyday.
@Gogeta_4628 күн бұрын
@@reactjsdeveloperinterview I just took addmission in computer science, so do I have enough time? And if yes then please please help me a bit I have so many questions to ask
@paraskalura166220 күн бұрын
Salary??
@pragtichya_shikhravarАй бұрын
Dolly Chai Wala Nothing Do this .😅😢
@gareer2436Ай бұрын
can someone explain 44:39 ?
@PrEsHpEeShАй бұрын
Please someone explain this. I think the interviewer was just asking to provide another currying function?
@PrEsHpEeShАй бұрын
This is what I believe would work... function sum(a, b) { if (b !== undefined) { // If the second argument is provided, return the sum directly return a + b; } else { // If only one argument is provided, return a function that takes the second argument return function(b) { return a + b; }; } }
@journalslastpageАй бұрын
47:05 Flatten Array without in built functions const arr = [[1, 2], [3, 4], [5, 6], [7, 8], [9, 0]]; let resultArr = []; function arrayFlatten(val) { if (Array.isArray(val)) val.forEach(arrayFlatten); else resultArr.push(val); return resultArr; } console.log(arrayFlatten(arr));
@rudraavtar775423 күн бұрын
What will be the package If you selected after this level of fantastic interview??? Please reply
@abbasali973021 күн бұрын
3lpa
@techgaming25220 күн бұрын
2.15 lpa
@49_princemaurya22 күн бұрын
2:17 what will function return function fun1() { return 2 } function fun2() { return 4 } let a = (fun1(), fun2()); console.log(a); The comma operator is used here: (fun1(), fun2()), The comma operator executes both functions, but only the result of the last expression is returned. In this case: 1. fun1() is called first and returns 2, but this result is ignored. 2. fun2() is called next and returns 4, which is the value assigned to 'a'.
@surenkumars3181Ай бұрын
bro can you tell me the headphone model bro... really helpful.......
@J-hf8ngАй бұрын
Razer BlackShark v2 i guess
@surenkumars3181Ай бұрын
@@J-hf8ng thanks bro... I find it using Amazon scanner.....
@AmirKhan-uh5vd6 күн бұрын
Razer BlackShark V2 X
@reactjsdeveloperinterviewАй бұрын
Those who want to give mock tests can mail on practicemocks223@gmail.com I have given around 100+ interviews(30+ uploaded) and accordingly your interview will be taken. Feedback will be given one on one in the way you can give better interviews in the near future. NOTE: Interview schedule availability between 10 am and 3 pm due to my corporate schedule timings between 3 pm to 11.30 pm IST
@aysuh-n3gАй бұрын
Damn man its illogical to say that == not check data type just learn about type corecion.
@GG_SYMBIOTEАй бұрын
In JavaScript, the == operator performs a comparison between two values after converting them to a common type. This process is known as type coercion. Because == doesn't check the data type(your answer goes here), it can sometimes lead to unexpected results.
@aysuh-n3gАй бұрын
@@GG_SYMBIOTE claps
@GG_SYMBIOTEАй бұрын
@@aysuh-n3g not my words, from chatGPT, give it a shot, learning the difference
@AmirKhan-uh5vd6 күн бұрын
Sure, I'll learn that. I'd suggest you to check some of the explanations, how == and === works
@ravindrasingh-cw9df14 сағат бұрын
amir bhai linkedin ID do apna
@DheerajSingh-n3x21 күн бұрын
😢itne. Tagde laval pr. Interview hota hi ni fresher ka pgl
@AmirKhan-uh5vd6 күн бұрын
Hota hai bro 🙃
@ashishkumar-jo7cjАй бұрын
Check my code is this correct let str1 = "Hello"; let str2 = "World 1234" let out = "HWeolrllod 1234" function mergeString() { let res = ''; let combineLength = str1.length+str2.length; for(i=0; i
@Om.Dongaonkar10 күн бұрын
var op = ' '; var a = 'HELLO'; var b = 'WORLD1234'; for(var i = 0; i < a.length || i < b.length; i++){ if (i < a.length){ op += a[i]; } if(i < b.length){ op += b[i]; } } console.log(op);
@paulhetherington3854Ай бұрын
/2''pxn rtv II vkx ant < ar br pjz < sfr ba rwch < int=cjx mol/ /~8x tmp rayz wb ar br pjs < rwch 2''pxn / /ba HUD ~8x vw < ar br alien tyl chp < par rwch h6:h2> mol i.e. cnnon/ /+ pachf-stp + df=vkx ant - at ar br pjs - sfr cjx mol - alien zfr ba - 8x tmp rayz wb/
@rehankarol7453Ай бұрын
const str1 = "Hello" const str2 = "Pkew" console.log(str2.charAt(0)) const max = Math.max(str1.length,str2.length) let res= "" for(let i=0;i