├── Nagarro ├── round-1.txt ├── round-2.txt └── round-3.txt ├── NetComLearnings └── round-1.txt ├── README.md ├── TechMojo ├── round-1.txt └── round-2.txt ├── Wingify ├── round-1.txt └── round-2.txt └── ZeeEntertainment └── round-1.txt /Nagarro/round-1.txt: -------------------------------------------------------------------------------- 1 | Its a written test with the below mentioned sections 2 | 3 | 1. 20 Aptitude questions 4 | 2. 2 DSA problems 5 | i. Find the repeated elements and output them as array 6 | ii. Return the largest difference of indices of given character if there is a duplicate else return -1 7 | 3. 40 React and css MCQ questions based on Redux, Memo, snippets 8 | i. Synthetic events 9 | ii. e.preventDefault to prevent event propagation 10 | iii. Event-pointer: none 11 | iv. Which version of useState is used for setting state with calculations 12 | v. useMemo usage 13 | vi. Browser cache 14 | vii. Caption to image in html -------------------------------------------------------------------------------- /Nagarro/round-2.txt: -------------------------------------------------------------------------------- 1 | This is a tech round that longed for 20-30m. These are the questions I was asked during the discussion 2 | 3 | a. avoid event bubbling javascript 4 | b. why initial value is static css 5 | c. how to use react error boundaries in react 6 | d. code splitting react 7 | e. benefits of redux-saga 8 | f. Object.seal vs object.freeze 9 | g. HOC example 10 | 11 | -------------------------------------------------------------------------------- /Nagarro/round-3.txt: -------------------------------------------------------------------------------- 1 | This was another tech round concentrating on React and JS both and it lasted for 30-45m 2 | 3 | - Pseudo classes 4 | - Div > p 5 | - Flex vs grid 6 | - URL vs URI 7 | - REST vs SOAP 8 | - Redux stages 9 | - Async calls in functional based and class based(componentDidUpdate, useEffect hook) 10 | - Fetch and axios 11 | - Modules pattern 12 | - Best practices while coding 13 | - [1,2,3] + [2,3,4] = [1,2,32,3,4] 14 | - Empty an array and tried delete keyword 15 | - Array.slice 16 | - Null vs undefined and typeof null is object and type of undefined is undefined 17 | - SOLID principles 18 | - Callback hell and solution 19 | - Put vs post 20 | - jwt 21 | 22 | 23 | Had HR round after this 24 | 25 | Final verdict: Selected -------------------------------------------------------------------------------- /NetComLearnings/round-1.txt: -------------------------------------------------------------------------------- 1 | This was a tech round focusing on core concepts of JS 2 | 3 | - API optimization at LLD,HLD,FE, DB levels (explain in detail at every stage) 4 | - Rest vs spread operator 5 | - Virtual dom working and benefits 6 | - Closure with example and benefits 7 | - Call, apply and bind with working example 8 | - Redux saga usage 9 | - JWT & refresh token (indepth discussion on Refresh Token VS Access Token) 10 | - HOC and higher order functions 11 | - Class vs function based components 12 | - IIFE and function currying 13 | - output of 15+3+"string" 14 | - output of "string"+15+3 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # About 2 | 3 | This is a common repository for all the interview questions I have faced so far. 4 | 5 | # Folder Structure 6 | 7 | | 8 | --> Company Attended 9 | | 10 | -->Round wise questions 11 | -------------------------------------------------------------------------------- /TechMojo/round-1.txt: -------------------------------------------------------------------------------- 1 | Theory questions based on React and JS 2 | - Redux state 3 | - Async calls in Redux 4 | - some other questions related to React which I forgot 5 | 6 | Problem solving questions 7 | - Write a function to count the occurrence of each character in the input string. 8 | // Input: “abbcccd” 9 | // Output: a: 1, b: 2, c: 3, d: 1 10 | 11 | constraints: Use Array.reduce method to get the output 12 | 13 | - Write a function for the desired output as: 14 | // Input: sum(2)(3)() 15 | // Output: 5 16 | 17 | // Input: sum(2)(3)(4)() 18 | // Output: 9 19 | 20 | - Write a program to convert the below given input format into given output format 21 | 22 | input: 23 | { 24 | user: { 25 | name: "John", 26 | tech: "Frontend", 27 | address: { 28 | home: { 29 | add_1: "home_dummy_add_1", 30 | add_2: "home_dummy_add_2", 31 | }, 32 | office: { 33 | add_1: "off_dummy_add_1", 34 | add_2: "off_dummy_add_2", 35 | }, 36 | }, 37 | }, 38 | }; 39 | 40 | Output: 41 | 42 | { 43 | user_name: 'John' 44 | user_tech: 'frontend' 45 | user_address_home_add_1: 'home_dummy_add_1' 46 | user_address_home_add_2: 'home_dummy_add_2' 47 | user_address_office_add_1: 'off_dummy_add_1' 48 | user_address_office_add_2: 'off_dummy_add_2' 49 | } 50 | 51 | 52 | -------------------------------------------------------------------------------- /TechMojo/round-2.txt: -------------------------------------------------------------------------------- 1 | - Redux state 2 | - Async calls in Redux 3 | - State vs props 4 | - Virtual dom 5 | - Reconciliation 6 | - Redux steps 7 | - Imperative vs declarative coding 8 | - Synthetic events in react 9 | - Event loop 10 | - React hooks and why we need them? 11 | - Why Semicolon is optional in JS? 12 | 13 | Coding question: 14 | Check if two strings are anagrams of each other or not 15 | 16 | Input: 17 | 1. aba ba 18 | 2. aba aba 19 | 3. aba baae 20 | 21 | Output: 22 | 1. False 23 | 2. True 24 | 3. False -------------------------------------------------------------------------------- /Wingify/round-1.txt: -------------------------------------------------------------------------------- 1 | This was a Hackerrank assessment consisting of 8 MCQ related to JS and Problem solving questions 2 | 3 | section-1 : MCQS 4 | The MCQs consisted of promise, async await related questions 5 | 6 | section-2 : Problem solving 7 | 1. convert given templatestring to a parsedString 8 | 9 | eg: 10 | input: ("my name is {{name}}", "{"name":"John"}") 11 | output: "my name is John" 12 | 13 | PS: the second input is in string format, we need to convert to Object reference before working on it 14 | 15 | 2. Return Fibonacci series of a given number 16 | 17 | eg: 18 | input: 8 19 | output: 21 20 | 21 | constraints: 22 | use memoization technique 23 | 24 | -------------------------------------------------------------------------------- /Wingify/round-2.txt: -------------------------------------------------------------------------------- 1 | 1. Output based question and also the reason 2 | let a = []; 3 | let b = []; 4 | 5 | Console.log(a==b) 6 | Console.log(a===b) 7 | 8 | let d1 = new Date(999) 9 | let d2 = new Date(999); 10 | 11 | Console.log(d1==d2) 12 | Console.log(d1===d2) 13 | 14 | 2. Call,apply,bind 15 | 3. Implicit type conversion 16 | 4. What is a promise 17 | 5. Promise.all polyfill 18 | 6. Hoisting 19 | 7. Throttling polyfill 20 | -------------------------------------------------------------------------------- /ZeeEntertainment/round-1.txt: -------------------------------------------------------------------------------- 1 | React and its advantages 2 | State vs Props 3 | Redux Flow 4 | Write a snippet for React component 5 | How do you round off corners of a element in CSS 6 | HTML5 new features 7 | Es6 new features 8 | Hooks 9 | Functions vs class Components 10 | useState 11 | LifeCycle Methods 12 | Order in which Mount phase methods executes 13 | How do you validate input element in HTML5 14 | Breakpoints in css --------------------------------------------------------------------------------