MMT Round 1 What optimization techniquess u followed to achieve ideal live streaming ? How to implement live chatbot ? - using WebSocket. Why Websocket ? Is Js single threaded ? - full story is setState Asynchronous ? - yes its is asynchronous like a microtask If there are 3 setState each having different console log & there is log before 1st & after last what will be the sequence of console logs ? how does react virtual domo works ? -recoincilation How react uniquely identifies element ? identifiers How will react behave when there are multiple id's same id ? but my logic is correct update array will it work ? - yes What are usecase of useMemo & useCallback ? If we pass fn(e.g. a fun to make api call based on id( to child component & you don't it to re-render again we use useCallback in parent component. You can calculate and memoize the value in the parent component using useMemo and send it as props to Pagination What are use Purecomponent ? how to implement it in fn component ? - React.memo Diff b/w promise.all & promise.allSettled ? In promise.all the given array of promises gets resolved in different time with different timers. will the result be in sequence of resolution or sequence of order maintained ? MakeMyTrip round 2 : What is diff b/w CSR & SSR ? When will you use SSR ? - SSR is used for pages that consume highly dynamic data - SSR is used when want page highly SEO-friendly. - When a page is rendered into HTML on the server, all of the heavy-lifting is taken care of. For this reason, when the response makes it to the client’s browser, there isn’t much work left for the browser to display the page. It’s ready to go upon delivery How to manage routing in SSR ? How will client manage routes to get data & api calls in SSR ? Drwabacks of SSR ? - pages are not interactive, bland user experience. - solution is code splitting & hydration How SSR works in depth ? How will client detect route using SSR ? Difference between clieny side rendering & Server side rendering What are web-vitals ? What is CLS, FID ? FID= first input delay, time to ready for interaction. CLS Cumulative Layout shift is sudden change in shift of layout which dusrupts user experience. We can make transition smooth animation or transition. What are hooks in React ? syntax of useEffect ? What is prototype in Javascript ? diff b/w useMemo & useCallback ? How to implement useMemo using useCallback ? Implement a counter in code-sandbox ? Memoize increment function ? use useCallback here ?
Lead Programmer Analyst Interview Questions
3,941 lead programmer analyst interview questions shared by candidates
Explain sdlc steps and also different types of testing
CI/CD related questions.
1. Write a sudo code for a snake game. With a given board on N*M matrix, a snake can start from point x,y and movie in any direction (right, left, top, bottom). There are some fruits placed at random position. Snakes length's increases if it hits a fruit or decreases if it hits a wall. 2. Design a DS for doing a full text search 3. Flatten a binary tree to a linked list
- Sql query to get 4th largest salary of employee - Code to remove duplicate from array
1. Given an unsorted array find the mindiff in k elements * A = {1,3,5,7,11, 12, 13}, n=7 k=3 * {1,3,5} diff(5,1) = 4 * {11,12,13} diff(11,13) = 2 op : 2 2. we are given an unsorted array size = n all elements>0 find : total no of elements for which there should be atleast 1 number which is smaller on left and right side
Third Round, CTO, I was asked some cultural fit questions, some questions about my past experience and some questions about the previous round.
1. Create a spring-boot application for CRUD operations. 2. Factory Design Pattern. 3. Print the Permutations of a string.
How to handle exceptions in Spring Boot Write a program using Java Collections Explain multithreading and thread safety Easy leetcode problem
They asked all questions related to my skills
Viewing 1831 - 1840 interview questions