deepaksingh1301.hashnode.dev🏝️ Leetcode-695 : "Max Area of Island" — Full Approach and Code BreakdownProblem Statement You are given a 2D grid where: 1 represents land 0 represents water Find the area of the largest island in the grid.(An island is made of connected 1's — connected horizontally or vertically.) Approach To solve this, we use D...Apr 26, 2025·4 min read
deepaksingh1301.hashnode.devTackling the Circle Intersection Problem in a React InterviewThe Interview Question During a recent technical interview, I was given an interesting challenge: "You need to build a React application where users can click anywhere on the screen to generate circles of random sizes. The circles should change colo...Feb 12, 2025·4 min read
deepaksingh1301.hashnode.devInterview Question: React Component Handling Checkbox and Button EventsQuestion: You are given a React component that renders a list of items. Each item is accompanied by a checkbox and a delete button. The checkbox allows the user to toggle the state of the button, and the button allows the user to delete the item from...Mar 30, 2024·4 min read
deepaksingh1301.hashnode.devUnderstanding useRef Hook in React: A Simple Countdown Timer ExampleToday, during an interview session, I encountered an interesting scenario. I asked the candidate to create a simple countdown timer using React. However, despite his knowledge of React basics, he struggled to implement the timer functionality correct...Mar 14, 2024·4 min read
deepaksingh1301.hashnode.devMastering React Context API: Simplifying State ManagementEffective state management is at the heart of building modern web applications. As your applications become more intricate, handling state can become increasingly challenging. React's Context API emerges as a powerful ally in such scenarios. In this ...Oct 26, 2023·6 min read