Welcome to itsCodingDoctor, your ultimate destination for mastering the world of programming and acing your tech interviews. Whether you're a seasoned developer or just starting your coding journey, our channel is your go-to resource for all things React, JavaScript, HTML, CSS, and more.
What You'll Find Here:
🚀 Interview Preparations: Learn the most common questions, solve real-world coding challenges, and gain the confidence you need to excel in your tech interviews.
📊 Output-Based Questions: Master the art of coding by tackling output-based questions that not only test your knowledge but also enhance your problem-solving skills.
🗣️ Interview Experiences: Get a glimpse into what it's like to work in the tech industry and learn from those who have been there.
Join us on this exciting journey by subscribing today. Let's code, learn, and succeed together!
let persne={ name:"shivam", age:27 } let array =[] let output = Object.entries(persne).map((items,id)=>{ array.push(items) }) console.log("mdbvsjd",array)
you describe mistake. in event queue(event loop, microtask queue) task is executes in fifo(first in first out) manner. while task is executing in the stack at that time task is executes in lifo(last in first out) manner. please correct it . if i am wrong then describe me please about it
Input = [ {id:1, value:20}, {id:2, value:30}, {id:1, value:10}, {id:2, value:20}, {id:3, value:40} ] Output = [ {id:1, value:30}, {id:2, value:50}, {id:3, value:40} ] These type of questions are being asked in React Js Developer interviews. From where can practice these complex JavaScript questions?
by the way this question is asked a lots of time in interviews. Interviewer expectations are to hear about: react advantages, performance, community support, may be a comparison with Angular etc.
Practice Arrays, Objects and strings coding questions. that's enough. (THIS IS ALSO DSA) No need of DSA until you are targeting some really big companies.
The final challenge of grabbing data, displaying, pagination, ect is probably one of the closest challenges you'll have as a dev especially if you have several years of exp. I appreciate the consice approach of adding pagination functionality, there were different places while coding along where I had a different idea but ended up taking up more time to solve. Thank you
I have 2yr of experience but don't have any work experience in react. And I know the react very well. So, Can I apply for this Accenture React js Developer role?
The video is greate I actually learned some valuable things here but wanted to point out that I think there will be a bug in the code if the last page has different no of elements than other pages For Example: if there where 197 items last page will contain only 7 items not 10 the bug bec indexOfLastTodo= currentPage * todosPerPage will be equal to 199 but which is wrong since the last element index will be 196 when you try to slice the todos using the indexOfLastTodo in the last page it will cause an error as there is no item of index 199
I haven't tested it. I tried to create a happy flow. There might be more bugs/improvement space in my code (i kept it really simple to achieve the basic functionality)
06:10 The question was to differentiate between useMemo and useContext but the candidate has explained useMemo and useCallback. How he is selected in IBM?
May be. See In interviews it's hard to make the best decision in a limited time. Candidates first try to make it work then optimize if the interviewer asks
12:00 how that we can achieve by JavaScript. Bcz sometimes anchor tag to append through loop rendered as string in html page. One more q, if its cause csr then why Amazon using this approach and what are the solutions to prevent this? Pls reply
That's not how tech interviews should be! It's not about memorize and repeat.. I'm a MERN stack developer with 5+ years of experience and I can't recall most of these questions without the help of google and documentation. Technical interviews should be practical with problem-solving exercises, and some questions about the candidate's experience and challenges.
the method you used to fill the array with page numbers is not good. simply you can map an index with index+1. but you wrote complex code(for beginners it is complex)