LeetCode – Coin Change Problem Problem LeetCode Link – https://leetcode.com/problems/coin-change/ You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. Return the fewest number of coins that you need to make up that amount. If that amount of money cannot be made up by any combination of the […]

HackerRank Dictionaries and Maps Problem Problem: https://www.hackerrank.com/challenges/30-dictionaries-and-maps/problem TaskGiven n names and phone numbers, assemble a phone book that maps friends’ names to their respective phone numbers. You will then be given an unknown number of names to query your phone book for. For each name queried, print the associated entry from your phone book on a new […]

React Redux Unit Testing đź’ˇ To Test Redux, First, we have to mock the store. And to mock store, we will use a package named ‘redux-mock-store’. You can find the package on this link:https://www.npmjs.com/package/redux-mock-store đź’ˇ Let’s configure mock store – đź’ˇ If you have thunk middleware then We have to pass middleware into our store […]

Micro frontends with Module Federation | Micro frontends architecture react | micro frontend react | module federation micro frontend react | module federation micro frontend | module federation react | module federation examples | module federation react example đź’ˇ What are Micro Frontends? Micro front-end extends the concepts of microservices to the frontend world. Building […]

react interview question | react interview question and answers | react interview question for senior developer | top react interview question | interview question react | interview question react js | react interview questions đź’ˇ What is the difference between PureComponent and component? React.PureComponent is similar to React.Component. The difference between them is that React. […]

react interview question and answer, top react interview question, interview question react, interview question react js, react routing interview questions, react js routing interview questions, react-router interview questions, react routing, react routing questions This Article contains Question of React Router V5 and V6 React Router v6https://reactrouter.com/docs/en/v6/getting-started/overview đź’ˇ What are route-matching components? Switch and Route are […]

hooks react interview questions, react hooks interview questions, interview questions on react hooks, react questions on hooks, react interview question and answer, top react interview question, interview question react, interview question react js đź’ˇ What is a Hook in React? Hooks are a new addition to React 16.8. Hooks are functions that let you â€śhook […]

higher order component with functional component, higher-order component in functional component, higher-order component, higher-order component in react, hoc react, react higher-order components, higher-order component in react, react hoc functional component, hoc react functional component, hoc in functional component, higher-order components react đź’ˇ A pattern where a function takes a component as an argument and returns […]

react interview questions, interview question react js, top react interview question, react interview question and answers, react interview question, react interview question for senior developer đź’ˇ What is DOM or real DOM? DOM stands for “Document Object Model”. It represents the entire UI of the web application as a tree data structure. In simple terms, […]

interview question react, react interview questions, interview question react js, top react interview question, react interview question and answers, react interview question, react interview question for senior developer âś” What is NPX? The npx stands for Node Package Execute and is included with npm. If you install npm above version 5.2.0, npx will be installed […]

Cyber Security Fundamental Questions & Answers What is a brute force attack? A brute force attack, or exhaustive search, is a cryptographic hack that uses trial-and-error to guess possible combinations for passwords used for logins, encryption keys, or hidden web pages. What is password spraying? Password spraying is a type of brute force attack. In […]

Application & Web Security Interview Questions âś” What is the meaning of 256-bit encryption? To transmit electronic documents or data over the internet, we use encryption algorithms and when encryption uses a key of 256-bit length, that is called 246-bit encryption. âś” What is the Cipher suite? Cipher Suite is a set of algorithms that […]

Top Scrum Master and Agile Question & Answers âś” What is the User story INVEST Model in Agile? A good user story should be: Independent (of all others)Negotiable (not a specific contract for features)Valuable (or vertical)Estimable (to a good approximation)Small (so as to fit within an iteration)Testable (in principle, even if there isnâ€™t a test […]

Trapping Rain Water Leetcode This question is taken by LeetCode. You can find question detail by the below link. Let’s write an optimized solution to this problem. https://leetcode.com/problems/trapping-rain-water/ Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining. Example 1: Input: height = […]

Array Representation of Binary Tree đź’ˇ What is Full Binary Tree? A full binary tree is also known as a proper binary tree or a 2-tree is a tree in which every node other than the leaves has two children. If height of the tree is h then the maximum number of nodes – 2^(h+1) […]

Graphs in Data Structure Graphs are really just collections of nodes and edges. In the graph, these nodes are often called vertices or vertex for singular, and the connection is often called an edge. The important thing is here that these nodes can have multiple connections to multiple different nodes. This is one of the […]

Traversing 2 D array đź’ˇ First Understand JavaScript multidimensional array JavaScriptÂ doesÂ notÂ provideÂ theÂ multidimensionalÂ arrayÂ natively.Â However,Â WeÂ createÂ aÂ multidimensionalÂ arrayÂ byÂ definingÂ anÂ arrayÂ ofÂ elements,Â whereÂ eachÂ elementÂ alsoÂ containsÂ anÂ array. đź’ˇ CreateÂ 2Â DÂ ArrayÂ inÂ JavaScript đź’ˇ Let’s See 3-D array Structure – each element of the array is a two-dimensional array. BFS & DFS đź’ˇ What is BFS? BFS stands for Breadth-First Search. It is also known as level order traversal.BFS algorithm uses a queue data structure to track […]