I have around 2.5 years of experience in MERN stack Recently I started giving interview interview questions 1)what is web workers 2)what is aws-node js architecture 3)explain microservices in node js? Have you ever used? 4) custom hook( I wrote custom hook with long polling concept) 5)middleware in backend? Problems 1)leap year with out using inbuilt function 2)remove duplicates and sort an array without using in built Even answering all I got rejected 😢 because I didn't have any experience on payment methods like razor pay implement or pay tm implementation
I would appreciate the interviewer too for asking real world practical questions which is oftenly faced in development, simultaneously testing the thought process and the problem solving approach.
Last question for protect route we can use react context api, redux for storing user authentication and then redirect through the usenavigate hook otherwise redirect to login page.
27 min last ans is like we can create routeProtector for this like userProtect route, Admin protect route and wrapped the respective route that we wants to protect. Suppose for Admin panel is protected by admin protect route, user order, carts, profile, this will protect by use route. And basically the protect route will do first check is user is loggedIn then he can access his profile, orders,carts. But if users try access a Admin protect route first we will check is loggedIn, then check his role, if his role is admin then return the children else return to errors page. Although protected routes are hide based on his auth and credentials. And to make sure that he should not access it from address bar.
This video has helped me a lot practicing my JS questions, by the way they did not ask much JS and asked only angular. This channel's angular videos specially the cognizant interview was very sharp and gave me resolution on how to study and what to study, watched nearly every videos here and the interviewer has very sharp concept clearance. Gave me a boost in my confidence to sit and be confident while answering. The main thing while the interview was happening is, I was asked nearly everything from CSS, SCSS, Angular and git. Git was nicely answered, but angular questions was half repeated from the cognizant interview video and globant video. Thank You pawan, for helping me and giving me the confidence I wanted to excel the interview. I cleared my first round successfully, and preparing for the next round. Thanks!! Again !!
@@atifasadkhan yes, but my ask was too high & non negotiable...and they wanted someone cheaper and they can go with someone weaker but not costlier coz i only had one year of experience that time & asked 11 lpa total of my that time's current 120% hike.
Interviews I attend: "Here you have 3 tasks for data structure and algorithms , complete them in 1 hour while I'm watching. Let's start with those easy graphs, tries and will proceed with design-patterns-related practical task". This is for mid-level developer ))
How to manage nested routes terms of role based routing? In session we store token of user which will get us role of logged in user through API. We can store this role in context or redux state and then by the help of selector we can get access value from state and add route only if user has the access to that particular page ex: {hasAccess && }
let also going to be hoisted but it will not be attached to the global window, it will be in the separate script block inside the developer tool and for the temporal dead zone ...........? can anyone elaborate on the separate script block
Map: returns an array of pieces of information from the original array. In the callback function, return the data you wish to be part of the new array. Filter: returns a subset of the original array based on custom criteria. anyone here to contribute more
Bro const is not blocked scop it is a global scope but can not re assignment where var is also a global but be re assignment. Whether let is a blocked scope with the function of re assignment.
@@indiancuriousvoice8773 hey buddy it depends on where you create your const variable . If you are creating in any block then it will be accessible in block only so in that case it wil be block scope variable
Had a quick question,what was exactly the question for getting output 1,2 without using let? I think without using setTimeout also by only using var it would have given the same output as 1 2 Please let me know if i missed anything
Hi Nikhil, the question is for how you know event loop and how setTimeout works and when it will execute, without setTimeout this question not makes sense, Please try to create multiple scenarios for such question it will help you in your interview process
"Does this question, which feels more suited to a fresher interview, seem appropriate for candidates with 5+ years of experience? It might be perceived as too basic for seasoned professionals."
map and filter return new array, so it won't affect the original array even if we change the result of them. How come mutability and immutability here?
@@uidevguide I am little bit confusing between frontend and backend. Which one I have to choose if I want a high salary. I have 1 year experience so I am confused which is better for me.
Hi , I have a doubt in shallow copy answer. Shallow means if we do any change in obj1 it will reflect new obj.Right?. You said shallow copy 1. const obj2 = obj1[normal way] 2) Spread Operator 3) Object.assign these are ike shallow copy. But by using Spread Operator, I tried please correct me if am wrong. const emp1={ eid: "E102", ename: "Jack", eaddress: "New York", } const emp3 = {...emp1}; emp3.eaddress = "US"; console.log(emp1); //o/p:{eid: 'E102', ename: 'ashu', eaddress: 'New York'} console.log(emp3); //o/p:{eid: 'E102', ename: 'ashu', eaddress: 'US'} emp1.eid = "E108"; console.log(emp1); //o/p:{eid: 'E108', ename: 'ashu', eaddress: 'New York'} console.log(emp3);//o/p:{eid: 'E102', ename: 'ashu', eaddress: 'US'} please explain?
Q1. Difference between let, var and const.
Q2. // Get output 1,2 without using let.
for(var i=0; i
God mode
thnks
Thanks!
For second last element you can use arr.slice(-2)
thanks ....
Bro after listening to you, it feels like you understand every topic clearly before implementing them in code, great 👍
You got deep knowledge in JS. Awesome man
one can basically evaluate their knowledge in JS with this interview , this was super helpful thank you.
Thank you..
Keep learning !!
Interview questions share for freshers and experienced
I have around 2.5 years of experience in MERN stack
Recently I started giving interview
interview questions
1)what is web workers
2)what is aws-node js architecture
3)explain microservices in node js? Have you ever used?
4) custom hook( I wrote custom hook with long polling concept)
5)middleware in backend?
Problems
1)leap year with out using inbuilt function
2)remove duplicates and sort an array without using in built
Even answering all I got rejected 😢 because I didn't have any experience on payment methods like razor pay implement or pay tm implementation
exactly
Your interview was for which company
@@nehagunne5996 start up
Bangalore
12.5lpa
Depends on the company.
It doesn't mean what you are doing is wrong but company need specifically that person who has worked with payment methods
I would appreciate the interviewer too for asking real world practical questions which is oftenly faced in development, simultaneously testing the thought process and the problem solving approach.
Last question for protect route we can use react context api, redux for storing user authentication and then redirect through the usenavigate hook otherwise redirect to login page.
great answer, this is what I used at my last job
27 min last ans is like we can create routeProtector for this like userProtect route, Admin protect route and wrapped the respective route that we wants to protect. Suppose for Admin panel is protected by admin protect route, user order, carts, profile, this will protect by use route. And basically the protect route will do first check is user is loggedIn then he can access his profile, orders,carts. But if users try access a Admin protect route first we will check is loggedIn, then check his role, if his role is admin then return the children else return to errors page. Although protected routes are hide based on his auth and credentials. And to make sure that he should not access it from address bar.
This is actually a great interview. Thanks for sharing
Do like and share with your friends who needs it
This video has helped me a lot practicing my JS questions, by the way they did not ask much JS and asked only angular. This channel's angular videos specially the cognizant interview was very sharp and gave me resolution on how to study and what to study, watched nearly every videos here and the interviewer has very sharp concept clearance. Gave me a boost in my confidence to sit and be confident while answering.
The main thing while the interview was happening is, I was asked nearly everything from CSS, SCSS, Angular and git.
Git was nicely answered, but angular questions was half repeated from the cognizant interview video and globant video.
Thank You pawan, for helping me and giving me the confidence I wanted to excel the interview.
I cleared my first round successfully, and preparing for the next round.
Thanks!! Again !!
how many years of exp u have and any coding questions they ask??
U made it ?
@@atifasadkhan yes, but my ask was too high & non negotiable...and they wanted someone cheaper and they can go with someone weaker but not costlier coz i only had one year of experience that time & asked 11 lpa total of my that time's current 120% hike.
@@saurabhkumarjha4996 ohhhh !!!! 🙌🙌
Share your Resume if you want to have mock interviews with us,
uidevguide@gmail.com,
If you need any other help,
topmate.io/dashboard/services/video
const obj1 = obj2 is not a shallow copy its an assignment by reference
For a 5+ years of experienced person that questions are really too easy except last 2 or 3 i think
Excellent. Brother.
Thanks for sharing this.
Thank you 🙏🏻.
Keep learning 😎
Great interview ,
Interviews I attend: "Here you have 3 tasks for data structure and algorithms , complete them in 1 hour while I'm watching. Let's start with those easy graphs, tries and will proceed with design-patterns-related practical task".
This is for mid-level developer ))
How to manage nested routes terms of role based routing?
In session we store token of user which will get us role of logged in user through API. We can store this role in context or redux state and then by the help of selector we can get access value from state and add route only if user has the access to that particular page
ex: {hasAccess && }
let also going to be hoisted but it will not be attached to the global window, it will be in the separate script block inside the developer tool and for the temporal dead zone ...........? can anyone elaborate on the separate script block
Great knowledge 👍
Thank you liked it !!
Pure component he said it wrong. He actually told about HOC.
Okay noted..
I dont understand between map vs filter..both are creating new array then what is the difference between these..
Map: returns an array of pieces of information from the original array. In the callback function, return the data you wish to be part of the new array.
Filter: returns a subset of the original array based on custom criteria.
anyone here to contribute more
Bro const is not blocked scop it is a global scope but can not re assignment where var is also a global but be re assignment. Whether let is a blocked scope with the function of re assignment.
padh ke aaa
@@codingwalebhaiya9879 are theory pad k gyan mat pel. Es6 me const ko globally use kia ja sakta hain.
@@indiancuriousvoice8773 Tera baap hu bsdk ke tere se ni ho payega
@@indiancuriousvoice8773 hey buddy it depends on where you create your const variable .
If you are creating in any block then it will be accessible in block only so in that case it wil be block scope variable
How to get a job in frontend developer as a fresher and how to applay for job please make a video ...
IT WAS OK INTERVIEW NEITHER TOUGH NOR EASY
Had a quick question,what was exactly the question for getting output 1,2 without using let?
I think without using setTimeout also by only using var it would have given the same output as 1 2
Please let me know if i missed anything
Hi Nikhil,
the question is for how you know event loop and how setTimeout works and when it will execute,
without setTimeout this question not makes sense,
Please try to create multiple scenarios for such question it will help you in your interview process
"Does this question, which feels more suited to a fresher interview, seem appropriate for candidates with 5+ years of experience? It might be perceived as too basic for seasoned professionals."
When do you want to scheduled mock interview then 😅😅
map and filter return new array, so it won't affect the original array even if we change the result of them. How come mutability and immutability here?
Javascript coding interview questions #codinginterviewquestions @uidevguide
What about the further rounds , is it the only technical or other technicals were there as well
@@uidevguide thank you so much for replying so frequently, any tips for a fresher front end dev, like how to get calls and make my resume attractive.
Very basic questions for 7 years exp
Hi Vaibhav, well said, even I was curious to know how those questions would be for 6-7+ exp
can you give a brief concepts or ways those questions should have been, in you point of view
@@raju4756 He is just a Noobie, just knows to spit in comments
@@primeprocrastinator5175 looks like you're tracking his moves.. Lol, just kidding .🙂.haha
Allow me to take your interview. IF U answer any five questions out of 50 . I will give you 50k.
Can you tel me the intro song please..
hi.. thanks for sharing.. btw have you got selected?
any interview question for angular ?
Hey this interview for react js developer
5+ Years
how is the interviewer following you fast answer... he will simply be freezed... though i know this is edited version and no screen prompting
😇😇😇
Nice
good in javascript but not that good in react
What's ur interview result?
I checked in console and 3-"33" returns -30. Interviewer playing with you?
🥹🥹
Hi bro package?
Private routes
He just throwing text book defination, real life example he doesn't know 🤣🤣
Good at least your prepared.
When you want to mock interview then
@@uidevguide please refer me then, i will give
How much is the package
@@uidevguide please check dm
var ❌ vhar ✅
😂😂😂😮
it s harder to listen your accent then the code
How much ctc did they offer you?
Not joined 🧐🧐
@@uidevguide I am little bit confusing between frontend and backend. Which one I have to choose if I want a high salary. I have 1 year experience so I am confused which is better for me.
Hey @@engiak.shorts5820 please DM on instagram
more interviews in react please
ua-cam.com/play/PLAgJNt0flqKfrqKQaW2_Hq780MMMseEgW.html&si=f5tH_-ar0rsm4g2k
♥♥
for (var i = 0; i
Experience?
I'm also MERN stack dev. Have taken plenty of interviews also. This is a pretty good interview standard I found. Did you clear this round?
Did they ask you any architectural questions? Or design patterns?
Are you working at CTS now?
Hi , I have a doubt in shallow copy answer. Shallow means if we do any change in obj1 it will reflect new obj.Right?.
You said shallow copy 1. const obj2 = obj1[normal way] 2) Spread Operator 3) Object.assign these are ike shallow copy.
But by using Spread Operator, I tried please correct me if am wrong.
const emp1={
eid: "E102",
ename: "Jack",
eaddress: "New York",
}
const emp3 = {...emp1};
emp3.eaddress = "US";
console.log(emp1); //o/p:{eid: 'E102', ename: 'ashu', eaddress: 'New York'}
console.log(emp3); //o/p:{eid: 'E102', ename: 'ashu', eaddress: 'US'}
emp1.eid = "E108";
console.log(emp1); //o/p:{eid: 'E108', ename: 'ashu', eaddress: 'New York'}
console.log(emp3);//o/p:{eid: 'E102', ename: 'ashu', eaddress: 'US'}
please explain?
Yes, spread operator is for deep copy