0273 Integer to English Words
This is a solution to the Integer to English Words problem on LeetCode.
This is a solution to the Integer to English Words problem on LeetCode.
find the number of triplets with given sum .
This is a solution to the Account Balance After Rounded Purchase problem on LeetCode.
This is a solution to the Adaptive Segment Search algorithm problem.
This is a solution to the Add Strings problem on LeetCode.
This document covers methods to check if two strings are anagrams of each other in various programming languages.
This document covers methods to calculate the angle between the hour and minute hands of a clock at a given time in various programming languages.
This document provides solutions to whether an array is the subset of another.
This is a solution to the Average Waiting Time problem on LeetCode.
This is a solution to the AVL Tree Search problem on Geeks for Geeks.
This is a solution to the Backward Search Algorithm problem.
This document covers methods to check if an array is balanced in various programming languages.
This is a solution to the Balanced Binary Tree problem on LeetCode.
This document provides solutions to the problem of performing a Breadth First Search (BFS) traversal of a directed graph in various programming languages.
This document provides solutions for sorting a binary array, where elements are either 0 or 1.
This document covers methods to convert a binary number to a decimal number in various programming languages.
This is a solution to the Binary Prefix Divisible By 5 problem on LeetCode.
This document provides solutions to the problem of performing Binary Search in a sorted array.
This is a solution to the Binary Search problem on Geeks for Geeks.
This document provides solution on how to find substrings of a binary string in various programming languages.
This is a solution to the Binary Tree Level Order Traversal problem on LeetCode.
This is a solution to the Binary Tree Preorder Traversal problem on LeetCode.
This is a solution to the Binary Tree Right Side View problem on LeetCode.
This document provides a solution to the Binary Trees With Factors problem, where we need to count the number of binary trees that can be formed with a given array of integers such that each node's value is the product of its children's values.
This document provides a solution to the Binary Trees With Factors problem, where we need to count the number of binary trees that can be formed with a given array of integers such that each node's value is the product of its children's values.
This is a solution to the Binary Watch problem on LeetCode.
This is a solution to the Binary-Tree-Postorder-Traversal problem on LeetCode.
This document explains how to convert A to B using bit manipulation.
This is a solution to the Bitonic Sort Algorithm problem.
This document provides a solution where we return the bitwise AND of all numbers in a given range.
This is a solution to the Block Search problem.
This document provides a solution where we need to design a ticketing system that can allocate seats.
This is a solution to the Breadth First Search (BFS) problem on Geeks for Geeks.
This is a solution to the. Brick-Wall problem on LeetCode
This is a solution to the Bubble Sort problem on Geeks for Geeks.
This document provides solutions to this problem implemented in C++, Java, and Python.
This is a solution to the Calculate Money in Leetcode Bank problem on LeetCode.
This is a solution to the Candy problem on LeetCode.
This document provides a solution to the Card Flipping Game problem, where we need to find the smallest number that is on the front of a card and not on the back of any card.
This document provides solutions to whether two arrays are equal or not.
This is a solution to the Balanced Binary Tree problem on LeetCode.
This document covers methods to check if one string is a subsequence of another string in various programming languages.
This document covers methods to check if a string is an isogram (a string with no repeating characters) in various programming languages.
This document provides solutions to this problem implemented in C++, Java, and Python.
This document provides solutions to whether a linked list is circular or not.
This is a solution to the Check If Numbers are Ascending in a Sentence on LeetCode.
This document provides a solution where we need to reach the point (targetX, targetY) using a finite number of steps.
This is a solution to the Valid Parentheses Path problem on LeetCode.
This document explores different approaches to solving the climbing stairs problem, including recursion, memoization, tabulation, and space optimization.
This document covers methods to find the closest number to a given target in an array in various programming languages.
This document provides a solution to the combination sum III problem,
Given two version strings, compare them. Return -1, 1, or 0 based on the comparison.
This is a solution to the Complement of Base 10 Integer problem on LeetCode.
This is a solution to the Concatenate Array problem on LeetCode.
This document provides solutions for the Construct Binary Search Tree from Preorder Traversal problem.
This is a solution to the Continuous Subarray Sum problem on LeetCode
This is a solution to the Convert a Number to Hexadecimal problem on LeetCode.
This is a solution to the Copy List with Random Pointer problem on LeetCode.
Solve the problem of calculating the total number of seats reserved for each flight using the booking intervals and prefix sum technique.
This is a solution to the Count Good Meals problem on LeetCode.
This document provides solutions to this problem implemented in C++, Java, and Python.
This document provides solutions for counting the number of leaf nodes in a binary tree.
This document provides solutions to counting the nodes in a linked list.
This is a solution to Count Nodes Equal to Average of Subtree problem on LeetCode.
This document provides solutions to this problem implemented in C++, Java, and Python.
This is a solution to Count Number of Texts problem on LeetCode.
This document covers methods to count the number of odd and even integers in an array.
This is a solution to the Count Odd Numbers in an Interval Range problem on LeetCode.
This document provides solutions for finding the maximum total reward using dynamic programming and bit manipulation, implemented in C++, Java, and Python.
This document provides solutions for calculating perfect squares.
This is a solution to the problem of counting subarrays with product less than a given value K.
This is a solution to Count Unguarded Cells in the Grid problem on LeetCode.
This document provides solutions for Count-Alternating-subarrays solution of leetcode questions
This is a solution to the Counting Bits problem on LeetCode.
This is a solution to the Counting Sort problem on Geeks for Geeks.
This is a solution to the Cycle Sort problem on Geeks for Geeks.
This document provides solutions to cyclically rotate the array by one.
This is a solution to the Data Stream as Disjoint Intervals problem on LeetCode.
This is a solution to the Defuse the Bomb problem on LeetCode.
This document covers methods to delete alternate nodes from a linked list in various programming languages.
This document provides solutions to the problem of deleting the middle node from a singly linked list in various programming languages.
This document provides a solution to the Delete Node in a Linked List problem, where we need to delete a given node from a singly linked list.
Solve the problem of deleting nodes from a binary tree and returning the forest of remaining trees using depth-first search.
Given two strings , return the min no of steps in which you can make one string to another.
This document provides solutions to the problem of deleting a node from a singly linked list without having a reference to the head pointer in various programming languages.
This is a solution to the Depth First Search (DFS) problem on Geeks for Geeks.
This document provides solutions to this problem implemented in C++, Java, and Python.
This is a solution to the Detect Pattern problem on LeetCode.
This is a solution to the Determine if String Halves Are Alike problem on LeetCode.
Solve the problem of finding the number of ways to tile a 2 x n board using 2 x 1 dominos and tromino shapes.
This document covers methods to insert a node at a given position in a doubly linked list in various programming languages.
This document covers methods to find elements within a specified range in an array in various programming languages.
This is a solution to the Evaluate Bracket Pairs problem on LeetCode.
This document covers methods to find the element that occurs an odd number of times in an array in various programming languages.
This is a solution to the Exponential Search problem.
This document provides solutions to finding the factorial of a number.
This is a solution to the Faulty Keyboard problem on LeetCode.
This document provides solutions to a problem using the Fenwick Tree (Binary Indexed Tree) data structure, implemented in C++, Java, and Python.
This is a solution to the Fibonacci Search algorithm problem.
This document covers methods to find all factorial numbers less than or equal to a given number n in various programming languages.
This document provides a solution where we will be returning an array in increasing order , satisfying the condition given
This document provides solutions to this problem implemented in C++, Java, and Python.
This document provides solutions for the Find Common Characters problem on LeetCode.
This document provides solutions to finding the minimum and maximum element in an array.
This document provides solutions for the Find Minimum Operations to Make All Elements Divisible by Three problem.
This document covers methods to find the n/k-th node in a linked list, where n is the length of the list and k is a given integer, in various programming languages.
This document covers methods to find the position of the set bit in a number in various programming languages.
This document provides solutions to this problem implemented in C++, Java, and Python.
This is a solution to the Find Root of N-Ary Tree problem on LeetCode.
This document provides a solution where we need to find the nearest palindrome to a given number n, the idea is to generate potential palindromic candidates close to n and then determine which one is closest in terms of absolute difference.
This document covers methods to calculate total fines based from the cars in various programming languages.
Calculate the m x n grid result, where result[i][j] is the average intensity of the regions to which image[i][j] belongs, rounded down to the nearest integer.
This document provides solutions to this problem implemented in C++, Java, and Python.
This document covers methods to find the smallest and second smallest elements in an array using various programming languages.
Identify the town judge based on trust relationships in a town.
This document explores different approaches to solving the problem of finding a triplet in an array that sums up to zero, including solutions in JavaScript, TypeScript, Python, Java, and C++.
This is a solution to the. Find All Duplicates in an Array problem on LeetCode
This document covers methods to find the first and last occurrences of a specified element X in an array in various programming languages.
This is a detailed explanation and implementation of the Fractal Search Algorithm.
This document provides solutions for forming the array by xoring the consecutive elements in various programming languages.
This document covers methods to calculate the Greatest Common Divisor (GCD) of an array of integers in various programming languages.
This is a solution to the Get Maximum in Generated Array problem on LeetCode.
Find the list of videos watched by friends up to a certain level, ordered by their frequencies.
This is a solution to the Gnome Sort problem on Geeks for Geeks.
This document explores different approaches to solving the Gray to Binary Equivalent problem, including brute force, bit manipulation, and optimization techniques, in various programming languages.
This document covers methods to replace every element with the greatest element in various programming languages.
This document provides solutions for the Grumpy Bookstore Owner problem on LeetCode.
This document provides a solution for Happy Number problem on LeetCode.
This is a solution to the Heap Sort problem on Geeks for Geeks.
This is a solution to the Heuristic Search problem.
This is a solution to the Hierarchical Binary Search problem.
This document provides a solution to the House Robber II problem, where houses are arranged in a circle.
This is a solution to the How Many Xs problem.
This is a solution to the Hybrid Jump Binary Search algorithm problem.
This document provides solutions for checking whether two linked lists are identical or not.
This document provides solutions to finding the intermediate smaller element in an array.
This document provides solutions to implement a queue using an array.
This document covers the implementation of a Queue data structure using a Linked List in various programming languages.
This document provides an implementation of a queue using stacks, supporting push, pop, peek, and empty operations.
This document provides solutions to implement a stack using array.
This document provides solutions to implementing a stack using linked list.
This document provides solutions to check if a string is a substring of another.
This document provides a solution to the Implementation of Trie.
This document provides solutions to the problem of implementing two stacks in a single array using various programming languages.
This is a solution to the Increasing Triplet Subsequence problem on LeetCode.
This document covers methods to find the index of the first occurrence of 1 in a sorted array of 0s and 1s in various programming languages.
This document provides solutions for inorder traversal of a tree.
This document provides solutions for inserting a node in the middle of a linked list.
This is a solution to the Insertion Sort problem on Geeks for Geeks.
This is a solution to the Insertion sort list problem on LeetCode.
This is a solution to the Interpolation Search problem.
This document provides solutions to this problem implemented in C++, Java, and Python.
This document provides solutions to the problem of finding the intersection of two sorted linked lists in various programming languages.
This is a solution to the Inverted Index Search problem.
This document covers methods for determining the tastiness level of the square which his sister gets in various programming languages.
This document provides solutions for determining if two strings are isomorphic.
This is a solution to the Jump Search problem.
This is a solution to Count Unguarded Cells in the Grid problem on LeetCode.
This is a solution to the K Inverse Pairs Array problem on LeetCode.
This document provides solutions for the Kids With the Greatest Number of Candies problem.
This document provides a solution where we Find the kth ancestor of a given node.
This is a solution to the Kth Missing Positive Number problem on LeetCode.
This document provides a solution where we Return the $k^th$ smallest amount that can be made using these coins.
This document provides solutions to this problem implemented in C++, Java, and Python.
This document provides solutions to find the largest element in an array.
Find the last day where it is possible to walk from the top to the bottom of a binary matrix by only walking on land cells.
This document covers methods to find the last index of '1' various programming languages.
This is a solution to the Last Moment Before All Ants Fall Out of a Plank problem on LeetCode.
This document provides solutions for finding the Least Common Multiple (LCM) and Greatest Common Divisor (GCD) of integers.
This document covers methods to determine if a given year is a leap year or not in various programming languages.
This document explores different approaches to solving the lemonade change problem, including an easy C++ solution with a greedy algorithm approach.
This document provides a solution where we Return a string denoting the lexicographically smallest string t
This is a solution to the Linear Search problem on Geeks for Geeks.
This document provides a solution to the Linked List Components problem, where we need to count the number of connected components in a linked list.
This document provides solutions to inserting an element in the linked list.
This document covers methods to determine if the length of a linked list is even or odd in various programming languages.
Given two strings , return the longest common subsequence .
This document provides solutions for the Longest Continuous Subarray with Absolute Diff Less Than or Equal to Limit problem.
This is a solution to the Longest Unequal Adjacent Groups Subsequence I problem on LeetCode.
This is a solution to the longest word in dictionary through deleting problem on LeetCode.
This is a solution to the longest-valid-parentheses on LeetCode
This document provides a solution to the Majority Element II problem, where we need to find all elements that appear more than ⌊ n/3 ⌋ times.
This is a solution to the Make Sum Divisible by P problem on LeetCode.
This is a solution to the problem of determining the number of matchsticks the first player should pick to guarantee a win in the matchsticks game.
This is a solution to the Matrix Diagonal Sum problem on LeetCode.
This document provides solutions for the Max Consecutive Ones III problem on LeetCode.
This document covers methods to find the maximum and minimum elements in an array using various programming languages.
This document provides a solution where we find the largest square containing only 1's and return its area.
Given an array of happiness values, return the maximum sum of happiness values by selecting k children.
This is a solution to the Maximize Sum After K Negations problem on LeetCode.
This is a solution to Maximum Bags With Full Capacity of Rocks problem on LeetCode.
This is a solution to the Maximum Binary String After Change problem on LeetCode.
This document provides solutions to this problem implemented in C++, Java, and Python.
This is a solution to Maximum Consecutive Floors Without Special Floors problem on LeetCode.
This document covers methods to find the maximum number of days the room remains illuminated using candles that reduce by 1 unit each day, given an array representing the sizes of the candles.
This is a solution to the Maximum Depth of Binary Tree problem on LeetCode.
This document provides solutions for the Maximum Difference Between Node and Ancestor problem.
This document covers methods to calculate the maximum amount of money that can be collected from a sequence of houses where every house has some amount of money in various programming languages.
This is a solution to the Maximum Non Negative Product in a Matrix problem on LeetCode.
This is a solution to the Maximum Number of Eaten Apples problem on LeetCode.
This document provides a solution where we Return an integer denoting the maximum number of groups you can create while satisfying these conditions.
This document explores algorithms to find the maximum occurring character in a string.
This is a solution to the Maximum Price to Fill a Bag problem on LeetCode.
This document provides solutions to this problem implemented in C++, Java, and Python.
Solve the problem of finding the maximum product of the lengths of two non-intersecting palindromic substrings in a given string.
This is a solution to the Maximum Product Subarray problem on LeetCode.
This document provides solutions for finding the maximum total reward using dynamic programming and bit manipulation, implemented in C++, Java, and Python.
This document provides solutions to this problem implemented in C++, Java, and Python.
This is a solution to the Maximum Units on a Truck problem on LeetCode.
This is a solution to Maximum White Tiles Covered by a Carpet problem on LeetCode.
This document provides a solution to the Median Finder problem, where you need to efficiently find the median of a stream of numbers.
This is a solution to the Merge Sort problem on Geeks for Geeks.
This is a solution to the Merge Strings Alternately problem on LeetCode.
This document covers methods to find the middle of three given numbers in various programming languages.
Given a triangular type matrix we need to return the minimum sum for reaching the bottom from the top . in each step we can either move down or diagonally right
Given a triangular type matrix we need to return the minimum sum for reaching the bottom from the top . in each step we can either move down or diagonally right
This document provides solutions to this problem implemented in C++, Java, and Python.
This document provides solutions for Minimize Manhattan Distances using dynamic implemented in C++, Java, and Python.
This is a solution to the Minimum Adjacent Swaps for K Consecutive Ones problem on LeetCode.
This document provides solutions to this problem implemented in C++, Java, and Python.
This document provides solutions for the Minimum Average of Smallest and Largest Elements problem.
This document provides a solution where we return the minimum cost to connect the two groups.
This document provides a solution where we Return the minimum cost required to make all elements in the array equal.
Find the minimum depth of a binary tree, which is the number of nodes along the shortest path from the root node down to the nearest leaf node.
This document provides solutions to finding the minimum element in a binary search tree.
This document explores different approaches to solving the problem of finding the minimum index of a character in a string that is also present in another string, including solutions in JavaScript, TypeScript, Python, Java, and C++.
This is a solution to theMinimum Number of Moves to Seat Everyone problem on LeetCode.
This is a solution to the Minimum Operations to Make a Subsequence problem on LeetCode.
This document provides solutions for the Minimum Operations to Make Binary Array Elements Equal to One II problem on LeetCode.
This document provides solutions to this problem implemented in C++, Java, and Python.
This document provides a solution to the Minimum Size Subarray Sum problem
This is a solution to the Minimum Suffix Flips problem on LeetCode.
Solve the problem of finding the minimum time required for a word to revert to its initial state after performing specific operations.
This document provides a solution of Minimum-cost-walk-in-weighted-graph
This document provides a solution of Minimum-operation-to-make-median-of-array-equal-to-k
This document provides a solution of minimum-rectangle-to-cover-point
This document covers methods to find the missing number in an array in various programming languages.
This document provides a solution to the Most Common Word problem, where we need to find the most frequent word in a paragraph that is not in a list of banned words.
This document covers methods to calculate the product of the left and right array sums for a given array in various programming languages.
This document covers methods to find the node at a given index in a linked list in various programming languages.
This page explains the problem of finding non-negative integers without consecutive ones.
This document covers methods to determine if a number is sparse or not in various programming languages.
This document provides a solution where we count the total number of digit $1$ appearing in all non-negative integers less than or equal to n.
This is a solution to the Number of Island problem on LeetCode.
Solve the problem of counting the number of words that are subsequences of a given string using various efficient methods.
Solve the problem of finding the number of contiguous non-empty subarrays where the maximum element is within a given range.
This is a solution to the Number of Valid Words problem on LeetCode.
This document provides solutions to this problem implemented in C++, Java, and Python.
This is a solution to Number of Ways to Split Array problem on LeetCode.
This document provides a solution to group all the nodes with odd indices together followed by the nodes with even indices given the head of a singly linked list.
This is a solution to the Odd-Even Sort Algorithm problem.
This is a solution to the Palindrome Pairs problem on LeetCode.
This is a solution to the Palindromic Substrings problem on LeetCode.
This is a solution to the Pancake Sorting problem on LeetCode.
This document provides solutions for the Partition Array Into Three Parts With Equal Sum problem.
This document provides a solution to the Partition Equal Subset Sum problem.
This is a solution to the Pascal Triangle Row problem.
Generate the first n rows of Pascal's Triangle.
Return the kth row of Pascal's triangle.
This document provides solutions for the Patching Array problem.
This document explores finding the number of paths to reach the origin (0, 0) on a grid.
This document covers methods to print square pattern in various programming languages.
This document covers methods to print a pattern in various programming languages.
This document covers methods to printinverted pyramid in various programming languages.
This document covers methods to print triangle number in various programming languages.
This is a solution to the Pattern Matching with Wildcards problem.
This document provides solutions to the problem of finding peak element in an array.
This document provides solutions for the Perfect Number problem.
This is a solution to the Pigeonhole Sort problem on Geeks for Geeks.
Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set to NULL.
Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set to NULL.
This document provides solutions postorder traversal of a binary tree.
This document provides solutions to the problem of checking whether a non-negative number is a power of 2.
This is a solution to the Power of Four problem on LeetCode.
This is a solution to the Powerful Integers problem on LeetCode.
This document provides solutions to preorder traversal of a binary tree.
This document provides solutions to checking whether a number is prime or not.
This document covers methods to print the first letter of every word in a given string in various programming languages.
This document provides solutions to printing first N Fibonacci number.
This document provides solutions to cyclically rotate the array by one.
This document covers methods to calculate the product of all elements in an array in various programming languages.
This document covers methods to find the product of the maximum element in the first array and the minimum element in the second array in various programming languages.
This is a solution to the Quantum Wave Search problem.
This is a solution to the Quick Sort problem on Geeks for Geeks.
This is a solution to the Radix Sort problem
This is a solution to the Range Sum of Sorted Subarray Sums problem on LeetCode.
This document provides solutions to this problem implemented in C++, Java, and Python.
This is a solution to the Rearrange Spaces Between Words problem on LeetCode.
This document provides a solution to the Reducing Dishes problem, where we need to maximize the sum of the satisfaction of dishes.
This document provides solutions for the Relative Ranks problem.
This document covers methods to remove a characters from the first string that are present in the second string in various programming languages.
This document covers methods to remove common characters from two strings and concatenate the remaining characters in various programming languages.
This document covers methods to remove consecutive duplicate characters from a string in various programming languages.
This document provides solutions to this problem implemented in C++, Java, and Python.
This is a solution to the Remove Duplicates from Sorted List problem on LeetCode.
This document provides solutions for removing all nodes from a linked list that have a specific value.
This document provides solutions for the Remove Nodes from Linked List problem.
Solve the problem of determining whether an array can be made strictly increasing by removing exactly one element.
This document provides a solution to the Remove Invalid Parentheses
This document covers methods to find the first repeated character in a string in various programming languages.
This is a solution to the Replace All ?'s to Avoid Consecutive Repeating Characters problem on LeetCode.
This document covers methods to replace all occurrences of the digit 0 with the digit 5 in a given number in various programming languages.
This document covers methods to replace all occurrences of 0 with 5 in a given number in various programming languages.
This is a solution to the Replace Words problem on LeetCode.
This document explores different approaches to reversing a doubly linked list in-place, including solutions in Python, Java, C++, JavaScript, and TypeScript.
This document explores different approaches to reversing a linked list, including solutions in Python, Java, C++, JavaScript, and TypeScript.
This document provides solutions to the problem of reversing a string.
This document provides solutions to reverse an array in groups.
This document provides solutions for determining the Reverse Linkedlist.
This document provides a solution for the given problem in c++ , java and python languages
This is a solution to the Rotate Array problem on LeetCode.
This is a solution to the Rotate Array problem on LeetCode.
This document provides solutions for rotating an array to the left or right by a specified number of positions.
This is a solution to the Same Tree problem on LeetCode.
Determine if it is possible to assign integers to variable names to satisfy all given equality and inequality equations.
This document provides solutions for the Score After Flipping Matrix problem.
This document covers methods to search for a node in a Binary Search Tree (BST) in various programming languages.
This document provides solutions to the problem for searching an element in the array.
This document provides solutions to finding the position of an element in the array.
This document provides solutions for searching an element in a sorted array.
This is a solution to the Selection Sort problem on Geeks for Geeks.
This is a solution to Sender With Largest Word Count problem on LeetCode.
This document covers methods to set the kth bit of a number to 1 in various programming languages.
This is a solution to the Set Mismatch problem on LeetCode.
This is a solution to the Shell Sort problem on Geeks for Geeks.
This document provides a solution to finding the shortest palindrome by adding characters in front of the given string.
This is a solution to the Shortest Word Distance problem on LeetCode.
This is a solution to the Shuffle String problem on LeetCode.
This is a solution to the Single Number problem on LeetCode.
This is a solution to the Single Number ii problem on LeetCode.
Given an integer array `nums`, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appear only once. You can return the answer in any order.
This document covers methods to calculate the size (number of nodes) of a binary tree in various programming languages.
This is a solution to the Skip List Search problem.
This document provides solutions to sorting an array.
This document covers methods to sort elements of a matrix in non-decreasing order in various programming languages.
This document provides solutions to this problem implemented in C++, Java, and Python.
This document provides solutions for the Special Array with X Elements Greater Than or Equal X problem.
This document provides a solution to the Spiral Matrix problem, where the goal is to traverse a matrix in spiral order.
This is a solution to the Spiral Matrix Search problem.
This is a solution to the Split a String Into the Max Number of Unique Substrings problem on LeetCode.
This is a solution to the Split Array Largest Sum problem on LeetCode.
This document provides a solution where we split an array into two non-empty subsets such that both subsets have the same average.
This document provides solutions to print Hello World in various programming languages
This is a solution to the Stooge Sort Algorithm problem.
This document provides solutions for the Strictly Palindromic Number problem.
This is a solution to the String Compression problem on LeetCode.
This is a solution to the String Without AAA or BBB problem on LeetCode.
This document provides solutions to this problem implemented in C++, Java, and Python.
This is a solution to the Sum of All Odd Length Subarrays problem on LeetCode.
This document covers methods to calculate the sum of the first n terms of a series in various programming languages.
This is a solution to the Sum of Last Leaves problem on LeetCode.
This document covers methods to calculate the sum of all numbers embedded in a string in various programming languages.
This is a solution to the Sum of Square Numbers problem on LeetCode.
This is a solution to the Surrounded Regions problem on LeetCode.
This is a solution to the Symmetric Tree problem on LeetCode.
This is a solution to the Ternary Search problem on Geeks for Geeks.
This document provides solutions for finding the third largest element in an array.
This is a solution to the Topological Sort problem on Geeks for Geeks.
This document provides a solution to the Total Appeal of a String problem, where we need to calculate the total appeal of all substrings of a given string.
This document provides solutions to this problem implemented in C++, Java, and Python.
This is a solution to the Two Repeated Elements problem.
This document provides a solution to the Ugly Number problem, where we need to determine if a number is an ugly number.
This document provides a solution to the Ugly Number II problem, where we need to find the nth ugly number.
This document covers methods to find uncommon characters between two strings in various programming languages.
This document provides solutions to the problem of finding the number of elements in the union between two arrays.
Find the number of unique paths from the starting square to the ending square in a grid, walking over every non-obstacle square exactly once.
This is a solution to the Valid Anagram problem on LeetCode.
This is a solution to the Valid Palindrome problem on LeetCode.
This is a solution to the Water Bottles problem on LeetCode.
This document provides solutions for Water-bottles-II solution of leetcode questions
This is a solution to the Ways to Split Array Into Three Subarrays problem on LeetCode.
This document covers methods to calculate the number of ways to tile a floor of given dimensions using tiles of given sizes in various programming languages.
This is a solution to the Where Will the Ball Fall problem on LeetCode.
This is a solution to the word ladder II problem on LeetCode.
This is a solution to the word ladder problem on LeetCode.
This document provides a solution to the Word Search II problem, where we need to return all words on the board, given an mXn board of characters and a list of strings words.
Convert the given string into a zigzag pattern with a specified number of rows.