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 →
Angular

Why Angular is a Preferred Choice ✔️ Framework is written in TypeScript Having a built-in TypeScript, Angular provides robust tools to create the client-side of web applications. ✔️ Single-page applications (SPAs) It’s time for SPA (single-page applications) and Angular does its best in that.When we run a web application on a browser and do not […]

Read More →