100 Days Challenge Leetcode

Leet Code 420 Strong Password Checker (HARD)

leetcode 420. strong password checker

Leet Code . 420 Strong Password Checker: Hey there, coding enthusiasts! Welcome back to another exciting coding session. Today’s problem is a treat—literally! We’re going to solve the “Strong Password Checker” or “Leet Code .420‘ Approach The code achieves this by following these steps: C++ Solution Leet Code 420 Leet Code : Longest Palindromic Substring

Leet Code 420 Strong Password Checker (HARD) Read More »

Leetcode 1359 Count All Valid Pickup and Delivery Options (HARD)

leet code 1359. count all valid pickup and delivery option

Counting Valid Pickup and Delivery Sequences: A Dynamic Programming Approach 1. Introduction What is the Problem? You are given n orders, each comprising both pickup and delivery services. The task is to count all the valid sequences of these orders, ensuring that the delivery for each order always occurs after its corresponding pickup. To manage

Leetcode 1359 Count All Valid Pickup and Delivery Options (HARD) Read More »

Maximum Sum Circular Subarray Leet Code with C++, Python, Java, and JavaScript Solutions

leetcode question solution

Example 1: Input: [3,-2,2,-3] Output: 3 Explanation: Subarray [3] and [3,-2,2] both have the maximum sum 3 Example 2: Input: [-2,-3,-1] Output: -1 Explanation: Subarray [-1] has the maximum sum -1 Solution Explanation: We iterate through the array and keep track of the maximum sum subarray seen so far, the maximum sum subarray ending at

Maximum Sum Circular Subarray Leet Code with C++, Python, Java, and JavaScript Solutions Read More »

Find the Longest Substring Without Repeating Characters: Solution and Algorithm

leetcode question solution

The problem of finding the longest substring without repeating characters is a common problem in computer science and can be found in various coding interviews and competitions. The task is to find the longest substring in a given string that does not contain any repeating characters. For example, given the string “abcabcbb”, the longest substring

Find the Longest Substring Without Repeating Characters: Solution and Algorithm Read More »

Amortised Time complexity , and there method to find

What is amortised time complexity and method to calculate? Amortized time complexity is a measure of the efficiency of an algorithm that takes into account the average time taken by the algorithm over a sequence of operations, rather than just the worst-case or best-case time complexity. One method for calculating the amortized time complexity of

Amortised Time complexity , and there method to find Read More »

Binary Trees – Data structure – Nilesh blog.tech

What are Binary Trees? A binary tree is a tree data structure in which each node has at most two children. The children are referred to as the left child and the right child.Binary trees are commonly used to implement binary search trees and binary heaps. They have several useful properties, such as the ability

Binary Trees – Data structure – Nilesh blog.tech Read More »

Leet Code 55. Tackling Jump I , II , III , IV Game | Cpp ,Java ,Python – Day 3

leetcode question solution

Leet Code 55.:In this post, we’ll look at two jump game difficulties offered on Leet Code 55. These are well-known coding tasks that might be difficult to complete in a single attempt.We’ll go over numerous approaches to solving both issues step by step using complexity analysis. So, let’s begin with the first. Day 3 Coding

Leet Code 55. Tackling Jump I , II , III , IV Game | Cpp ,Java ,Python – Day 3 Read More »

Day 2 : FaceBook Asked interview Quetion :- Add Binary Sum – Java ,Python ,Cpp

leetcode question solution

If, you are preperaing for FACEBOOK Interview or will prepare. Then according to LeetCode premium it is no.4 most asked Question by Facebook as per now. Nilesh Most important QUOTE… So Ladies n Gentlemen without any further due let’s start,What question saying is, Given two binary strings a and b, return their sum as a binary string. Explanation of Approach: Explanation

Day 2 : FaceBook Asked interview Quetion :- Add Binary Sum – Java ,Python ,Cpp Read More »