coin change problem

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 […]

Read More →

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 […]

Read More →

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 […]

Read More →
micro frontends

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 […]

Read More →
react js

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. […]

Read More →
Routing

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 […]

Read More →
react js

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 […]

Read More →
higher order component with functional component

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 […]

Read More →
react js

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, […]

Read More →

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 […]

Read More →
Cyber security

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 […]

Read More →
Security crime

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 […]

Read More →
Scrum

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 […]

Read More →
Trapping Rain Water

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 = […]

Read More →

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) […]

Read More →

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 […]

Read More →
2d matrix

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 […]

Read More →
Time Complexity

Time Complexity & Calculations Time complexity measures the time taken to run each statement of code in an algorithm. Space and Time complexity can define the effectiveness of an algorithm. đź’ˇ Time complexity depends on the number of inputs passed to that algorithm. And, there is a relation between the input data size (n) and […]

Read More →
JavaScript Algorithms

Backspace String Compare Leetcode LeetCode Question Link: https://leetcode.com/problems/backspace-string-compare/ Given two strings s and t, return true if they are equal when both are typed into empty text editors. ‘#’ means a backspace character. Note that after backspacing an empty text, the text will continue empty. Example 2: Input: s = “ab##”, t = “c#d#” Output: true Explanation: Both s and t become […]

Read More →
interview

Angular Interview Questions & Answers đź’ˇ What is ng-template in Angular? ng-template is a template element that is used with structural directives like *ngIf, *ngFor, [ngSwitch], and custom directives that we create. So what happens here, Actually Angular converts the above structural directive to the below ng-template code: đź’ˇ How can we manually use *ngIf […]

Read More →