2024  1

January  1

Real-Time Voice๐ŸŽ™๏ธ Translator๐Ÿ”Š

January 5, 2024 ยท 8 min ยท 1625 words ยท Samir Paul

2023  6

December  1

Data Structures and Algorithms for Coding Interview

December 20, 2023 ยท 2 min ยท 269 words ยท Samir Paul

July  2

Online PDF Compression Tool

July 20, 2023 ยท 3 min ยท 437 words ยท Samir Paul

System Design Course

July 7, 2023 ยท 195 min ยท 41493 words ยท Samir Paul

June  1

Operating System Notes For Placement

June 20, 2023 ยท 41 min ยท 8584 words ยท Samir Paul

April  1

PyShooter Python Game

April 27, 2023 ยท 1 min ยท 114 words ยท Samir Paul

March  1

Text File Compressor De-compressor Web App

March 12, 2023 ยท 2 min ยท 309 words ยท Samir Paul

2022  9

December  1

Some of My Online Courses Certificates

December 20, 2022 ยท 1 min ยท 29 words ยท Samir Paul

October  1

URL Shortening Service

October 29, 2022 ยท 16 min ยท 3403 words ยท Samir Paul

July  1

SQL Joins - Inner, Left, Right and Full Joins

July 20, 2022 ยท 1 min ยท 37 words ยท Samir Paul

May  6

Leetcode Solutions Cheatsheet

May 20, 2022 ยท 203 min ยท 43105 words ยท Samir Paul

List of Python Frameworks Libraries Software and Resources

May 20, 2022 ยท 38 min ยท 7995 words ยท Samir Paul

Lists of Technical Interview Questions

May 20, 2022 ยท 15 min ยท 3168 words ยท Samir Paul

Open External Links in a New Window Using JavaScript

May 20, 2022 ยท 2 min ยท 340 words ยท Samir Paul

Python Cheat Sheet for Leetcode

May 20, 2022 ยท 16 min ยท 3339 words ยท Samir Paul

System design interview for IT companies

May 20, 2022 ยท 6 min ยท 1158 words ยท Samir Paul

2021  13

February  4

Curated List of Project Based Tutorials

February 20, 2021 ยท 13 min ยท 2751 words ยท Samir Paul

High-level design

February 20, 2021 ยท 1 min ยท 18 words ยท Samir Paul

LeetCode all two pointers problems

February 20, 2021 ยท 2 min ยท 301 words ยท Samir Paul

LeetCode Greedy for Beginners

February 20, 2021 ยท 3 min ยท 476 words ยท Samir Paul

January  9

Binary Search Template

January 20, 2021 ยท 23 min ยท 4800 words ยท Samir Paul

Company engineering blog links

January 20, 2021 ยท 1 min ยท 137 words ยท Samir Paul

Complete Computer Science Study Plan to Become a Software Engineer

January 20, 2021 ยท 49 min ยท 10368 words ยท Samir Paul

Computer Networks Notes

January 20, 2021 ยท 131 min ยท 27775 words ยท Samir Paul

DP for Beginners

January 20, 2021 ยท 8 min ยท 1552 words ยท Samir Paul

Dynamic Programming Patterns

January 20, 2021 ยท 10 min ยท 2077 words ยท Samir Paul

Embed MusicApp

January 20, 2021 ยท 1 min ยท 35 words ยท Samir Paul

Google Programmable Search Engine

January 20, 2021 ยท 1 min ยท 186 words ยท Samir Paul

Graph For Beginners

January 20, 2021 ยท 9 min ยท 1795 words ยท Samir Paul

2020  3018

November  576

Two Sum

November 24, 2020 ยท 5 min ยท 1006 words ยท Samir Paul

Add Two Numbers

November 24, 2020 ยท 10 min ยท 2105 words ยท Samir Paul

Longest Substring Without Repeating Characters

November 24, 2020 ยท 7 min ยท 1329 words ยท Samir Paul

Median of Two Sorted Arrays

November 24, 2020 ยท 10 min ยท 1961 words ยท Samir Paul

Longest Palindromic Substring

November 24, 2020 ยท 10 min ยท 2053 words ยท Samir Paul

Zigzag Conversion

November 24, 2020 ยท 9 min ยท 1859 words ยท Samir Paul

Reverse Integer

November 24, 2020 ยท 5 min ยท 1053 words ยท Samir Paul

String to Integer (atoi)

November 24, 2020 ยท 7 min ยท 1422 words ยท Samir Paul

Palindrome Number

November 24, 2020 ยท 5 min ยท 1048 words ยท Samir Paul

Regular Expression Matching

November 24, 2020 ยท 13 min ยท 2737 words ยท Samir Paul

Container With Most Water

November 24, 2020 ยท 5 min ยท 878 words ยท Samir Paul

Integer to Roman

November 24, 2020 ยท 4 min ยท 804 words ยท Samir Paul

Roman to Integer

November 24, 2020 ยท 6 min ยท 1171 words ยท Samir Paul

Longest Common Prefix

November 24, 2020 ยท 4 min ยท 844 words ยท Samir Paul

3Sum

November 24, 2020 ยท 9 min ยท 1889 words ยท Samir Paul

3Sum Closest

November 24, 2020 ยท 5 min ยท 939 words ยท Samir Paul

Letter Combinations of a Phone Number

November 24, 2020 ยท 9 min ยท 1797 words ยท Samir Paul

4Sum

November 24, 2020 ยท 8 min ยท 1664 words ยท Samir Paul

Remove Nth Node From End of List

November 24, 2020 ยท 6 min ยท 1089 words ยท Samir Paul

Valid Parentheses

November 24, 2020 ยท 6 min ยท 1095 words ยท Samir Paul

Merge Two Sorted Lists

November 24, 2020 ยท 11 min ยท 2324 words ยท Samir Paul

Generate Parentheses

November 24, 2020 ยท 5 min ยท 956 words ยท Samir Paul

Merge k Sorted Lists

November 24, 2020 ยท 7 min ยท 1375 words ยท Samir Paul

Swap Nodes in Pairs

November 24, 2020 ยท 9 min ยท 1720 words ยท Samir Paul

Reverse Nodes in k-Group

November 23, 2020 ยท 8 min ยท 1670 words ยท Samir Paul

Remove Duplicates from Sorted Array

November 23, 2020 ยท 5 min ยท 1009 words ยท Samir Paul

Remove Element

November 23, 2020 ยท 4 min ยท 789 words ยท Samir Paul

Find the Index of the First Occurrence in a String

November 23, 2020 ยท 7 min ยท 1469 words ยท Samir Paul

Divide Two Integers

November 23, 2020 ยท 6 min ยท 1179 words ยท Samir Paul

Substring with Concatenation of All Words

November 23, 2020 ยท 9 min ยท 1787 words ยท Samir Paul

Next Permutation

November 23, 2020 ยท 5 min ยท 1054 words ยท Samir Paul

Longest Valid Parentheses

November 23, 2020 ยท 9 min ยท 1839 words ยท Samir Paul

Search in Rotated Sorted Array

November 23, 2020 ยท 6 min ยท 1217 words ยท Samir Paul

Find First and Last Position of Element in Sorted Array

November 23, 2020 ยท 5 min ยท 1055 words ยท Samir Paul

Search Insert Position

November 23, 2020 ยท 4 min ยท 641 words ยท Samir Paul

Valid Sudoku

November 23, 2020 ยท 5 min ยท 998 words ยท Samir Paul

Sudoku Solver

November 23, 2020 ยท 8 min ยท 1535 words ยท Samir Paul

Count and Say

November 23, 2020 ยท 6 min ยท 1067 words ยท Samir Paul

Combination Sum

November 23, 2020 ยท 9 min ยท 1847 words ยท Samir Paul

Combination Sum II

November 23, 2020 ยท 11 min ยท 2300 words ยท Samir Paul

First Missing Positive

November 23, 2020 ยท 5 min ยท 1021 words ยท Samir Paul

Trapping Rain Water

November 23, 2020 ยท 5 min ยท 868 words ยท Samir Paul

Multiply Strings

November 23, 2020 ยท 7 min ยท 1353 words ยท Samir Paul

Wildcard Matching

November 23, 2020 ยท 5 min ยท 977 words ยท Samir Paul

Jump Game II

November 23, 2020 ยท 5 min ยท 865 words ยท Samir Paul

Permutations

November 23, 2020 ยท 6 min ยท 1166 words ยท Samir Paul

Permutations II

November 23, 2020 ยท 6 min ยท 1103 words ยท Samir Paul

Rotate Image

November 23, 2020 ยท 4 min ยท 827 words ยท Samir Paul

Group Anagrams

November 22, 2020 ยท 6 min ยท 1162 words ยท Samir Paul

Pow(x, n)

November 22, 2020 ยท 4 min ยท 815 words ยท Samir Paul

N-Queens

November 22, 2020 ยท 7 min ยท 1331 words ยท Samir Paul

N-Queens II

November 22, 2020 ยท 4 min ยท 842 words ยท Samir Paul

Maximum Subarray

November 22, 2020 ยท 5 min ยท 960 words ยท Samir Paul

Spiral Matrix

November 22, 2020 ยท 17 min ยท 3423 words ยท Samir Paul

Jump Game

November 22, 2020 ยท 4 min ยท 678 words ยท Samir Paul

Merge Intervals

November 22, 2020 ยท 6 min ยท 1265 words ยท Samir Paul

Insert Interval

November 22, 2020 ยท 9 min ยท 1802 words ยท Samir Paul

Length of Last Word

November 22, 2020 ยท 4 min ยท 784 words ยท Samir Paul

Spiral Matrix II

November 22, 2020 ยท 7 min ยท 1282 words ยท Samir Paul

Permutation Sequence

November 22, 2020 ยท 5 min ยท 883 words ยท Samir Paul

Rotate List

November 22, 2020 ยท 7 min ยท 1412 words ยท Samir Paul

Unique Paths

November 22, 2020 ยท 9 min ยท 1723 words ยท Samir Paul

Unique Paths II

November 22, 2020 ยท 5 min ยท 1035 words ยท Samir Paul

Minimum Path Sum

November 22, 2020 ยท 6 min ยท 1125 words ยท Samir Paul

Valid Number

November 22, 2020 ยท 8 min ยท 1496 words ยท Samir Paul

Plus One

November 22, 2020 ยท 4 min ยท 681 words ยท Samir Paul

Add Binary

November 22, 2020 ยท 5 min ยท 872 words ยท Samir Paul

Text Justification

November 22, 2020 ยท 7 min ยท 1458 words ยท Samir Paul

Sqrt(x)

November 22, 2020 ยท 4 min ยท 680 words ยท Samir Paul

Climbing Stairs

November 22, 2020 ยท 9 min ยท 1842 words ยท Samir Paul

Simplify Path

November 22, 2020 ยท 5 min ยท 963 words ยท Samir Paul

Edit Distance

November 22, 2020 ยท 5 min ยท 1059 words ยท Samir Paul

Set Matrix Zeroes

November 21, 2020 ยท 12 min ยท 2356 words ยท Samir Paul

Search a 2D Matrix

November 21, 2020 ยท 7 min ยท 1451 words ยท Samir Paul

Sort Colors

November 21, 2020 ยท 4 min ยท 832 words ยท Samir Paul

Minimum Window Substring

November 21, 2020 ยท 8 min ยท 1539 words ยท Samir Paul

Combinations

November 21, 2020 ยท 8 min ยท 1564 words ยท Samir Paul

Subsets

November 21, 2020 ยท 6 min ยท 1068 words ยท Samir Paul

Word Search

November 21, 2020 ยท 9 min ยท 1902 words ยท Samir Paul

Remove Duplicates from Sorted Array II

November 21, 2020 ยท 5 min ยท 959 words ยท Samir Paul

Search in Rotated Sorted Array II

November 21, 2020 ยท 5 min ยท 941 words ยท Samir Paul

Remove Duplicates from Sorted List II

November 21, 2020 ยท 6 min ยท 1270 words ยท Samir Paul

Remove Duplicates from Sorted List

November 21, 2020 ยท 5 min ยท 878 words ยท Samir Paul

Largest Rectangle in Histogram

November 21, 2020 ยท 5 min ยท 1013 words ยท Samir Paul

Maximal Rectangle

November 21, 2020 ยท 7 min ยท 1327 words ยท Samir Paul

Partition List

November 21, 2020 ยท 5 min ยท 933 words ยท Samir Paul

Scramble String

November 21, 2020 ยท 12 min ยท 2476 words ยท Samir Paul

Merge Sorted Array

November 21, 2020 ยท 5 min ยท 1046 words ยท Samir Paul

Gray Code

November 21, 2020 ยท 3 min ยท 611 words ยท Samir Paul

Subsets II

November 21, 2020 ยท 8 min ยท 1603 words ยท Samir Paul

Decode Ways

November 21, 2020 ยท 7 min ยท 1430 words ยท Samir Paul

Reverse Linked List II

November 21, 2020 ยท 8 min ยท 1536 words ยท Samir Paul

Restore IP Addresses

November 21, 2020 ยท 6 min ยท 1174 words ยท Samir Paul

Binary Tree Inorder Traversal

November 21, 2020 ยท 12 min ยท 2544 words ยท Samir Paul

Unique Binary Search Trees II

November 21, 2020 ยท 6 min ยท 1203 words ยท Samir Paul

Unique Binary Search Trees

November 21, 2020 ยท 3 min ยท 610 words ยท Samir Paul

Interleaving String

November 20, 2020 ยท 16 min ยท 3385 words ยท Samir Paul

Validate Binary Search Tree

November 20, 2020 ยท 9 min ยท 1716 words ยท Samir Paul

Recover Binary Search Tree

November 20, 2020 ยท 6 min ยท 1094 words ยท Samir Paul

Same Tree

November 20, 2020 ยท 14 min ยท 2791 words ยท Samir Paul

Symmetric Tree

November 20, 2020 ยท 7 min ยท 1292 words ยท Samir Paul

Binary Tree Level Order Traversal

November 20, 2020 ยท 6 min ยท 1174 words ยท Samir Paul

Binary Tree Zigzag Level Order Traversal

November 20, 2020 ยท 7 min ยท 1335 words ยท Samir Paul

Maximum Depth of Binary Tree

November 20, 2020 ยท 5 min ยท 897 words ยท Samir Paul

Construct Binary Tree from Preorder and Inorder Traversal

November 20, 2020 ยท 11 min ยท 2243 words ยท Samir Paul

Construct Binary Tree from Inorder and Postorder Traversal

November 20, 2020 ยท 6 min ยท 1139 words ยท Samir Paul

Binary Tree Level Order Traversal II

November 20, 2020 ยท 5 min ยท 996 words ยท Samir Paul

Convert Sorted Array to Binary Search Tree

November 20, 2020 ยท 6 min ยท 1253 words ยท Samir Paul

Convert Sorted List to Binary Search Tree

November 20, 2020 ยท 8 min ยท 1691 words ยท Samir Paul

Balanced Binary Tree

November 20, 2020 ยท 6 min ยท 1156 words ยท Samir Paul

Minimum Depth of Binary Tree

November 20, 2020 ยท 10 min ยท 2052 words ยท Samir Paul

Path Sum

November 20, 2020 ยท 6 min ยท 1129 words ยท Samir Paul

Path Sum II

November 20, 2020 ยท 6 min ยท 1099 words ยท Samir Paul

Flatten Binary Tree to Linked List

November 20, 2020 ยท 7 min ยท 1314 words ยท Samir Paul

Distinct Subsequences

November 20, 2020 ยท 6 min ยท 1253 words ยท Samir Paul

Populating Next Right Pointers in Each Node

November 20, 2020 ยท 9 min ยท 1751 words ยท Samir Paul

Populating Next Right Pointers in Each Node II

November 20, 2020 ยท 11 min ยท 2327 words ยท Samir Paul

Pascal’s Triangle

November 20, 2020 ยท 3 min ยท 600 words ยท Samir Paul

Pascal’s Triangle II

November 20, 2020 ยท 3 min ยท 517 words ยท Samir Paul

Triangle

November 20, 2020 ยท 6 min ยท 1073 words ยท Samir Paul

Best Time to Buy and Sell Stock

November 19, 2020 ยท 4 min ยท 732 words ยท Samir Paul

Best Time to Buy and Sell Stock II

November 19, 2020 ยท 7 min ยท 1459 words ยท Samir Paul

Best Time to Buy and Sell Stock III

November 19, 2020 ยท 4 min ยท 805 words ยท Samir Paul

Binary Tree Maximum Path Sum

November 19, 2020 ยท 7 min ยท 1430 words ยท Samir Paul

Valid Palindrome

November 19, 2020 ยท 5 min ยท 1028 words ยท Samir Paul

Word Ladder II

November 19, 2020 ยท 5 min ยท 984 words ยท Samir Paul

Word Ladder

November 19, 2020 ยท 10 min ยท 2072 words ยท Samir Paul

Longest Consecutive Sequence

November 19, 2020 ยท 7 min ยท 1396 words ยท Samir Paul

Sum Root to Leaf Numbers

November 19, 2020 ยท 6 min ยท 1263 words ยท Samir Paul

Surrounded Regions

November 19, 2020 ยท 13 min ยท 2726 words ยท Samir Paul

Palindrome Partitioning

November 19, 2020 ยท 5 min ยท 952 words ยท Samir Paul

Palindrome Partitioning II

November 19, 2020 ยท 5 min ยท 897 words ยท Samir Paul

Clone Graph

November 19, 2020 ยท 6 min ยท 1086 words ยท Samir Paul

Gas Station

November 19, 2020 ยท 5 min ยท 923 words ยท Samir Paul

Candy

November 19, 2020 ยท 6 min ยท 1148 words ยท Samir Paul

Single Number

November 19, 2020 ยท 3 min ยท 474 words ยท Samir Paul

Single Number II

November 19, 2020 ยท 7 min ยท 1351 words ยท Samir Paul

Copy List with Random Pointer

November 19, 2020 ยท 11 min ยท 2134 words ยท Samir Paul

Word Break

November 19, 2020 ยท 9 min ยท 1814 words ยท Samir Paul

Word Break II

November 19, 2020 ยท 6 min ยท 1110 words ยท Samir Paul

Linked List Cycle

November 19, 2020 ยท 5 min ยท 970 words ยท Samir Paul

Linked List Cycle II

November 19, 2020 ยท 6 min ยท 1223 words ยท Samir Paul

Reorder List

November 19, 2020 ยท 8 min ยท 1642 words ยท Samir Paul

Binary Tree Preorder Traversal

November 19, 2020 ยท 9 min ยท 1711 words ยท Samir Paul

Binary Tree Postorder Traversal

November 18, 2020 ยท 9 min ยท 1893 words ยท Samir Paul

LRU Cache

November 18, 2020 ยท 11 min ยท 2158 words ยท Samir Paul

Insertion Sort List

November 18, 2020 ยท 3 min ยท 598 words ยท Samir Paul

Sort List

November 18, 2020 ยท 8 min ยท 1599 words ยท Samir Paul

Max Points on a Line

November 18, 2020 ยท 6 min ยท 1238 words ยท Samir Paul

Evaluate Reverse Polish Notation

November 18, 2020 ยท 5 min ยท 950 words ยท Samir Paul

Reverse Words in a String

November 18, 2020 ยท 4 min ยท 752 words ยท Samir Paul

Maximum Product Subarray

November 18, 2020 ยท 4 min ยท 671 words ยท Samir Paul

Find Minimum in Rotated Sorted Array

November 18, 2020 ยท 4 min ยท 702 words ยท Samir Paul

Find Minimum in Rotated Sorted Array II

November 18, 2020 ยท 3 min ยท 610 words ยท Samir Paul

Min Stack

November 18, 2020 ยท 6 min ยท 1178 words ยท Samir Paul

Binary Tree Upside Down

November 18, 2020 ยท 3 min ยท 564 words ยท Samir Paul

Read N Characters Given Read4

November 18, 2020 ยท 6 min ยท 1105 words ยท Samir Paul

Read N Characters Given read4 II - Call Multiple Times

November 18, 2020 ยท 6 min ยท 1157 words ยท Samir Paul

Longest Substring with At Most Two Distinct Characters

November 18, 2020 ยท 2 min ยท 387 words ยท Samir Paul

Intersection of Two Linked Lists

November 18, 2020 ยท 6 min ยท 1275 words ยท Samir Paul

One Edit Distance

November 18, 2020 ยท 3 min ยท 487 words ยท Samir Paul

Find Peak Element

November 18, 2020 ยท 4 min ยท 648 words ยท Samir Paul

Missing Ranges

November 18, 2020 ยท 4 min ยท 699 words ยท Samir Paul

Maximum Gap

November 18, 2020 ยท 5 min ยท 894 words ยท Samir Paul

Compare Version Numbers

November 18, 2020 ยท 5 min ยท 907 words ยท Samir Paul

Fraction to Recurring Decimal

November 18, 2020 ยท 4 min ยท 836 words ยท Samir Paul

Two Sum II - Input Array Is Sorted

November 18, 2020 ยท 7 min ยท 1432 words ยท Samir Paul

Excel Sheet Column Title

November 18, 2020 ยท 2 min ยท 410 words ยท Samir Paul

Majority Element

November 17, 2020 ยท 5 min ยท 866 words ยท Samir Paul

Two Sum III - Data structure design

November 17, 2020 ยท 3 min ยท 620 words ยท Samir Paul

Excel Sheet Column Number

November 17, 2020 ยท 2 min ยท 295 words ยท Samir Paul

Factorial Trailing Zeroes

November 17, 2020 ยท 2 min ยท 279 words ยท Samir Paul

Binary Search Tree Iterator

November 17, 2020 ยท 13 min ยท 2593 words ยท Samir Paul

Dungeon Game

November 17, 2020 ยท 4 min ยท 719 words ยท Samir Paul

Combine Two Tables

November 17, 2020 ยท 2 min ยท 423 words ยท Samir Paul

Second Highest Salary

November 17, 2020 ยท 2 min ยท 381 words ยท Samir Paul

Nth Highest Salary

November 17, 2020 ยท 2 min ยท 255 words ยท Samir Paul

Rank Scores

November 17, 2020 ยท 2 min ยท 384 words ยท Samir Paul

Largest Number

November 17, 2020 ยท 3 min ยท 534 words ยท Samir Paul

Consecutive Numbers

November 17, 2020 ยท 4 min ยท 641 words ยท Samir Paul

Employees Earning More Than Their Managers

November 17, 2020 ยท 2 min ยท 280 words ยท Samir Paul

Duplicate Emails

November 17, 2020 ยท 2 min ยท 281 words ยท Samir Paul

Customers Who Never Order

November 17, 2020 ยท 2 min ยท 390 words ยท Samir Paul

Department Highest Salary

November 17, 2020 ยท 3 min ยท 557 words ยท Samir Paul

Department Top Three Salaries

November 17, 2020 ยท 3 min ยท 609 words ยท Samir Paul

Reverse Words in a String II

November 17, 2020 ยท 3 min ยท 541 words ยท Samir Paul

Repeated DNA Sequences

November 17, 2020 ยท 5 min ยท 895 words ยท Samir Paul

Best Time to Buy and Sell Stock IV

November 17, 2020 ยท 13 min ยท 2697 words ยท Samir Paul

Rotate Array

November 17, 2020 ยท 5 min ยท 878 words ยท Samir Paul

Reverse Bits

November 17, 2020 ยท 3 min ยท 511 words ยท Samir Paul

Number of 1 Bits

November 17, 2020 ยท 4 min ยท 696 words ยท Samir Paul

Word Frequency

November 17, 2020 ยท 1 min ยท 115 words ยท Samir Paul

Valid Phone Numbers

November 16, 2020 ยท 1 min ยท 101 words ยท Samir Paul

Transpose File

November 16, 2020 ยท 1 min ยท 57 words ยท Samir Paul

Tenth Line

November 16, 2020 ยท 1 min ยท 80 words ยท Samir Paul

Delete Duplicate Emails

November 16, 2020 ยท 2 min ยท 387 words ยท Samir Paul

Rising Temperature

November 16, 2020 ยท 2 min ยท 313 words ยท Samir Paul

House Robber

November 16, 2020 ยท 4 min ยท 719 words ยท Samir Paul

Binary Tree Right Side View

November 16, 2020 ยท 8 min ยท 1536 words ยท Samir Paul

Number of Islands

November 16, 2020 ยท 16 min ยท 3399 words ยท Samir Paul

Bitwise AND of Numbers Range

November 16, 2020 ยท 2 min ยท 289 words ยท Samir Paul

Happy Number

November 16, 2020 ยท 6 min ยท 1120 words ยท Samir Paul

Remove Linked List Elements

November 16, 2020 ยท 4 min ยท 755 words ยท Samir Paul

Count Primes

November 16, 2020 ยท 3 min ยท 494 words ยท Samir Paul

Isomorphic Strings

November 16, 2020 ยท 5 min ยท 895 words ยท Samir Paul

Reverse Linked List

November 16, 2020 ยท 7 min ยท 1482 words ยท Samir Paul

Course Schedule

November 16, 2020 ยท 6 min ยท 1260 words ยท Samir Paul

Implement Trie (Prefix Tree)

November 16, 2020 ยท 10 min ยท 1934 words ยท Samir Paul

Minimum Size Subarray Sum

November 16, 2020 ยท 8 min ยท 1684 words ยท Samir Paul

Course Schedule II

November 16, 2020 ยท 6 min ยท 1181 words ยท Samir Paul

Design Add and Search Words Data Structure

November 16, 2020 ยท 7 min ยท 1309 words ยท Samir Paul

Word Search II

November 16, 2020 ยท 7 min ยท 1483 words ยท Samir Paul

House Robber II

November 16, 2020 ยท 4 min ยท 708 words ยท Samir Paul

Shortest Palindrome

November 16, 2020 ยท 4 min ยท 823 words ยท Samir Paul

Kth Largest Element in an Array

November 16, 2020 ยท 6 min ยท 1152 words ยท Samir Paul

Combination Sum III

November 16, 2020 ยท 11 min ยท 2234 words ยท Samir Paul

Contains Duplicate

November 15, 2020 ยท 4 min ยท 771 words ยท Samir Paul

The Skyline Problem

November 15, 2020 ยท 5 min ยท 959 words ยท Samir Paul

Contains Duplicate II

November 15, 2020 ยท 3 min ยท 583 words ยท Samir Paul

Contains Duplicate III

November 15, 2020 ยท 17 min ยท 3542 words ยท Samir Paul

Maximal Square

November 15, 2020 ยท 4 min ยท 669 words ยท Samir Paul

Count Complete Tree Nodes

November 15, 2020 ยท 9 min ยท 1821 words ยท Samir Paul

Rectangle Area

November 15, 2020 ยท 4 min ยท 693 words ยท Samir Paul

Basic Calculator

November 15, 2020 ยท 7 min ยท 1305 words ยท Samir Paul

Implement Stack using Queues

November 15, 2020 ยท 6 min ยท 1188 words ยท Samir Paul

Invert Binary Tree

November 15, 2020 ยท 8 min ยท 1508 words ยท Samir Paul

Basic Calculator II

November 15, 2020 ยท 6 min ยท 1142 words ยท Samir Paul

Summary Ranges

November 15, 2020 ยท 5 min ยท 956 words ยท Samir Paul

Majority Element II

November 15, 2020 ยท 4 min ยท 818 words ยท Samir Paul

Kth Smallest Element in a BST

November 15, 2020 ยท 9 min ยท 1739 words ยท Samir Paul

Power of Two

November 15, 2020 ยท 2 min ยท 414 words ยท Samir Paul

Implement Queue using Stacks

November 15, 2020 ยท 6 min ยท 1199 words ยท Samir Paul

Number of Digit One

November 15, 2020 ยท 4 min ยท 756 words ยท Samir Paul

Palindrome Linked List

November 15, 2020 ยท 6 min ยท 1103 words ยท Samir Paul

Lowest Common Ancestor of a Binary Search Tree

November 15, 2020 ยท 6 min ยท 1208 words ยท Samir Paul

Lowest Common Ancestor of a Binary Tree

November 15, 2020 ยท 6 min ยท 1081 words ยท Samir Paul

Delete Node in a Linked List

November 15, 2020 ยท 5 min ยท 858 words ยท Samir Paul

Product of Array Except Self

November 15, 2020 ยท 5 min ยท 975 words ยท Samir Paul

Sliding Window Maximum

November 15, 2020 ยท 7 min ยท 1302 words ยท Samir Paul

Search a 2D Matrix II

November 15, 2020 ยท 6 min ยท 1102 words ยท Samir Paul

Different Ways to Add Parentheses

November 14, 2020 ยท 5 min ยท 956 words ยท Samir Paul

Valid Anagram

November 14, 2020 ยท 6 min ยท 1077 words ยท Samir Paul

Shortest Word Distance

November 14, 2020 ยท 3 min ยท 451 words ยท Samir Paul

Shortest Word Distance II

November 14, 2020 ยท 4 min ยท 691 words ยท Samir Paul

Shortest Word Distance III

November 14, 2020 ยท 4 min ยท 670 words ยท Samir Paul

Strobogrammatic Number

November 14, 2020 ยท 2 min ยท 368 words ยท Samir Paul

Strobogrammatic Number II

November 14, 2020 ยท 3 min ยท 482 words ยท Samir Paul

Strobogrammatic Number III

November 14, 2020 ยท 4 min ยท 760 words ยท Samir Paul

Group Shifted Strings

November 14, 2020 ยท 3 min ยท 444 words ยท Samir Paul

Count Univalue Subtrees

November 14, 2020 ยท 5 min ยท 1017 words ยท Samir Paul

Flatten 2D Vector

November 14, 2020 ยท 4 min ยท 795 words ยท Samir Paul

Meeting Rooms

November 14, 2020 ยท 2 min ยท 415 words ยท Samir Paul

Meeting Rooms II

November 14, 2020 ยท 3 min ยท 458 words ยท Samir Paul

Factor Combinations

November 14, 2020 ยท 3 min ยท 438 words ยท Samir Paul

Verify Preorder Sequence in Binary Search Tree

November 14, 2020 ยท 2 min ยท 328 words ยท Samir Paul

Paint House

November 14, 2020 ยท 3 min ยท 497 words ยท Samir Paul

Binary Tree Paths

November 14, 2020 ยท 4 min ยท 754 words ยท Samir Paul

Add Digits

November 14, 2020 ยท 2 min ยท 268 words ยท Samir Paul

3Sum Smaller

November 14, 2020 ยท 3 min ยท 573 words ยท Samir Paul

Single Number III

November 14, 2020 ยท 5 min ยท 874 words ยท Samir Paul

Graph Valid Tree

November 14, 2020 ยท 3 min ยท 589 words ยท Samir Paul

Trips and Users

November 14, 2020 ยท 5 min ยท 916 words ยท Samir Paul

Ugly Number

November 14, 2020 ยท 3 min ยท 509 words ยท Samir Paul

Ugly Number II

November 14, 2020 ยท 5 min ยท 1059 words ยท Samir Paul

Paint House II

November 13, 2020 ยท 3 min ยท 577 words ยท Samir Paul

Palindrome Permutation

November 13, 2020 ยท 2 min ยท 352 words ยท Samir Paul

Palindrome Permutation II

November 13, 2020 ยท 3 min ยท 596 words ยท Samir Paul

Missing Number

November 13, 2020 ยท 5 min ยท 984 words ยท Samir Paul

Alien Dictionary

November 13, 2020 ยท 5 min ยท 1060 words ยท Samir Paul

Closest Binary Search Tree Value

November 13, 2020 ยท 7 min ยท 1413 words ยท Samir Paul

Encode and Decode Strings

November 13, 2020 ยท 4 min ยท 814 words ยท Samir Paul

Closest Binary Search Tree Value II

November 13, 2020 ยท 4 min ยท 706 words ยท Samir Paul

Integer to English Words

November 13, 2020 ยท 6 min ยท 1098 words ยท Samir Paul

H-Index

November 13, 2020 ยท 8 min ยท 1627 words ยท Samir Paul

H-Index II

November 13, 2020 ยท 4 min ยท 771 words ยท Samir Paul

Paint Fence

November 13, 2020 ยท 3 min ยท 427 words ยท Samir Paul

Find the Celebrity

November 13, 2020 ยท 4 min ยท 697 words ยท Samir Paul

First Bad Version

November 13, 2020 ยท 4 min ยท 749 words ยท Samir Paul

Perfect Squares

November 13, 2020 ยท 6 min ยท 1097 words ยท Samir Paul

Wiggle Sort

November 13, 2020 ยท 2 min ยท 365 words ยท Samir Paul

Zigzag Iterator

November 13, 2020 ยท 4 min ยท 703 words ยท Samir Paul

Expression Add Operators

November 13, 2020 ยท 5 min ยท 871 words ยท Samir Paul

Move Zeroes

November 13, 2020 ยท 4 min ยท 640 words ยท Samir Paul

Peeking Iterator

November 13, 2020 ยท 6 min ยท 1101 words ยท Samir Paul

Inorder Successor in BST

November 13, 2020 ยท 4 min ยท 739 words ยท Samir Paul

Walls and Gates

November 13, 2020 ยท 4 min ยท 733 words ยท Samir Paul

Find the Duplicate Number

November 13, 2020 ยท 4 min ยท 786 words ยท Samir Paul

Unique Word Abbreviation

November 13, 2020 ยท 6 min ยท 1168 words ยท Samir Paul

Game of Life

November 12, 2020 ยท 9 min ยท 1890 words ยท Samir Paul

Word Pattern

November 12, 2020 ยท 5 min ยท 972 words ยท Samir Paul

Word Pattern II

November 12, 2020 ยท 4 min ยท 831 words ยท Samir Paul

Nim Game

November 12, 2020 ยท 2 min ยท 311 words ยท Samir Paul

Flip Game

November 12, 2020 ยท 2 min ยท 396 words ยท Samir Paul

Flip Game II

November 12, 2020 ยท 6 min ยท 1257 words ยท Samir Paul

Find Median from Data Stream

November 12, 2020 ยท 8 min ยท 1525 words ยท Samir Paul

Best Meeting Point

November 12, 2020 ยท 4 min ยท 761 words ยท Samir Paul

Serialize and Deserialize Binary Tree

November 12, 2020 ยท 9 min ยท 1728 words ยท Samir Paul

Binary Tree Longest Consecutive Sequence

November 12, 2020 ยท 5 min ยท 922 words ยท Samir Paul

Bulls and Cows

November 12, 2020 ยท 4 min ยท 726 words ยท Samir Paul

Longest Increasing Subsequence

November 12, 2020 ยท 7 min ยท 1450 words ยท Samir Paul

Remove Invalid Parentheses

November 12, 2020 ยท 5 min ยท 988 words ยท Samir Paul

Smallest Rectangle Enclosing Black Pixels

November 12, 2020 ยท 7 min ยท 1366 words ยท Samir Paul

Range Sum Query - Immutable

November 12, 2020 ยท 6 min ยท 1210 words ยท Samir Paul

Range Sum Query 2D - Immutable

November 12, 2020 ยท 8 min ยท 1593 words ยท Samir Paul

Number of Islands II

November 12, 2020 ยท 9 min ยท 1854 words ยท Samir Paul

Additive Number

November 12, 2020 ยท 5 min ยท 858 words ยท Samir Paul

Range Sum Query - Mutable

November 12, 2020 ยท 18 min ยท 3733 words ยท Samir Paul

Range Sum Query 2D - Mutable

November 12, 2020 ยท 13 min ยท 2590 words ยท Samir Paul

Best Time to Buy and Sell Stock with Cooldown

November 12, 2020 ยท 9 min ยท 1720 words ยท Samir Paul

Minimum Height Trees

November 12, 2020 ยท 4 min ยท 790 words ยท Samir Paul

Sparse Matrix Multiplication

November 12, 2020 ยท 7 min ยท 1412 words ยท Samir Paul

Burst Balloons

November 12, 2020 ยท 4 min ยท 672 words ยท Samir Paul

Super Ugly Number

November 11, 2020 ยท 4 min ยท 836 words ยท Samir Paul

Binary Tree Vertical Order Traversal

November 11, 2020 ยท 8 min ยท 1503 words ยท Samir Paul

Count of Smaller Numbers After Self

November 11, 2020 ยท 11 min ยท 2164 words ยท Samir Paul

Remove Duplicate Letters

November 11, 2020 ยท 4 min ยท 825 words ยท Samir Paul

Shortest Distance from All Buildings

November 11, 2020 ยท 6 min ยท 1222 words ยท Samir Paul

Maximum Product of Word Lengths

November 11, 2020 ยท 6 min ยท 1152 words ยท Samir Paul

Bulb Switcher

November 11, 2020 ยท 1 min ยท 205 words ยท Samir Paul

Generalized Abbreviation

November 11, 2020 ยท 7 min ยท 1350 words ยท Samir Paul

Create Maximum Number

November 11, 2020 ยท 8 min ยท 1692 words ยท Samir Paul

Coin Change

November 11, 2020 ยท 7 min ยท 1339 words ยท Samir Paul

Number of Connected Components in an Undirected Graph

November 11, 2020 ยท 3 min ยท 612 words ยท Samir Paul

Wiggle Sort II

November 11, 2020 ยท 5 min ยท 899 words ยท Samir Paul

Maximum Size Subarray Sum Equals k

November 11, 2020 ยท 3 min ยท 475 words ยท Samir Paul

Power of Three

November 11, 2020 ยท 2 min ยท 426 words ยท Samir Paul

Count of Range Sum

November 11, 2020 ยท 8 min ยท 1544 words ยท Samir Paul

Odd Even Linked List

November 11, 2020 ยท 4 min ยท 671 words ยท Samir Paul

Longest Increasing Path in a Matrix

November 11, 2020 ยท 5 min ยท 895 words ยท Samir Paul

Patching Array

November 11, 2020 ยท 3 min ยท 493 words ยท Samir Paul

Verify Preorder Serialization of a Binary Tree

November 11, 2020 ยท 3 min ยท 527 words ยท Samir Paul

Reconstruct Itinerary

November 11, 2020 ยท 3 min ยท 455 words ยท Samir Paul

Largest BST Subtree

November 11, 2020 ยท 4 min ยท 739 words ยท Samir Paul

Increasing Triplet Subsequence

November 11, 2020 ยท 4 min ยท 661 words ยท Samir Paul

Self Crossing

November 11, 2020 ยท 4 min ยท 732 words ยท Samir Paul

Palindrome Pairs

November 11, 2020 ยท 7 min ยท 1302 words ยท Samir Paul

House Robber III

November 10, 2020 ยท 4 min ยท 778 words ยท Samir Paul

Counting Bits

November 10, 2020 ยท 3 min ยท 574 words ยท Samir Paul

Nested List Weight Sum

November 10, 2020 ยท 6 min ยท 1070 words ยท Samir Paul

Longest Substring with At Most K Distinct Characters

November 10, 2020 ยท 2 min ยท 410 words ยท Samir Paul

Flatten Nested List Iterator

November 10, 2020 ยท 11 min ยท 2194 words ยท Samir Paul

Power of Four

November 10, 2020 ยท 2 min ยท 283 words ยท Samir Paul

Integer Break

November 10, 2020 ยท 4 min ยท 821 words ยท Samir Paul

Reverse String

November 10, 2020 ยท 2 min ยท 426 words ยท Samir Paul

Reverse Vowels of a String

November 10, 2020 ยท 3 min ยท 635 words ยท Samir Paul

Moving Average from Data Stream

November 10, 2020 ยท 5 min ยท 899 words ยท Samir Paul

Top K Frequent Elements

November 10, 2020 ยท 5 min ยท 880 words ยท Samir Paul

Design Tic-Tac-Toe

November 10, 2020 ยท 5 min ยท 929 words ยท Samir Paul

Intersection of Two Arrays

November 10, 2020 ยท 3 min ยท 547 words ยท Samir Paul

Intersection of Two Arrays II

November 10, 2020 ยท 4 min ยท 823 words ยท Samir Paul

Android Unlock Patterns

November 10, 2020 ยท 7 min ยท 1280 words ยท Samir Paul

Data Stream as Disjoint Intervals

November 10, 2020 ยท 4 min ยท 792 words ยท Samir Paul

Design Snake Game

November 10, 2020 ยท 8 min ยท 1606 words ยท Samir Paul

Russian Doll Envelopes

November 10, 2020 ยท 3 min ยท 598 words ยท Samir Paul

Design Twitter

November 10, 2020 ยท 5 min ยท 949 words ยท Samir Paul

Line Reflection

November 10, 2020 ยท 3 min ยท 450 words ยท Samir Paul

Count Numbers with Unique Digits

November 10, 2020 ยท 5 min ยท 877 words ยท Samir Paul

Rearrange String k Distance Apart

November 10, 2020 ยท 4 min ยท 698 words ยท Samir Paul

Logger Rate Limiter

November 10, 2020 ยท 4 min ยท 645 words ยท Samir Paul

Sort Transformed Array

November 10, 2020 ยท 4 min ยท 750 words ยท Samir Paul

Bomb Enemy

November 9, 2020 ยท 6 min ยท 1119 words ยท Samir Paul

Design Hit Counter

November 9, 2020 ยท 4 min ยท 656 words ยท Samir Paul

Max Sum of Rectangle No Larger Than K

November 9, 2020 ยท 17 min ยท 3462 words ยท Samir Paul

Nested List Weight Sum II

November 9, 2020 ยท 6 min ยท 1215 words ยท Samir Paul

Water and Jug Problem

November 9, 2020 ยท 5 min ยท 932 words ยท Samir Paul

Find Leaves of Binary Tree

November 9, 2020 ยท 4 min ยท 720 words ยท Samir Paul

Valid Perfect Square

November 9, 2020 ยท 5 min ยท 855 words ยท Samir Paul

Largest Divisible Subset

November 9, 2020 ยท 3 min ยท 599 words ยท Samir Paul

Plus One Linked List

November 9, 2020 ยท 3 min ยท 556 words ยท Samir Paul

Range Addition

November 9, 2020 ยท 6 min ยท 1139 words ยท Samir Paul

Sum of Two Integers

November 9, 2020 ยท 2 min ยท 241 words ยท Samir Paul

Super Pow

November 9, 2020 ยท 3 min ยท 595 words ยท Samir Paul

Find K Pairs with Smallest Sums

November 9, 2020 ยท 4 min ยท 659 words ยท Samir Paul

Guess Number Higher or Lower

November 9, 2020 ยท 6 min ยท 1146 words ยท Samir Paul

Guess Number Higher or Lower II

November 9, 2020 ยท 5 min ยท 868 words ยท Samir Paul

Wiggle Subsequence

November 9, 2020 ยท 3 min ยท 584 words ยท Samir Paul

Combination Sum IV

November 9, 2020 ยท 3 min ยท 628 words ยท Samir Paul

Kth Smallest Element in a Sorted Matrix

November 9, 2020 ยท 4 min ยท 722 words ยท Samir Paul

Design Phone Directory

November 9, 2020 ยท 3 min ยท 602 words ยท Samir Paul

Insert Delete GetRandom O(1)

November 9, 2020 ยท 8 min ยท 1511 words ยท Samir Paul

Insert Delete GetRandom O(1) - Duplicates allowed

November 9, 2020 ยท 5 min ยท 858 words ยท Samir Paul

Linked List Random Node

November 9, 2020 ยท 4 min ยท 773 words ยท Samir Paul

Ransom Note

November 9, 2020 ยท 4 min ยท 666 words ยท Samir Paul

Shuffle an Array

November 9, 2020 ยท 6 min ยท 1087 words ยท Samir Paul

Mini Parser

November 8, 2020 ยท 20 min ยท 4109 words ยท Samir Paul

Lexicographical Numbers

November 8, 2020 ยท 4 min ยท 751 words ยท Samir Paul

First Unique Character in a String

November 8, 2020 ยท 3 min ยท 492 words ยท Samir Paul

Longest Absolute File Path

November 8, 2020 ยท 5 min ยท 966 words ยท Samir Paul

Find the Difference

November 8, 2020 ยท 5 min ยท 1031 words ยท Samir Paul

Elimination Game

November 8, 2020 ยท 3 min ยท 512 words ยท Samir Paul

Perfect Rectangle

November 8, 2020 ยท 5 min ยท 948 words ยท Samir Paul

Is Subsequence

November 8, 2020 ยท 4 min ยท 747 words ยท Samir Paul

UTF-8 Validation

November 8, 2020 ยท 4 min ยท 723 words ยท Samir Paul

Decode String

November 8, 2020 ยท 3 min ยท 496 words ยท Samir Paul

Longest Substring with At Least K Repeating Characters

November 8, 2020 ยท 4 min ยท 833 words ยท Samir Paul

Rotate Function

November 8, 2020 ยท 4 min ยท 721 words ยท Samir Paul

Integer Replacement

November 8, 2020 ยท 2 min ยท 377 words ยท Samir Paul

Random Pick Index

November 8, 2020 ยท 3 min ยท 628 words ยท Samir Paul

Evaluate Division

November 8, 2020 ยท 7 min ยท 1335 words ยท Samir Paul

Nth Digit

November 8, 2020 ยท 3 min ยท 517 words ยท Samir Paul

Binary Watch

November 8, 2020 ยท 5 min ยท 1040 words ยท Samir Paul

Remove K Digits

November 8, 2020 ยท 3 min ยท 551 words ยท Samir Paul

Frog Jump

November 8, 2020 ยท 10 min ยท 2117 words ยท Samir Paul

Sum of Left Leaves

November 8, 2020 ยท 4 min ยท 792 words ยท Samir Paul

Convert a Number to Hexadecimal

November 8, 2020 ยท 3 min ยท 508 words ยท Samir Paul

Queue Reconstruction by Height

November 8, 2020 ยท 3 min ยท 483 words ยท Samir Paul

Trapping Rain Water II

November 8, 2020 ยท 5 min ยท 891 words ยท Samir Paul

Valid Word Abbreviation

November 8, 2020 ยท 5 min ยท 1058 words ยท Samir Paul

Longest Palindrome

November 7, 2020 ยท 4 min ยท 762 words ยท Samir Paul

Split Array Largest Sum

November 7, 2020 ยท 5 min ยท 1042 words ยท Samir Paul

Minimum Unique Word Abbreviation

November 7, 2020 ยท 2 min ยท 338 words ยท Samir Paul

Fizz Buzz

November 7, 2020 ยท 3 min ยท 544 words ยท Samir Paul

Arithmetic Slices

November 7, 2020 ยท 3 min ยท 540 words ยท Samir Paul

Third Maximum Number

November 7, 2020 ยท 3 min ยท 560 words ยท Samir Paul

Add Strings

November 7, 2020 ยท 9 min ยท 1893 words ยท Samir Paul

Partition Equal Subset Sum

November 7, 2020 ยท 8 min ยท 1618 words ยท Samir Paul

Pacific Atlantic Water Flow

November 7, 2020 ยท 8 min ยท 1638 words ยท Samir Paul

Sentence Screen Fitting

November 7, 2020 ยท 3 min ยท 619 words ยท Samir Paul

Battleships in a Board

November 7, 2020 ยท 3 min ยท 503 words ยท Samir Paul

Strong Password Checker

November 7, 2020 ยท 6 min ยท 1187 words ยท Samir Paul

Maximum XOR of Two Numbers in an Array

November 7, 2020 ยท 5 min ยท 979 words ยท Samir Paul

Valid Word Square

November 7, 2020 ยท 3 min ยท 585 words ยท Samir Paul

Reconstruct Original Digits from English

November 7, 2020 ยท 3 min ยท 580 words ยท Samir Paul

Longest Repeating Character Replacement

November 7, 2020 ยท 3 min ยท 464 words ยท Samir Paul

Word Squares

November 7, 2020 ยท 5 min ยท 860 words ยท Samir Paul

Convert Binary Search Tree to Sorted Doubly Linked List

November 7, 2020 ยท 5 min ยท 896 words ยท Samir Paul

Construct Quad Tree

November 7, 2020 ยท 8 min ยท 1556 words ยท Samir Paul

Serialize and Deserialize N-ary Tree

November 7, 2020 ยท 2 min ยท 286 words ยท Samir Paul

N-ary Tree Level Order Traversal

November 7, 2020 ยท 6 min ยท 1245 words ยท Samir Paul

Flatten a Multilevel Doubly Linked List

November 7, 2020 ยท 4 min ยท 727 words ยท Samir Paul

Encode N-ary Tree to Binary Tree

November 7, 2020 ยท 2 min ยท 259 words ยท Samir Paul

All O`one Data Structure

November 7, 2020 ยท 5 min ยท 904 words ยท Samir Paul

Minimum Genetic Mutation

November 6, 2020 ยท 8 min ยท 1562 words ยท Samir Paul

Number of Segments in a String

November 6, 2020 ยท 3 min ยท 504 words ยท Samir Paul

Non-overlapping Intervals

November 6, 2020 ยท 3 min ยท 638 words ยท Samir Paul

Find Right Interval

November 6, 2020 ยท 4 min ยท 799 words ยท Samir Paul

Path Sum III

November 6, 2020 ยท 4 min ยท 806 words ยท Samir Paul

Find All Anagrams in a String

November 6, 2020 ยท 8 min ยท 1545 words ยท Samir Paul

Ternary Expression Parser

November 6, 2020 ยท 4 min ยท 666 words ยท Samir Paul

K-th Smallest in Lexicographical Order

November 6, 2020 ยท 3 min ยท 533 words ยท Samir Paul

Arranging Coins

November 6, 2020 ยท 3 min ยท 429 words ยท Samir Paul

Find All Duplicates in an Array

November 6, 2020 ยท 2 min ยท 411 words ยท Samir Paul

String Compression

November 6, 2020 ยท 4 min ยท 706 words ยท Samir Paul

Sequence Reconstruction

November 6, 2020 ยท 5 min ยท 880 words ยท Samir Paul

Add Two Numbers II

November 6, 2020 ยท 7 min ยท 1412 words ยท Samir Paul

Arithmetic Slices II - Subsequence

November 6, 2020 ยท 3 min ยท 569 words ยท Samir Paul

Number of Boomerangs

November 6, 2020 ยท 5 min ยท 947 words ยท Samir Paul

Find All Numbers Disappeared in an Array

November 6, 2020 ยท 4 min ยท 784 words ยท Samir Paul

Serialize and Deserialize BST

November 6, 2020 ยท 6 min ยท 1213 words ยท Samir Paul

Delete Node in a BST

November 6, 2020 ยท 7 min ยท 1297 words ยท Samir Paul

Sort Characters By Frequency

November 6, 2020 ยท 4 min ยท 652 words ยท Samir Paul

Minimum Number of Arrows to Burst Balloons

November 6, 2020 ยท 4 min ยท 659 words ยท Samir Paul

Minimum Moves to Equal Array Elements

November 6, 2020 ยท 2 min ยท 357 words ยท Samir Paul

4Sum II

November 6, 2020 ยท 3 min ยท 550 words ยท Samir Paul

Assign Cookies

November 6, 2020 ยท 4 min ยท 679 words ยท Samir Paul

132 Pattern

November 6, 2020 ยท 9 min ยท 1750 words ยท Samir Paul

Circular Array Loop

November 5, 2020 ยท 5 min ยท 904 words ยท Samir Paul

Poor Pigs

November 5, 2020 ยท 3 min ยท 590 words ยท Samir Paul

Repeated Substring Pattern

November 5, 2020 ยท 2 min ยท 328 words ยท Samir Paul

LFU Cache

November 5, 2020 ยท 13 min ยท 2589 words ยท Samir Paul

Hamming Distance

November 5, 2020 ยท 2 min ยท 271 words ยท Samir Paul

Minimum Moves to Equal Array Elements II

November 5, 2020 ยท 3 min ยท 453 words ยท Samir Paul

Island Perimeter

November 5, 2020 ยท 4 min ยท 697 words ยท Samir Paul

Can I Win

November 5, 2020 ยท 4 min ยท 706 words ยท Samir Paul

Optimal Account Balancing

November 5, 2020 ยท 5 min ยท 1039 words ยท Samir Paul

Count The Repetitions

November 5, 2020 ยท 4 min ยท 768 words ยท Samir Paul

Unique Substrings in Wraparound String

November 5, 2020 ยท 4 min ยท 655 words ยท Samir Paul

Validate IP Address

November 5, 2020 ยท 4 min ยท 730 words ยท Samir Paul

Convex Polygon

November 5, 2020 ยท 3 min ยท 559 words ยท Samir Paul

Implement Rand10() Using Rand7()

November 5, 2020 ยท 3 min ยท 625 words ยท Samir Paul

Encode String with Shortest Length

November 5, 2020 ยท 5 min ยท 1015 words ยท Samir Paul

Concatenated Words

November 5, 2020 ยท 5 min ยท 868 words ยท Samir Paul

Matchsticks to Square

November 5, 2020 ยท 5 min ยท 908 words ยท Samir Paul

Ones and Zeroes

November 5, 2020 ยท 7 min ยท 1436 words ยท Samir Paul

Heaters

November 5, 2020 ยท 4 min ยท 789 words ยท Samir Paul

Number Complement

November 5, 2020 ยท 3 min ยท 485 words ยท Samir Paul

Total Hamming Distance

November 5, 2020 ยท 2 min ยท 421 words ยท Samir Paul

Generate Random Point in a Circle

November 5, 2020 ยท 2 min ยท 230 words ยท Samir Paul

Largest Palindrome Product

November 5, 2020 ยท 3 min ยท 437 words ยท Samir Paul

Sliding Window Median

November 5, 2020 ยท 7 min ยท 1478 words ยท Samir Paul

Magical String

November 4, 2020 ยท 4 min ยท 657 words ยท Samir Paul

License Key Formatting

November 4, 2020 ยท 3 min ยท 599 words ยท Samir Paul

Smallest Good Base

November 4, 2020 ยท 3 min ยท 499 words ยท Samir Paul

Find Permutation

November 4, 2020 ยท 3 min ยท 535 words ยท Samir Paul

Max Consecutive Ones

November 4, 2020 ยท 3 min ยท 556 words ยท Samir Paul

Predict the Winner

November 4, 2020 ยท 6 min ยท 1243 words ยท Samir Paul

Max Consecutive Ones II

November 4, 2020 ยท 7 min ยท 1366 words ยท Samir Paul

Zuma Game

November 4, 2020 ยท 3 min ยท 558 words ยท Samir Paul

Robot Room Cleaner

November 4, 2020 ยท 8 min ยท 1651 words ยท Samir Paul

The Maze

November 4, 2020 ยท 8 min ยท 1559 words ยท Samir Paul

Non-decreasing Subsequences

November 4, 2020 ยท 3 min ยท 440 words ยท Samir Paul

Construct the Rectangle

November 4, 2020 ยท 2 min ยท 341 words ยท Samir Paul

Reverse Pairs

November 4, 2020 ยท 14 min ยท 2798 words ยท Samir Paul

Target Sum

November 4, 2020 ยท 8 min ยท 1586 words ยท Samir Paul

Teemo Attacking

November 4, 2020 ยท 3 min ยท 543 words ยท Samir Paul

Next Greater Element I

November 4, 2020 ยท 6 min ยท 1268 words ยท Samir Paul

Random Point in Non-overlapping Rectangles

November 4, 2020 ยท 5 min ยท 869 words ยท Samir Paul

Diagonal Traverse

November 4, 2020 ยท 4 min ยท 812 words ยท Samir Paul

The Maze III

November 4, 2020 ยท 7 min ยท 1366 words ยท Samir Paul

Keyboard Row

November 4, 2020 ยท 3 min ยท 629 words ยท Samir Paul

Find Mode in Binary Search Tree

November 4, 2020 ยท 5 min ยท 936 words ยท Samir Paul

IPO

November 4, 2020 ยท 4 min ยท 797 words ยท Samir Paul

Next Greater Element II

November 4, 2020 ยท 5 min ยท 983 words ยท Samir Paul

Base 7

November 4, 2020 ยท 3 min ยท 435 words ยท Samir Paul

The Maze II

November 3, 2020 ยท 6 min ยท 1253 words ยท Samir Paul

Relative Ranks

November 3, 2020 ยท 3 min ยท 553 words ยท Samir Paul

Perfect Number

November 3, 2020 ยท 2 min ยท 396 words ยท Samir Paul

Most Frequent Subtree Sum

November 3, 2020 ยท 6 min ยท 1092 words ยท Samir Paul

Fibonacci Number

November 3, 2020 ยท 3 min ยท 598 words ยท Samir Paul

Inorder Successor in BST II

November 3, 2020 ยท 4 min ยท 640 words ยท Samir Paul

Game Play Analysis I

November 3, 2020 ยท 2 min ยท 291 words ยท Samir Paul

Game Play Analysis II

November 3, 2020 ยท 2 min ยท 373 words ยท Samir Paul

Find Bottom Left Tree Value

November 3, 2020 ยท 8 min ยท 1684 words ยท Samir Paul

Freedom Trail

November 3, 2020 ยท 5 min ยท 964 words ยท Samir Paul

Find Largest Value in Each Tree Row

November 3, 2020 ยท 9 min ยท 1780 words ยท Samir Paul

Longest Palindromic Subsequence

November 3, 2020 ยท 3 min ยท 480 words ยท Samir Paul

Super Washing Machines

November 3, 2020 ยท 3 min ยท 633 words ยท Samir Paul

Coin Change II

November 3, 2020 ยท 3 min ยท 636 words ยท Samir Paul

Random Flip Matrix

November 3, 2020 ยท 3 min ยท 524 words ยท Samir Paul

Detect Capital

November 3, 2020 ยท 2 min ยท 294 words ยท Samir Paul

Longest Uncommon Subsequence I

November 3, 2020 ยท 2 min ยท 390 words ยท Samir Paul

Longest Uncommon Subsequence II

November 3, 2020 ยท 3 min ยท 625 words ยท Samir Paul

Continuous Subarray Sum

November 3, 2020 ยท 3 min ยท 507 words ยท Samir Paul

Longest Word in Dictionary through Deleting

November 3, 2020 ยท 4 min ยท 740 words ยท Samir Paul

Contiguous Array

November 3, 2020 ยท 3 min ยท 462 words ยท Samir Paul

Beautiful Arrangement

November 3, 2020 ยท 6 min ยท 1101 words ยท Samir Paul

Word Abbreviation

November 3, 2020 ยท 8 min ยท 1532 words ยท Samir Paul

Random Pick with Weight

November 3, 2020 ยท 6 min ยท 1174 words ยท Samir Paul

Minesweeper

November 2, 2020 ยท 6 min ยท 1273 words ยท Samir Paul

Minimum Absolute Difference in BST

November 2, 2020 ยท 4 min ยท 755 words ยท Samir Paul

Lonely Pixel I

November 2, 2020 ยท 3 min ยท 563 words ยท Samir Paul

K-diff Pairs in an Array

November 2, 2020 ยท 3 min ยท 547 words ยท Samir Paul

Lonely Pixel II

November 2, 2020 ยท 6 min ยท 1081 words ยท Samir Paul

Game Play Analysis III

November 2, 2020 ยท 3 min ยท 533 words ยท Samir Paul

Encode and Decode TinyURL

November 2, 2020 ยท 3 min ยท 634 words ยท Samir Paul

Construct Binary Tree from String

November 2, 2020 ยท 5 min ยท 877 words ยท Samir Paul

Complex Number Multiplication

November 2, 2020 ยท 3 min ยท 449 words ยท Samir Paul

Convert BST to Greater Tree

November 2, 2020 ยท 7 min ยท 1332 words ยท Samir Paul

Minimum Time Difference

November 2, 2020 ยท 3 min ยท 483 words ยท Samir Paul

Single Element in a Sorted Array

November 2, 2020 ยท 3 min ยท 597 words ยท Samir Paul

Reverse String II

November 2, 2020 ยท 2 min ยท 347 words ยท Samir Paul

01 Matrix

November 2, 2020 ยท 6 min ยท 1161 words ยท Samir Paul

Diameter of Binary Tree

November 2, 2020 ยท 6 min ยท 1164 words ยท Samir Paul

Output Contest Matches

November 2, 2020 ยท 3 min ยท 572 words ยท Samir Paul

Boundary of Binary Tree

November 2, 2020 ยท 6 min ยท 1115 words ยท Samir Paul

Remove Boxes

November 2, 2020 ยท 4 min ยท 713 words ยท Samir Paul

Number of Provinces

November 2, 2020 ยท 7 min ยท 1285 words ยท Samir Paul

Split Array with Equal Sum

November 2, 2020 ยท 4 min ยท 664 words ยท Samir Paul

Binary Tree Longest Consecutive Sequence II

November 2, 2020 ยท 5 min ยท 929 words ยท Samir Paul

Game Play Analysis IV

November 2, 2020 ยท 3 min ยท 621 words ยท Samir Paul

Student Attendance Record I

November 2, 2020 ยท 2 min ยท 284 words ยท Samir Paul

Student Attendance Record II

November 2, 2020 ยท 7 min ยท 1465 words ยท Samir Paul

Optimal Division

November 1, 2020 ยท 3 min ยท 569 words ยท Samir Paul

Brick Wall

November 1, 2020 ยท 3 min ยท 488 words ยท Samir Paul

Split Concatenated Strings

November 1, 2020 ยท 4 min ยท 852 words ยท Samir Paul

Next Greater Element III

November 1, 2020 ยท 3 min ยท 547 words ยท Samir Paul

Reverse Words in a String III

November 1, 2020 ยท 3 min ยท 450 words ยท Samir Paul

Logical OR of Two Binary Grids Represented as Quad-Trees

November 1, 2020 ยท 7 min ยท 1372 words ยท Samir Paul

Maximum Depth of N-ary Tree

November 1, 2020 ยท 3 min ยท 444 words ยท Samir Paul

Subarray Sum Equals K

November 1, 2020 ยท 3 min ยท 514 words ยท Samir Paul

Array Partition

November 1, 2020 ยท 3 min ยท 427 words ยท Samir Paul

Longest Line of Consecutive One in Matrix

November 1, 2020 ยท 4 min ยท 680 words ยท Samir Paul

Binary Tree Tilt

November 1, 2020 ยท 4 min ยท 807 words ยท Samir Paul

Find the Closest Palindrome

November 1, 2020 ยท 4 min ยท 706 words ยท Samir Paul

Array Nesting

November 1, 2020 ยท 4 min ยท 790 words ยท Samir Paul

Reshape the Matrix

November 1, 2020 ยท 5 min ยท 910 words ยท Samir Paul

Permutation in String

November 1, 2020 ยท 8 min ยท 1608 words ยท Samir Paul

Maximum Vacation Days

November 1, 2020 ยท 6 min ยท 1132 words ยท Samir Paul

Median Employee Salary

November 1, 2020 ยท 3 min ยท 566 words ยท Samir Paul

Managers with at Least 5 Direct Reports

November 1, 2020 ยท 2 min ยท 392 words ยท Samir Paul

Find Median Given Frequency of Numbers

November 1, 2020 ยท 2 min ยท 258 words ยท Samir Paul

Subtree of Another Tree

November 1, 2020 ยท 6 min ยท 1200 words ยท Samir Paul

Squirrel Simulation

November 1, 2020 ยท 4 min ยท 661 words ยท Samir Paul

Winning Candidate

November 1, 2020 ยท 2 min ยท 358 words ยท Samir Paul

Distribute Candies

November 1, 2020 ยท 2 min ยท 341 words ยท Samir Paul

Out of Boundary Paths

November 1, 2020 ยท 5 min ยท 1027 words ยท Samir Paul

October  744

Employee Bonus

October 31, 2020 ยท 2 min ยท 356 words ยท Samir Paul

Get Highest Answer Rate Question

October 31, 2020 ยท 2 min ยท 412 words ยท Samir Paul

Find Cumulative Salary of an Employee

October 31, 2020 ยท 4 min ยท 762 words ยท Samir Paul

Count Student Number in Departments

October 31, 2020 ยท 2 min ยท 373 words ยท Samir Paul

Shortest Unsorted Continuous Subarray

October 31, 2020 ยท 7 min ยท 1356 words ยท Samir Paul

Kill Process

October 31, 2020 ยท 4 min ยท 737 words ยท Samir Paul

Delete Operation for Two Strings

October 31, 2020 ยท 4 min ยท 786 words ยท Samir Paul

Find Customer Referee

October 31, 2020 ยท 2 min ยท 227 words ยท Samir Paul

Investments in 2016

October 31, 2020 ยท 2 min ยท 409 words ยท Samir Paul

Customer Placing the Largest Number of Orders

October 31, 2020 ยท 2 min ยท 302 words ยท Samir Paul

Erect the Fence

October 31, 2020 ยท 5 min ยท 885 words ยท Samir Paul

Design In-Memory File System

October 31, 2020 ยท 6 min ยท 1181 words ยท Samir Paul

N-ary Tree Preorder Traversal

October 31, 2020 ยท 5 min ยท 902 words ยท Samir Paul

N-ary Tree Postorder Traversal

October 31, 2020 ยท 6 min ยท 1146 words ยท Samir Paul

Tag Validator

October 31, 2020 ยท 8 min ยท 1586 words ยท Samir Paul

Fraction Addition and Subtraction

October 31, 2020 ยท 4 min ยท 678 words ยท Samir Paul

Valid Square

October 31, 2020 ยท 4 min ยท 822 words ยท Samir Paul

Longest Harmonious Subsequence

October 31, 2020 ยท 2 min ยท 401 words ยท Samir Paul

Big Countries

October 31, 2020 ยท 2 min ยท 306 words ยท Samir Paul

Classes More Than 5 Students

October 31, 2020 ยท 2 min ยท 266 words ยท Samir Paul

Friend Requests I Overall Acceptance Rate

October 31, 2020 ยท 3 min ยท 476 words ยท Samir Paul

Range Addition II

October 31, 2020 ยท 2 min ยท 323 words ยท Samir Paul

Minimum Index Sum of Two Lists

October 31, 2020 ยท 5 min ยท 925 words ยท Samir Paul

Non-negative Integers without Consecutive Ones

October 31, 2020 ยท 4 min ยท 718 words ยท Samir Paul

Human Traffic of Stadium

October 30, 2020 ยท 2 min ยท 366 words ยท Samir Paul

Friend Requests II Who Has the Most Friends

October 30, 2020 ยท 2 min ยท 292 words ยท Samir Paul

Consecutive Available Seats

October 30, 2020 ยท 2 min ยท 408 words ยท Samir Paul

Design Compressed String Iterator

October 30, 2020 ยท 5 min ยท 899 words ยท Samir Paul

Can Place Flowers

October 30, 2020 ยท 4 min ยท 766 words ยท Samir Paul

Construct String from Binary Tree

October 30, 2020 ยท 5 min ยท 905 words ยท Samir Paul

Sales Person

October 30, 2020 ยท 3 min ยท 638 words ยท Samir Paul

Tree Node

October 30, 2020 ยท 3 min ยท 428 words ยท Samir Paul

Find Duplicate File in System

October 30, 2020 ยท 4 min ยท 828 words ยท Samir Paul

Triangle Judgement

October 30, 2020 ยท 2 min ยท 239 words ยท Samir Paul

Valid Triangle Number

October 30, 2020 ยท 4 min ยท 715 words ยท Samir Paul

Shortest Distance in a Plane

October 30, 2020 ยท 1 min ยท 213 words ยท Samir Paul

Shortest Distance in a Line

October 30, 2020 ยท 2 min ยท 271 words ยท Samir Paul

Second Degree Follower

October 30, 2020 ยท 2 min ยท 306 words ยท Samir Paul

Average Salary Departments VS Company

October 30, 2020 ยท 3 min ยท 597 words ยท Samir Paul

Add Bold Tag in String

October 30, 2020 ยท 7 min ยท 1375 words ยท Samir Paul

Merge Two Binary Trees

October 30, 2020 ยท 5 min ยท 1005 words ยท Samir Paul

Students Report By Geography

October 30, 2020 ยท 2 min ยท 282 words ยท Samir Paul

Biggest Single Number

October 30, 2020 ยท 2 min ยท 383 words ยท Samir Paul

Not Boring Movies

October 30, 2020 ยท 2 min ยท 314 words ยท Samir Paul

Task Scheduler

October 30, 2020 ยท 3 min ยท 623 words ยท Samir Paul

Design Circular Queue

October 30, 2020 ยท 9 min ยท 1766 words ยท Samir Paul

Add One Row to Tree

October 30, 2020 ยท 9 min ยท 1822 words ยท Samir Paul

Maximum Distance in Arrays

October 30, 2020 ยท 3 min ยท 446 words ยท Samir Paul

Minimum Factorization

October 29, 2020 ยท 2 min ยท 423 words ยท Samir Paul

Exchange Seats

October 29, 2020 ยท 2 min ยท 395 words ยท Samir Paul

Swap Salary

October 29, 2020 ยท 2 min ยท 296 words ยท Samir Paul

Maximum Product of Three Numbers

October 29, 2020 ยท 5 min ยท 872 words ยท Samir Paul

K Inverse Pairs Array

October 29, 2020 ยท 4 min ยท 712 words ยท Samir Paul

Course Schedule III

October 29, 2020 ยท 3 min ยท 638 words ยท Samir Paul

Design Excel Sum Formula

October 29, 2020 ยท 3 min ยท 478 words ยท Samir Paul

Smallest Range Covering Elements from K Lists

October 29, 2020 ยท 5 min ยท 966 words ยท Samir Paul

Sum of Square Numbers

October 29, 2020 ยท 3 min ยท 484 words ยท Samir Paul

Find the Derangement of An Array

October 29, 2020 ยท 3 min ยท 598 words ยท Samir Paul

Design Log Storage System

October 29, 2020 ยท 5 min ยท 953 words ยท Samir Paul

Exclusive Time of Functions

October 29, 2020 ยท 6 min ยท 1164 words ยท Samir Paul

Average of Levels in Binary Tree

October 29, 2020 ยท 9 min ยท 1736 words ยท Samir Paul

Shopping Offers

October 29, 2020 ยท 5 min ยท 861 words ยท Samir Paul

Decode Ways II

October 29, 2020 ยท 6 min ยท 1175 words ยท Samir Paul

Solve the Equation

October 29, 2020 ยท 5 min ยท 967 words ยท Samir Paul

Design Circular Deque

October 29, 2020 ยท 11 min ยท 2151 words ยท Samir Paul

Design Search Autocomplete System

October 29, 2020 ยท 6 min ยท 1150 words ยท Samir Paul

Maximum Average Subarray I

October 29, 2020 ยท 3 min ยท 480 words ยท Samir Paul

Maximum Average Subarray II

October 29, 2020 ยท 5 min ยท 994 words ยท Samir Paul

Set Mismatch

October 29, 2020 ยท 10 min ยท 2030 words ยท Samir Paul

Maximum Length of Pair Chain

October 29, 2020 ยท 5 min ยท 944 words ยท Samir Paul

Palindromic Substrings

October 29, 2020 ยท 4 min ยท 716 words ยท Samir Paul

Replace Words

October 29, 2020 ยท 7 min ยท 1315 words ยท Samir Paul

Dota2 Senate

October 28, 2020 ยท 5 min ยท 1017 words ยท Samir Paul

2 Keys Keyboard

October 28, 2020 ยท 5 min ยท 890 words ยท Samir Paul

4 Keys Keyboard

October 28, 2020 ยท 2 min ยท 406 words ยท Samir Paul

Find Duplicate Subtrees

October 28, 2020 ยท 5 min ยท 976 words ยท Samir Paul

Two Sum IV - Input is a BST

October 28, 2020 ยท 8 min ยท 1547 words ยท Samir Paul

Maximum Binary Tree

October 28, 2020 ยท 16 min ยท 3215 words ยท Samir Paul

Print Binary Tree

October 28, 2020 ยท 12 min ยท 2481 words ยท Samir Paul

Coin Path

October 28, 2020 ยท 5 min ยท 994 words ยท Samir Paul

Robot Return to Origin

October 28, 2020 ยท 3 min ยท 459 words ยท Samir Paul

Find K Closest Elements

October 28, 2020 ยท 6 min ยท 1264 words ยท Samir Paul

Split Array into Consecutive Subsequences

October 28, 2020 ยท 3 min ยท 610 words ยท Samir Paul

Remove 9

October 28, 2020 ยท 1 min ยท 78 words ยท Samir Paul

Image Smoother

October 28, 2020 ยท 5 min ยท 1000 words ยท Samir Paul

Maximum Width of Binary Tree

October 28, 2020 ยท 7 min ยท 1331 words ยท Samir Paul

Equal Tree Partition

October 28, 2020 ยท 4 min ยท 647 words ยท Samir Paul

Strange Printer

October 28, 2020 ยท 4 min ยท 817 words ยท Samir Paul

Non-decreasing Array

October 28, 2020 ยท 3 min ยท 606 words ยท Samir Paul

Path Sum IV

October 28, 2020 ยท 4 min ยท 708 words ยท Samir Paul

Beautiful Arrangement II

October 28, 2020 ยท 3 min ยท 585 words ยท Samir Paul

Kth Smallest Number in Multiplication Table

October 28, 2020 ยท 3 min ยท 461 words ยท Samir Paul

Trim a Binary Search Tree

October 28, 2020 ยท 10 min ยท 2057 words ยท Samir Paul

Maximum Swap

October 28, 2020 ยท 4 min ยท 837 words ยท Samir Paul

Second Minimum Node In a Binary Tree

October 28, 2020 ยท 4 min ยท 768 words ยท Samir Paul

Bulb Switcher II

October 28, 2020 ยท 4 min ยท 728 words ยท Samir Paul

Number of Longest Increasing Subsequence

October 27, 2020 ยท 13 min ยท 2660 words ยท Samir Paul

Longest Continuous Increasing Subsequence

October 27, 2020 ยท 6 min ยท 1270 words ยท Samir Paul

Cut Off Trees for Golf Event

October 27, 2020 ยท 9 min ยท 1847 words ยท Samir Paul

Implement Magic Dictionary

October 27, 2020 ยท 11 min ยท 2263 words ยท Samir Paul

Map Sum Pairs

October 27, 2020 ยท 6 min ยท 1223 words ยท Samir Paul

Valid Parenthesis String

October 27, 2020 ยท 6 min ยท 1202 words ยท Samir Paul

24 Game

October 27, 2020 ยท 7 min ยท 1412 words ยท Samir Paul

Valid Palindrome II

October 27, 2020 ยท 5 min ยท 892 words ยท Samir Paul

Next Closest Time

October 27, 2020 ยท 3 min ยท 550 words ยท Samir Paul

Baseball Game

October 27, 2020 ยท 5 min ยท 968 words ยท Samir Paul

K Empty Slots

October 27, 2020 ยท 7 min ยท 1322 words ยท Samir Paul

Redundant Connection

October 27, 2020 ยท 3 min ยท 598 words ยท Samir Paul

Redundant Connection II

October 27, 2020 ยท 5 min ยท 1053 words ยท Samir Paul

Repeated String Match

October 27, 2020 ยท 3 min ยท 471 words ยท Samir Paul

Longest Univalue Path

October 27, 2020 ยท 7 min ยท 1377 words ยท Samir Paul

Knight Probability in Chessboard

October 27, 2020 ยท 7 min ยท 1439 words ยท Samir Paul

Maximum Sum of 3 Non-Overlapping Subarrays

October 27, 2020 ยท 12 min ยท 2360 words ยท Samir Paul

Employee Importance

October 27, 2020 ยท 3 min ยท 539 words ยท Samir Paul

Stickers to Spell Word

October 27, 2020 ยท 5 min ยท 1023 words ยท Samir Paul

Top K Frequent Words

October 27, 2020 ยท 3 min ยท 442 words ยท Samir Paul

Binary Number with Alternating Bits

October 27, 2020 ยท 3 min ยท 514 words ยท Samir Paul

Number of Distinct Islands

October 27, 2020 ยท 5 min ยท 896 words ยท Samir Paul

Max Area of Island

October 27, 2020 ยท 5 min ยท 1005 words ยท Samir Paul

Count Binary Substrings

October 27, 2020 ยท 3 min ยท 496 words ยท Samir Paul

Degree of an Array

October 26, 2020 ยท 4 min ยท 836 words ยท Samir Paul

Partition to K Equal Sum Subsets

October 26, 2020 ยท 10 min ยท 1976 words ยท Samir Paul

Falling Squares

October 26, 2020 ยท 9 min ยท 1833 words ยท Samir Paul

Search in a Binary Search Tree

October 26, 2020 ยท 3 min ยท 480 words ยท Samir Paul

Insert into a Binary Search Tree

October 26, 2020 ยท 3 min ยท 558 words ยท Samir Paul

Search in a Sorted Array of Unknown Size

October 26, 2020 ยท 4 min ยท 641 words ยท Samir Paul

Kth Largest Element in a Stream

October 26, 2020 ยท 6 min ยท 1151 words ยท Samir Paul

Binary Search

October 26, 2020 ยท 4 min ยท 697 words ยท Samir Paul

Design HashSet

October 26, 2020 ยท 7 min ยท 1287 words ยท Samir Paul

Design HashMap

October 26, 2020 ยท 4 min ยท 740 words ยท Samir Paul

Design Linked List

October 26, 2020 ยท 16 min ยท 3387 words ยท Samir Paul

Insert into a Sorted Circular Linked List

October 26, 2020 ยท 4 min ยท 819 words ยท Samir Paul

To Lower Case

October 26, 2020 ยท 2 min ยท 370 words ยท Samir Paul

Random Pick with Blacklist

October 26, 2020 ยท 4 min ยท 762 words ยท Samir Paul

Number of Distinct Islands II

October 26, 2020 ยท 5 min ยท 1053 words ยท Samir Paul

Minimum ASCII Delete Sum for Two Strings

October 26, 2020 ยท 6 min ยท 1068 words ยท Samir Paul

Subarray Product Less Than K

October 26, 2020 ยท 4 min ยท 647 words ยท Samir Paul

Best Time to Buy and Sell Stock with Transaction Fee

October 26, 2020 ยท 9 min ยท 1777 words ยท Samir Paul

Range Module

October 26, 2020 ยท 14 min ยท 2791 words ยท Samir Paul

Max Stack

October 26, 2020 ยท 6 min ยท 1097 words ยท Samir Paul

1-bit and 2-bit Characters

October 26, 2020 ยท 2 min ยท 348 words ยท Samir Paul

Maximum Length of Repeated Subarray

October 26, 2020 ยท 4 min ยท 667 words ยท Samir Paul

Find K-th Smallest Pair Distance

October 26, 2020 ยท 4 min ยท 769 words ยท Samir Paul

Longest Word in Dictionary

October 26, 2020 ยท 4 min ยท 772 words ยท Samir Paul

Accounts Merge

October 25, 2020 ยท 4 min ยท 785 words ยท Samir Paul

Remove Comments

October 25, 2020 ยท 7 min ยท 1458 words ยท Samir Paul

Candy Crush

October 25, 2020 ยท 6 min ยท 1154 words ยท Samir Paul

Find Pivot Index

October 25, 2020 ยท 4 min ยท 641 words ยท Samir Paul

Split Linked List in Parts

October 25, 2020 ยท 3 min ยท 511 words ยท Samir Paul

Number of Atoms

October 25, 2020 ยท 2 min ยท 263 words ยท Samir Paul

Minimum Window Subsequence

October 25, 2020 ยท 5 min ยท 971 words ยท Samir Paul

Self Dividing Numbers

October 25, 2020 ยท 3 min ยท 519 words ยท Samir Paul

My Calendar I

October 25, 2020 ยท 5 min ยท 883 words ยท Samir Paul

Count Different Palindromic Subsequences

October 25, 2020 ยท 5 min ยท 907 words ยท Samir Paul

My Calendar II

October 25, 2020 ยท 11 min ยท 2327 words ยท Samir Paul

My Calendar III

October 25, 2020 ยท 8 min ยท 1702 words ยท Samir Paul

Flood Fill

October 25, 2020 ยท 7 min ยท 1487 words ยท Samir Paul

Sentence Similarity

October 25, 2020 ยท 3 min ยท 613 words ยท Samir Paul

Asteroid Collision

October 25, 2020 ยท 5 min ยท 874 words ยท Samir Paul

Parse Lisp Expression

October 25, 2020 ยท 8 min ยท 1635 words ยท Samir Paul

Sentence Similarity II

October 25, 2020 ยท 5 min ยท 949 words ยท Samir Paul

Monotone Increasing Digits

October 25, 2020 ยท 2 min ยท 422 words ยท Samir Paul

Daily Temperatures

October 25, 2020 ยท 4 min ยท 850 words ยท Samir Paul

Delete and Earn

October 25, 2020 ยท 3 min ยท 586 words ยท Samir Paul

Cherry Pickup

October 25, 2020 ยท 6 min ยท 1271 words ยท Samir Paul

Closest Leaf in a Binary Tree

October 25, 2020 ยท 5 min ยท 948 words ยท Samir Paul

Network Delay Time

October 25, 2020 ยท 13 min ยท 2572 words ยท Samir Paul

Find Smallest Letter Greater Than Target

October 25, 2020 ยท 4 min ยท 716 words ยท Samir Paul

Prefix and Suffix Search

October 24, 2020 ยท 8 min ยท 1511 words ยท Samir Paul

Min Cost Climbing Stairs

October 24, 2020 ยท 5 min ยท 998 words ยท Samir Paul

Largest Number At Least Twice of Others

October 24, 2020 ยท 4 min ยท 675 words ยท Samir Paul

Shortest Completing Word

October 24, 2020 ยท 6 min ยท 1186 words ยท Samir Paul

Contain Virus

October 24, 2020 ยท 9 min ยท 1830 words ยท Samir Paul

Number Of Corner Rectangles

October 24, 2020 ยท 4 min ยท 730 words ยท Samir Paul

IP to CIDR

October 24, 2020 ยท 3 min ยท 443 words ยท Samir Paul

Open the Lock

October 24, 2020 ยท 14 min ยท 2885 words ยท Samir Paul

Cracking the Safe

October 24, 2020 ยท 4 min ยท 659 words ยท Samir Paul

Reach a Number

October 24, 2020 ยท 3 min ยท 458 words ยท Samir Paul

Pour Water

October 24, 2020 ยท 5 min ยท 924 words ยท Samir Paul

Pyramid Transition Matrix

October 24, 2020 ยท 5 min ยท 999 words ยท Samir Paul

Set Intersection Size At Least Two

October 24, 2020 ยท 3 min ยท 601 words ยท Samir Paul

Bold Words in String

October 24, 2020 ยท 7 min ยท 1284 words ยท Samir Paul

Employee Free Time

October 24, 2020 ยท 1 min ยท 170 words ยท Samir Paul

Find Anagram Mappings

October 24, 2020 ยท 2 min ยท 272 words ยท Samir Paul

Special Binary String

October 24, 2020 ยท 3 min ยท 520 words ยท Samir Paul

Prime Number of Set Bits in Binary Representation

October 24, 2020 ยท 3 min ยท 439 words ยท Samir Paul

Partition Labels

October 24, 2020 ยท 5 min ยท 893 words ยท Samir Paul

Largest Plus Sign

October 24, 2020 ยท 4 min ยท 851 words ยท Samir Paul

Couples Holding Hands

October 24, 2020 ยท 5 min ยท 891 words ยท Samir Paul

Toeplitz Matrix

October 24, 2020 ยท 3 min ยท 479 words ยท Samir Paul

Reorganize String

October 24, 2020 ยท 7 min ยท 1428 words ยท Samir Paul

Max Chunks To Make Sorted II

October 24, 2020 ยท 3 min ยท 548 words ยท Samir Paul

Max Chunks To Make Sorted

October 23, 2020 ยท 4 min ยท 811 words ยท Samir Paul

Basic Calculator IV

October 23, 2020 ยท 3 min ยท 443 words ยท Samir Paul

Jewels and Stones

October 23, 2020 ยท 3 min ยท 486 words ยท Samir Paul

Basic Calculator III

October 23, 2020 ยท 1 min ยท 130 words ยท Samir Paul

Sliding Puzzle

October 23, 2020 ยท 11 min ยท 2227 words ยท Samir Paul

Minimize Max Distance to Gas Station

October 23, 2020 ยท 3 min ยท 529 words ยท Samir Paul

Global and Local Inversions

October 23, 2020 ยท 5 min ยท 1011 words ยท Samir Paul

Split BST

October 23, 2020 ยท 4 min ยท 826 words ยท Samir Paul

Swap Adjacent in LR String

October 23, 2020 ยท 3 min ยท 611 words ยท Samir Paul

Swim in Rising Water

October 23, 2020 ยท 8 min ยท 1510 words ยท Samir Paul

K-th Symbol in Grammar

October 23, 2020 ยท 3 min ยท 463 words ยท Samir Paul

Reaching Points

October 23, 2020 ยท 3 min ยท 573 words ยท Samir Paul

Rabbits in Forest

October 23, 2020 ยท 2 min ยท 278 words ยท Samir Paul

Transform to Chessboard

October 23, 2020 ยท 7 min ยท 1383 words ยท Samir Paul

Minimum Distance Between BST Nodes

October 23, 2020 ยท 3 min ยท 566 words ยท Samir Paul

Letter Case Permutation

October 23, 2020 ยท 5 min ยท 913 words ยท Samir Paul

Is Graph Bipartite

October 23, 2020 ยท 8 min ยท 1645 words ยท Samir Paul

K-th Smallest Prime Fraction

October 23, 2020 ยท 4 min ยท 698 words ยท Samir Paul

Cheapest Flights Within K Stops

October 23, 2020 ยท 7 min ยท 1315 words ยท Samir Paul

Rotated Digits

October 23, 2020 ยท 7 min ยท 1377 words ยท Samir Paul

Escape The Ghosts

October 23, 2020 ยท 3 min ยท 586 words ยท Samir Paul

Domino and Tromino Tiling

October 23, 2020 ยท 3 min ยท 618 words ยท Samir Paul

Custom Sort String

October 23, 2020 ยท 5 min ยท 1037 words ยท Samir Paul

Number of Matching Subsequences

October 23, 2020 ยท 7 min ยท 1315 words ยท Samir Paul

Preimage Size of Factorial Zeroes Function

October 22, 2020 ยท 3 min ยท 538 words ยท Samir Paul

Valid Tic-Tac-Toe State

October 22, 2020 ยท 6 min ยท 1094 words ยท Samir Paul

Number of Subarrays with Bounded Maximum

October 22, 2020 ยท 5 min ยท 1019 words ยท Samir Paul

Rotate String

October 22, 2020 ยท 2 min ยท 294 words ยท Samir Paul

All Paths From Source to Target

October 22, 2020 ยท 4 min ยท 767 words ยท Samir Paul

Smallest Rotation with Highest Score

October 22, 2020 ยท 4 min ยท 649 words ยท Samir Paul

Champagne Tower

October 22, 2020 ยท 6 min ยท 1237 words ยท Samir Paul

Similar RGB Color

October 22, 2020 ยท 2 min ยท 363 words ยท Samir Paul

Minimum Swaps To Make Sequences Increasing

October 22, 2020 ยท 3 min ยท 593 words ยท Samir Paul

Find Eventual Safe States

October 22, 2020 ยท 7 min ยท 1366 words ยท Samir Paul

Bricks Falling When Hit

October 22, 2020 ยท 9 min ยท 1839 words ยท Samir Paul

Unique Morse Code Words

October 22, 2020 ยท 4 min ยท 722 words ยท Samir Paul

Split Array With Same Average

October 22, 2020 ยท 4 min ยท 838 words ยท Samir Paul

Number of Lines To Write String

October 22, 2020 ยท 3 min ยท 605 words ยท Samir Paul

Max Increase to Keep City Skyline

October 22, 2020 ยท 4 min ยท 746 words ยท Samir Paul

Soup Servings

October 22, 2020 ยท 5 min ยท 908 words ยท Samir Paul

Expressive Words

October 22, 2020 ยท 5 min ยท 939 words ยท Samir Paul

Chalkboard XOR Game

October 22, 2020 ยท 2 min ยท 391 words ยท Samir Paul

Subdomain Visit Count

October 22, 2020 ยท 3 min ยท 619 words ยท Samir Paul

Largest Triangle Area

October 22, 2020 ยท 3 min ยท 521 words ยท Samir Paul

Largest Sum of Averages

October 22, 2020 ยท 4 min ยท 753 words ยท Samir Paul

Binary Tree Pruning

October 22, 2020 ยท 5 min ยท 911 words ยท Samir Paul

Bus Routes

October 22, 2020 ยท 6 min ยท 1237 words ยท Samir Paul

Ambiguous Coordinates

October 22, 2020 ยท 5 min ยท 906 words ยท Samir Paul

Linked List Components

October 21, 2020 ยท 5 min ยท 1019 words ยท Samir Paul

Race Car

October 21, 2020 ยท 3 min ยท 591 words ยท Samir Paul

Most Common Word

October 21, 2020 ยท 4 min ยท 754 words ยท Samir Paul

Short Encoding of Words

October 21, 2020 ยท 7 min ยท 1282 words ยท Samir Paul

Shortest Distance to a Character

October 21, 2020 ยท 4 min ยท 852 words ยท Samir Paul

Card Flipping Game

October 21, 2020 ยท 4 min ยท 759 words ยท Samir Paul

Binary Trees With Factors

October 21, 2020 ยท 4 min ยท 832 words ยท Samir Paul

Goat Latin

October 21, 2020 ยท 3 min ยท 543 words ยท Samir Paul

Friends Of Appropriate Ages

October 21, 2020 ยท 3 min ยท 607 words ยท Samir Paul

Most Profit Assigning Work

October 21, 2020 ยท 3 min ยท 561 words ยท Samir Paul

Making A Large Island

October 21, 2020 ยท 15 min ยท 3133 words ยท Samir Paul

Count Unique Characters of All Substrings of a Given String

October 21, 2020 ยท 5 min ยท 878 words ยท Samir Paul

Consecutive Numbers Sum

October 21, 2020 ยท 2 min ยท 348 words ยท Samir Paul

Positions of Large Groups

October 21, 2020 ยท 3 min ยท 453 words ยท Samir Paul

Masking Personal Information

October 21, 2020 ยท 5 min ยท 897 words ยท Samir Paul

Flipping an Image

October 21, 2020 ยท 3 min ยท 516 words ยท Samir Paul

Find And Replace in String

October 21, 2020 ยท 4 min ยท 809 words ยท Samir Paul

Sum of Distances in Tree

October 21, 2020 ยท 5 min ยท 971 words ยท Samir Paul

Image Overlap

October 21, 2020 ยท 4 min ยท 732 words ยท Samir Paul

Rectangle Overlap

October 21, 2020 ยท 2 min ยท 383 words ยท Samir Paul

New 21 Game

October 21, 2020 ยท 6 min ยท 1173 words ยท Samir Paul

Push Dominoes

October 21, 2020 ยท 5 min ยท 1065 words ยท Samir Paul

Similar String Groups

October 21, 2020 ยท 4 min ยท 784 words ยท Samir Paul

Magic Squares In Grid

October 21, 2020 ยท 7 min ยท 1319 words ยท Samir Paul

Keys and Rooms

October 20, 2020 ยท 4 min ยท 730 words ยท Samir Paul

Split Array into Fibonacci Sequence

October 20, 2020 ยท 4 min ยท 765 words ยท Samir Paul

Guess the Word

October 20, 2020 ยท 2 min ยท 357 words ยท Samir Paul

Backspace String Compare

October 20, 2020 ยท 6 min ยท 1097 words ยท Samir Paul

Longest Mountain in Array

October 20, 2020 ยท 6 min ยท 1081 words ยท Samir Paul

Hand of Straights

October 20, 2020 ยท 5 min ยท 879 words ยท Samir Paul

Shortest Path Visiting All Nodes

October 20, 2020 ยท 7 min ยท 1445 words ยท Samir Paul

Shifting Letters

October 20, 2020 ยท 3 min ยท 525 words ยท Samir Paul

Maximize Distance to Closest Person

October 20, 2020 ยท 3 min ยท 627 words ยท Samir Paul

Rectangle Area II

October 20, 2020 ยท 9 min ยท 1830 words ยท Samir Paul

Loud and Rich

October 20, 2020 ยท 5 min ยท 880 words ยท Samir Paul

Peak Index in a Mountain Array

October 20, 2020 ยท 3 min ยท 618 words ยท Samir Paul

Car Fleet

October 20, 2020 ยท 4 min ยท 832 words ยท Samir Paul

K-Similar Strings

October 20, 2020 ยท 8 min ยท 1676 words ยท Samir Paul

Exam Room

October 20, 2020 ยท 7 min ยท 1306 words ยท Samir Paul

Score of Parentheses

October 20, 2020 ยท 3 min ยท 570 words ยท Samir Paul

Minimum Cost to Hire K Workers

October 20, 2020 ยท 4 min ยท 715 words ยท Samir Paul

Mirror Reflection

October 20, 2020 ยท 3 min ยท 525 words ยท Samir Paul

Buddy Strings

October 20, 2020 ยท 4 min ยท 750 words ยท Samir Paul

Lemonade Change

October 20, 2020 ยท 4 min ยท 811 words ยท Samir Paul

Score After Flipping Matrix

October 20, 2020 ยท 4 min ยท 809 words ยท Samir Paul

Shortest Subarray with Sum at Least K

October 20, 2020 ยท 3 min ยท 517 words ยท Samir Paul

All Nodes Distance K in Binary Tree

October 20, 2020 ยท 5 min ยท 916 words ยท Samir Paul

Shortest Path to Get All Keys

October 20, 2020 ยท 7 min ยท 1419 words ยท Samir Paul

Smallest Subtree with all the Deepest Nodes

October 19, 2020 ยท 4 min ยท 798 words ยท Samir Paul

Prime Palindrome

October 19, 2020 ยท 3 min ยท 635 words ยท Samir Paul

Transpose Matrix

October 19, 2020 ยท 2 min ยท 342 words ยท Samir Paul

Binary Gap

October 19, 2020 ยท 3 min ยท 606 words ยท Samir Paul

Reordered Power of 2

October 19, 2020 ยท 2 min ยท 368 words ยท Samir Paul

Advantage Shuffle

October 19, 2020 ยท 4 min ยท 659 words ยท Samir Paul

Minimum Number of Refueling Stops

October 19, 2020 ยท 4 min ยท 803 words ยท Samir Paul

Leaf-Similar Trees

October 19, 2020 ยท 4 min ยท 775 words ยท Samir Paul

Length of Longest Fibonacci Subsequence

October 19, 2020 ยท 4 min ยท 830 words ยท Samir Paul

Walking Robot Simulation

October 19, 2020 ยท 7 min ยท 1464 words ยท Samir Paul

Koko Eating Bananas

October 19, 2020 ยท 4 min ยท 656 words ยท Samir Paul

Middle of the Linked List

October 19, 2020 ยท 4 min ยท 840 words ยท Samir Paul

Stone Game

October 19, 2020 ยท 6 min ยท 1090 words ยท Samir Paul

Nth Magical Number

October 19, 2020 ยท 3 min ยท 463 words ยท Samir Paul

Profitable Schemes

October 19, 2020 ยท 9 min ยท 1736 words ยท Samir Paul

Decoded String at Index

October 19, 2020 ยท 4 min ยท 806 words ยท Samir Paul

Boats to Save People

October 19, 2020 ยท 2 min ยท 371 words ยท Samir Paul

Reachable Nodes In Subdivided Graph

October 19, 2020 ยท 6 min ยท 1136 words ยท Samir Paul

Projection Area of 3D Shapes

October 19, 2020 ยท 4 min ยท 679 words ยท Samir Paul

Uncommon Words from Two Sentences

October 19, 2020 ยท 3 min ยท 627 words ยท Samir Paul

Spiral Matrix III

October 19, 2020 ยท 4 min ยท 721 words ยท Samir Paul

Possible Bipartition

October 19, 2020 ยท 7 min ยท 1417 words ยท Samir Paul

Super Egg Drop

October 19, 2020 ยท 8 min ยท 1701 words ยท Samir Paul

Fair Candy Swap

October 19, 2020 ยท 3 min ยท 527 words ยท Samir Paul

Construct Binary Tree from Preorder and Postorder Traversal

October 18, 2020 ยท 3 min ยท 610 words ยท Samir Paul

Find and Replace Pattern

October 18, 2020 ยท 4 min ยท 707 words ยท Samir Paul

Sum of Subsequence Widths

October 18, 2020 ยท 3 min ยท 436 words ยท Samir Paul

Surface Area of 3D Shapes

October 18, 2020 ยท 3 min ยท 475 words ยท Samir Paul

Groups of Special-Equivalent Strings

October 18, 2020 ยท 3 min ยท 563 words ยท Samir Paul

All Possible Full Binary Trees

October 18, 2020 ยท 6 min ยท 1244 words ยท Samir Paul

Maximum Frequency Stack

October 18, 2020 ยท 6 min ยท 1218 words ยท Samir Paul

Monotonic Array

October 18, 2020 ยท 4 min ยท 684 words ยท Samir Paul

Increasing Order Search Tree

October 18, 2020 ยท 4 min ยท 829 words ยท Samir Paul

Bitwise ORs of Subarrays

October 18, 2020 ยท 4 min ยท 701 words ยท Samir Paul

Orderly Queue

October 18, 2020 ยท 4 min ยท 644 words ยท Samir Paul

RLE Iterator

October 18, 2020 ยท 5 min ยท 1037 words ยท Samir Paul

Online Stock Span

October 18, 2020 ยท 6 min ยท 1082 words ยท Samir Paul

Numbers At Most N Given Digit Set

October 18, 2020 ยท 5 min ยท 984 words ยท Samir Paul

Valid Permutations for DI Sequence

October 18, 2020 ยท 13 min ยท 2571 words ยท Samir Paul

Fruit Into Baskets

October 18, 2020 ยท 7 min ยท 1487 words ยท Samir Paul

Sort Array By Parity

October 18, 2020 ยท 4 min ยท 682 words ยท Samir Paul

Super Palindromes

October 18, 2020 ยท 1 min ยท 140 words ยท Samir Paul

Sum of Subarray Minimums

October 18, 2020 ยท 7 min ยท 1351 words ยท Samir Paul

Smallest Range I

October 18, 2020 ยท 2 min ยท 423 words ยท Samir Paul

Snakes and Ladders

October 18, 2020 ยท 6 min ยท 1120 words ยท Samir Paul

Smallest Range II

October 18, 2020 ยท 3 min ยท 448 words ยท Samir Paul

Online Election

October 18, 2020 ยท 5 min ยท 928 words ยท Samir Paul

Sort an Array

October 18, 2020 ยท 9 min ยท 1869 words ยท Samir Paul

Cat and Mouse

October 17, 2020 ยท 8 min ยท 1679 words ยท Samir Paul

X of a Kind in a Deck of Cards

October 17, 2020 ยท 2 min ยท 393 words ยท Samir Paul

Partition Array into Disjoint Intervals

October 17, 2020 ยท 3 min ยท 452 words ยท Samir Paul

Word Subsets

October 17, 2020 ยท 3 min ยท 631 words ยท Samir Paul

Reverse Only Letters

October 17, 2020 ยท 3 min ยท 567 words ยท Samir Paul

Maximum Sum Circular Subarray

October 17, 2020 ยท 5 min ยท 976 words ยท Samir Paul

Complete Binary Tree Inserter

October 17, 2020 ยท 8 min ยท 1495 words ยท Samir Paul

Number of Music Playlists

October 17, 2020 ยท 8 min ยท 1671 words ยท Samir Paul

Minimum Add to Make Parentheses Valid

October 17, 2020 ยท 3 min ยท 578 words ยท Samir Paul

Sort Array By Parity II

October 17, 2020 ยท 3 min ยท 442 words ยท Samir Paul

3Sum With Multiplicity

October 17, 2020 ยท 3 min ยท 586 words ยท Samir Paul

Minimize Malware Spread

October 17, 2020 ยท 5 min ยท 1056 words ยท Samir Paul

Long Pressed Name

October 17, 2020 ยท 3 min ยท 627 words ยท Samir Paul

Flip String to Monotone Increasing

October 17, 2020 ยท 5 min ยท 939 words ยท Samir Paul

Three Equal Parts

October 17, 2020 ยท 5 min ยท 942 words ยท Samir Paul

Minimize Malware Spread II

October 17, 2020 ยท 7 min ยท 1352 words ยท Samir Paul

Unique Email Addresses

October 17, 2020 ยท 4 min ยท 845 words ยท Samir Paul

Binary Subarrays With Sum

October 17, 2020 ยท 5 min ยท 908 words ยท Samir Paul

Minimum Falling Path Sum

October 17, 2020 ยท 3 min ยท 594 words ยท Samir Paul

Beautiful Array

October 17, 2020 ยท 2 min ยท 403 words ยท Samir Paul

Number of Recent Calls

October 17, 2020 ยท 6 min ยท 1181 words ยท Samir Paul

Shortest Bridge

October 17, 2020 ยท 6 min ยท 1074 words ยท Samir Paul

Knight Dialer

October 17, 2020 ยท 6 min ยท 1121 words ยท Samir Paul

Stamping The Sequence

October 17, 2020 ยท 9 min ยท 1907 words ยท Samir Paul

Reorder Data in Log Files

October 16, 2020 ยท 3 min ยท 566 words ยท Samir Paul

Range Sum of BST

October 16, 2020 ยท 3 min ยท 627 words ยท Samir Paul

Minimum Area Rectangle

October 16, 2020 ยท 4 min ยท 647 words ยท Samir Paul

Distinct Subsequences II

October 16, 2020 ยท 6 min ยท 1095 words ยท Samir Paul

Valid Mountain Array

October 16, 2020 ยท 2 min ยท 410 words ยท Samir Paul

DI String Match

October 16, 2020 ยท 3 min ยท 556 words ยท Samir Paul

Find the Shortest Superstring

October 16, 2020 ยท 7 min ยท 1356 words ยท Samir Paul

Delete Columns to Make Sorted

October 16, 2020 ยท 3 min ยท 550 words ยท Samir Paul

Minimum Increment to Make Array Unique

October 16, 2020 ยท 2 min ยท 385 words ยท Samir Paul

Validate Stack Sequences

October 16, 2020 ยท 3 min ยท 599 words ยท Samir Paul

Most Stones Removed with Same Row or Column

October 16, 2020 ยท 4 min ยท 671 words ยท Samir Paul

Bag of Tokens

October 16, 2020 ยท 4 min ยท 656 words ยท Samir Paul

Largest Time for Given Digits

October 16, 2020 ยท 4 min ยท 732 words ยท Samir Paul

Reveal Cards In Increasing Order

October 16, 2020 ยท 3 min ยท 531 words ยท Samir Paul

Flip Equivalent Binary Trees

October 16, 2020 ยท 4 min ยท 666 words ยท Samir Paul

Largest Component Size by Common Factor

October 16, 2020 ยท 4 min ยท 776 words ยท Samir Paul

Verifying an Alien Dictionary

October 16, 2020 ยท 5 min ยท 1041 words ยท Samir Paul

Array of Doubled Pairs

October 16, 2020 ยท 3 min ยท 458 words ยท Samir Paul

Delete Columns to Make Sorted II

October 16, 2020 ยท 2 min ยท 380 words ยท Samir Paul

Tallest Billboard

October 16, 2020 ยท 7 min ยท 1379 words ยท Samir Paul

Prison Cells After N Days

October 16, 2020 ยท 2 min ยท 264 words ยท Samir Paul

Check Completeness of a Binary Tree

October 16, 2020 ยท 3 min ยท 555 words ยท Samir Paul

Regions Cut By Slashes

October 16, 2020 ยท 6 min ยท 1118 words ยท Samir Paul

Delete Columns to Make Sorted III

October 16, 2020 ยท 3 min ยท 634 words ยท Samir Paul

N-Repeated Element in Size 2N Array

October 15, 2020 ยท 2 min ยท 350 words ยท Samir Paul

Maximum Width Ramp

October 15, 2020 ยท 3 min ยท 490 words ยท Samir Paul

Minimum Area Rectangle II

October 15, 2020 ยท 6 min ยท 1222 words ยท Samir Paul

Least Operators to Express Number

October 15, 2020 ยท 5 min ยท 883 words ยท Samir Paul

Univalued Binary Tree

October 15, 2020 ยท 4 min ยท 747 words ยท Samir Paul

Vowel Spellchecker

October 15, 2020 ยท 5 min ยท 1030 words ยท Samir Paul

Numbers With Same Consecutive Differences

October 15, 2020 ยท 3 min ยท 576 words ยท Samir Paul

Binary Tree Cameras

October 15, 2020 ยท 5 min ยท 901 words ยท Samir Paul

Pancake Sorting

October 15, 2020 ยท 5 min ยท 919 words ยท Samir Paul

Powerful Integers

October 15, 2020 ยท 5 min ยท 856 words ยท Samir Paul

Flip Binary Tree To Match Preorder Traversal

October 15, 2020 ยท 5 min ยท 1053 words ยท Samir Paul

Equal Rational Numbers

October 15, 2020 ยท 2 min ยท 246 words ยท Samir Paul

K Closest Points to Origin

October 15, 2020 ยท 2 min ยท 425 words ยท Samir Paul

Subarray Sums Divisible by K

October 15, 2020 ยท 2 min ยท 411 words ยท Samir Paul

Odd Even Jump

October 15, 2020 ยท 7 min ยท 1304 words ยท Samir Paul

Largest Perimeter Triangle

October 15, 2020 ยท 3 min ยท 570 words ยท Samir Paul

Squares of a Sorted Array

October 15, 2020 ยท 4 min ยท 696 words ยท Samir Paul

Longest Turbulent Subarray

October 15, 2020 ยท 3 min ยท 571 words ยท Samir Paul

Distribute Coins in Binary Tree

October 15, 2020 ยท 4 min ยท 821 words ยท Samir Paul

Unique Paths III

October 15, 2020 ยท 7 min ยท 1457 words ยท Samir Paul

Time Based Key-Value Store

October 15, 2020 ยท 4 min ยท 721 words ยท Samir Paul

Triples with Bitwise AND Equal To Zero

October 15, 2020 ยท 3 min ยท 630 words ยท Samir Paul

Minimum Cost For Tickets

October 15, 2020 ยท 5 min ยท 988 words ยท Samir Paul

String Without AAA or BBB

October 15, 2020 ยท 3 min ยท 500 words ยท Samir Paul

Sum of Even Numbers After Queries

October 14, 2020 ยท 4 min ยท 794 words ยท Samir Paul

Interval List Intersections

October 14, 2020 ยท 4 min ยท 696 words ยท Samir Paul

Vertical Order Traversal of a Binary Tree

October 14, 2020 ยท 5 min ยท 865 words ยท Samir Paul

Smallest String Starting From Leaf

October 14, 2020 ยท 4 min ยท 683 words ยท Samir Paul

Add to Array-Form of Integer

October 14, 2020 ยท 4 min ยท 711 words ยท Samir Paul

Satisfiability of Equality Equations

October 14, 2020 ยท 4 min ยท 805 words ยท Samir Paul

Broken Calculator

October 14, 2020 ยท 2 min ยท 364 words ยท Samir Paul

Subarrays with K Different Integers

October 14, 2020 ยท 3 min ยท 619 words ยท Samir Paul

Cousins in Binary Tree

October 14, 2020 ยท 8 min ยท 1522 words ยท Samir Paul

Rotting Oranges

October 14, 2020 ยท 7 min ยท 1316 words ยท Samir Paul

Minimum Number of K Consecutive Bit Flips

October 14, 2020 ยท 5 min ยท 944 words ยท Samir Paul

Number of Squareful Arrays

October 14, 2020 ยท 5 min ยท 891 words ยท Samir Paul

Find the Town Judge

October 14, 2020 ยท 4 min ยท 803 words ยท Samir Paul

Maximum Binary Tree II

October 14, 2020 ยท 9 min ยท 1714 words ยท Samir Paul

Available Captures for Rook

October 14, 2020 ยท 5 min ยท 853 words ยท Samir Paul

Minimum Cost to Merge Stones

October 14, 2020 ยท 5 min ยท 993 words ยท Samir Paul

Grid Illumination

October 14, 2020 ยท 7 min ยท 1475 words ยท Samir Paul

Find Common Characters

October 14, 2020 ยท 3 min ยท 528 words ยท Samir Paul

Check If Word Is Valid After Substitutions

October 14, 2020 ยท 3 min ยท 568 words ยท Samir Paul

Max Consecutive Ones III

October 14, 2020 ยท 5 min ยท 877 words ยท Samir Paul

Maximize Sum Of Array After K Negations

October 14, 2020 ยท 4 min ยท 811 words ยท Samir Paul

Clumsy Factorial

October 14, 2020 ยท 2 min ยท 413 words ยท Samir Paul

Minimum Domino Rotations For Equal Row

October 14, 2020 ยท 5 min ยท 883 words ยท Samir Paul

Construct Binary Search Tree from Preorder Traversal

October 14, 2020 ยท 6 min ยท 1194 words ยท Samir Paul

Complement of Base 10 Integer

October 13, 2020 ยท 3 min ยท 480 words ยท Samir Paul

Pairs of Songs With Total Durations Divisible by 60

October 13, 2020 ยท 4 min ยท 793 words ยท Samir Paul

Capacity To Ship Packages Within D Days

October 13, 2020 ยท 4 min ยท 838 words ยท Samir Paul

Numbers With Repeated Digits

October 13, 2020 ยท 9 min ยท 1855 words ยท Samir Paul

Partition Array Into Three Parts With Equal Sum

October 13, 2020 ยท 3 min ยท 595 words ยท Samir Paul

Best Sightseeing Pair

October 13, 2020 ยท 2 min ยท 382 words ยท Samir Paul

Smallest Integer Divisible by K

October 13, 2020 ยท 2 min ยท 403 words ยท Samir Paul

Binary String With Substrings Representing 1 To N

October 13, 2020 ยท 2 min ยท 357 words ยท Samir Paul

Convert to Base -2

October 13, 2020 ยท 3 min ยท 461 words ยท Samir Paul

Binary Prefix Divisible By 5

October 13, 2020 ยท 2 min ยท 363 words ยท Samir Paul

Next Greater Node In Linked List

October 13, 2020 ยท 6 min ยท 1254 words ยท Samir Paul

Number of Enclaves

October 13, 2020 ยท 16 min ยท 3342 words ยท Samir Paul

Remove Outermost Parentheses

October 13, 2020 ยท 5 min ยท 933 words ยท Samir Paul

Sum of Root To Leaf Binary Numbers

October 13, 2020 ยท 5 min ยท 944 words ยท Samir Paul

Camelcase Matching

October 13, 2020 ยท 5 min ยท 994 words ยท Samir Paul

Video Stitching

October 13, 2020 ยท 3 min ยท 638 words ยท Samir Paul

Divisor Game

October 13, 2020 ยท 2 min ยท 220 words ยท Samir Paul

Maximum Difference Between Node and Ancestor

October 13, 2020 ยท 5 min ยท 973 words ยท Samir Paul

Longest Arithmetic Subsequence

October 13, 2020 ยท 3 min ยท 544 words ยท Samir Paul

Recover a Tree From Preorder Traversal

October 13, 2020 ยท 2 min ยท 347 words ยท Samir Paul

Two City Scheduling

October 13, 2020 ยท 3 min ยท 469 words ยท Samir Paul

Matrix Cells in Distance Order

October 13, 2020 ยท 4 min ยท 761 words ยท Samir Paul

Maximum Sum of Two Non-Overlapping Subarrays

October 13, 2020 ยท 4 min ยท 666 words ยท Samir Paul

Stream of Characters

October 13, 2020 ยท 6 min ยท 1105 words ยท Samir Paul

Moving Stones Until Consecutive

October 12, 2020 ยท 4 min ยท 709 words ยท Samir Paul

Coloring A Border

October 12, 2020 ยท 5 min ยท 973 words ยท Samir Paul

Uncrossed Lines

October 12, 2020 ยท 4 min ยท 654 words ยท Samir Paul

Escape a Large Maze

October 12, 2020 ยท 6 min ยท 1215 words ยท Samir Paul

Valid Boomerang

October 12, 2020 ยท 2 min ยท 366 words ยท Samir Paul

Binary Search Tree to Greater Sum Tree

October 12, 2020 ยท 10 min ยท 2072 words ยท Samir Paul

Minimum Score Triangulation of Polygon

October 12, 2020 ยท 8 min ยท 1639 words ยท Samir Paul

Moving Stones Until Consecutive II

October 12, 2020 ยท 4 min ยท 841 words ยท Samir Paul

Robot Bounded In Circle

October 12, 2020 ยท 4 min ยท 846 words ยท Samir Paul

Flower Planting With No Adjacent

October 12, 2020 ยท 4 min ยท 764 words ยท Samir Paul

Partition Array for Maximum Sum

October 12, 2020 ยท 4 min ยท 686 words ยท Samir Paul

Longest Duplicate Substring

October 12, 2020 ยท 4 min ยท 798 words ยท Samir Paul

Customers Who Bought All Products

October 12, 2020 ยท 2 min ยท 287 words ยท Samir Paul

Last Stone Weight

October 12, 2020 ยท 4 min ยท 698 words ยท Samir Paul

Remove All Adjacent Duplicates In String

October 12, 2020 ยท 3 min ยท 534 words ยท Samir Paul

Longest String Chain

October 12, 2020 ยท 5 min ยท 895 words ยท Samir Paul

Last Stone Weight II

October 12, 2020 ยท 6 min ยท 1169 words ยท Samir Paul

Actors and Directors Who Cooperated At Least Three Times

October 12, 2020 ยท 2 min ยท 249 words ยท Samir Paul

Height Checker

October 12, 2020 ยท 3 min ยท 616 words ยท Samir Paul

Grumpy Bookstore Owner

October 12, 2020 ยท 4 min ยท 797 words ยท Samir Paul

Previous Permutation With One Swap

October 12, 2020 ยท 3 min ยท 550 words ยท Samir Paul

Distant Barcodes

October 12, 2020 ยท 3 min ยท 578 words ยท Samir Paul

Shortest Way to Form String

October 12, 2020 ยท 3 min ยท 538 words ยท Samir Paul

Confusing Number

October 12, 2020 ยท 3 min ยท 588 words ยท Samir Paul

Campus Bikes

October 11, 2020 ยท 5 min ยท 911 words ยท Samir Paul

Minimize Rounding Error to Meet Target

October 11, 2020 ยท 4 min ยท 668 words ยท Samir Paul

All Paths from Source Lead to Destination

October 11, 2020 ยท 4 min ยท 749 words ยท Samir Paul

Missing Element in Sorted Array

October 11, 2020 ยท 3 min ยท 602 words ยท Samir Paul

Lexicographically Smallest Equivalent String

October 11, 2020 ยท 4 min ยท 836 words ยท Samir Paul

Longest Repeating Substring

October 11, 2020 ยท 3 min ยท 448 words ยท Samir Paul

Number of Valid Subarrays

October 11, 2020 ยท 5 min ยท 902 words ยท Samir Paul

Fixed Point

October 11, 2020 ยท 3 min ยท 481 words ยท Samir Paul

Index Pairs of a String

October 11, 2020 ยท 4 min ยท 819 words ยท Samir Paul

Campus Bikes II

October 11, 2020 ยท 5 min ยท 873 words ยท Samir Paul

Digit Count in Range

October 11, 2020 ยท 5 min ยท 944 words ยท Samir Paul

Product Sales Analysis I

October 11, 2020 ยท 2 min ยท 358 words ยท Samir Paul

Product Sales Analysis II

October 11, 2020 ยท 2 min ยท 288 words ยท Samir Paul

Product Sales Analysis III

October 11, 2020 ยท 2 min ยท 390 words ยท Samir Paul

Greatest Common Divisor of Strings

October 11, 2020 ยท 3 min ยท 442 words ยท Samir Paul

Flip Columns For Maximum Number of Equal Rows

October 11, 2020 ยท 3 min ยท 486 words ยท Samir Paul

Adding Two Negabinary Numbers

October 11, 2020 ยท 5 min ยท 1036 words ยท Samir Paul

Number of Submatrices That Sum to Target

October 11, 2020 ยท 4 min ยท 820 words ยท Samir Paul

Project Employees I

October 11, 2020 ยท 2 min ยท 313 words ยท Samir Paul

Project Employees II

October 11, 2020 ยท 2 min ยท 341 words ยท Samir Paul

Project Employees III

October 11, 2020 ยท 2 min ยท 406 words ยท Samir Paul

Occurrences After Bigram

October 11, 2020 ยท 3 min ยท 463 words ยท Samir Paul

Letter Tile Possibilities

October 11, 2020 ยท 3 min ยท 482 words ยท Samir Paul

Insufficient Nodes in Root to Leaf Paths

October 11, 2020 ยท 5 min ยท 922 words ยท Samir Paul

Smallest Subsequence of Distinct Characters

October 10, 2020 ยท 4 min ยท 727 words ยท Samir Paul

Sales Analysis I

October 10, 2020 ยท 2 min ยท 394 words ยท Samir Paul

Sales Analysis II

October 10, 2020 ยท 2 min ยท 355 words ยท Samir Paul

Sales Analysis III

October 10, 2020 ยท 2 min ยท 388 words ยท Samir Paul

Sum of Digits in the Minimum Number

October 10, 2020 ยท 2 min ยท 310 words ยท Samir Paul

High Five

October 10, 2020 ยท 4 min ยท 705 words ยท Samir Paul

Brace Expansion

October 10, 2020 ยท 2 min ยท 423 words ยท Samir Paul

Confusing Number II

October 10, 2020 ยท 5 min ยท 1011 words ยท Samir Paul

Duplicate Zeros

October 10, 2020 ยท 4 min ยท 714 words ยท Samir Paul

Largest Values From Labels

October 10, 2020 ยท 4 min ยท 744 words ยท Samir Paul

Shortest Path in Binary Matrix

October 10, 2020 ยท 6 min ยท 1070 words ยท Samir Paul

Shortest Common Supersequence

October 10, 2020 ยท 5 min ยท 1051 words ยท Samir Paul

Statistics from a Large Sample

October 10, 2020 ยท 6 min ยท 1148 words ยท Samir Paul

Car Pooling

October 10, 2020 ยท 5 min ยท 901 words ยท Samir Paul

Find in Mountain Array

October 10, 2020 ยท 7 min ยท 1457 words ยท Samir Paul

Brace Expansion II

October 10, 2020 ยท 4 min ยท 733 words ยท Samir Paul

Game Play Analysis V

October 10, 2020 ยท 2 min ยท 408 words ยท Samir Paul

Unpopular Books

October 10, 2020 ยท 2 min ยท 357 words ยท Samir Paul

Two Sum Less Than K

October 10, 2020 ยท 5 min ยท 1007 words ยท Samir Paul

Find K-Length Substrings With No Repeated Characters

October 10, 2020 ยท 7 min ยท 1337 words ยท Samir Paul

The Earliest Moment When Everyone Become Friends

October 10, 2020 ยท 10 min ยท 2099 words ยท Samir Paul

Path With Maximum Minimum Value

October 10, 2020 ยท 15 min ยท 3119 words ยท Samir Paul

Distribute Candies to People

October 10, 2020 ยท 3 min ยท 583 words ยท Samir Paul

Path In Zigzag Labelled Binary Tree

October 10, 2020 ยท 3 min ยท 607 words ยท Samir Paul

Filling Bookcase Shelves

October 9, 2020 ยท 6 min ยท 1070 words ยท Samir Paul

Parsing A Boolean Expression

October 9, 2020 ยท 6 min ยท 1202 words ยท Samir Paul

New Users Daily Count

October 9, 2020 ยท 2 min ยท 331 words ยท Samir Paul

Defanging an IP Address

October 9, 2020 ยท 1 min ยท 206 words ยท Samir Paul

Corporate Flight Bookings

October 9, 2020 ยท 8 min ยท 1584 words ยท Samir Paul

Delete Nodes And Return Forest

October 9, 2020 ยท 6 min ยท 1128 words ยท Samir Paul

Maximum Nesting Depth of Two Valid Parentheses Strings

October 9, 2020 ยท 3 min ยท 629 words ยท Samir Paul

Highest Grade For Each Student

October 9, 2020 ยท 2 min ยท 387 words ยท Samir Paul

Reported Posts

October 9, 2020 ยท 2 min ยท 353 words ยท Samir Paul

Print in Order

October 9, 2020 ยท 4 min ยท 850 words ยท Samir Paul

Print FooBar Alternately

October 9, 2020 ยท 4 min ยท 683 words ยท Samir Paul

Print Zero Even Odd

October 9, 2020 ยท 4 min ยท 851 words ยท Samir Paul

Building H2O

October 9, 2020 ยท 3 min ยท 585 words ยท Samir Paul

Number of Days in a Month

October 9, 2020 ยท 3 min ยท 481 words ยท Samir Paul

Remove Vowels from a String

October 9, 2020 ยท 2 min ยท 334 words ยท Samir Paul

Maximum Average Subtree

October 9, 2020 ยท 5 min ยท 922 words ยท Samir Paul

Divide Array Into Increasing Sequences

October 9, 2020 ยท 3 min ยท 536 words ยท Samir Paul

Relative Sort Array

October 9, 2020 ยท 3 min ยท 606 words ยท Samir Paul

Lowest Common Ancestor of Deepest Leaves

October 9, 2020 ยท 6 min ยท 1147 words ยท Samir Paul

Longest Well-Performing Interval

October 9, 2020 ยท 4 min ยท 693 words ยท Samir Paul

Smallest Sufficient Team

October 9, 2020 ยท 8 min ยท 1558 words ยท Samir Paul

Active Businesses

October 9, 2020 ยท 2 min ยท 384 words ยท Samir Paul

User Purchase Platform

October 9, 2020 ยท 3 min ยท 433 words ยท Samir Paul

Number of Equivalent Domino Pairs

October 9, 2020 ยท 3 min ยท 558 words ยท Samir Paul

Shortest Path with Alternating Colors

October 8, 2020 ยท 6 min ยท 1133 words ยท Samir Paul

Minimum Cost Tree From Leaf Values

October 8, 2020 ยท 10 min ยท 2086 words ยท Samir Paul

Maximum of Absolute Value Expression

October 8, 2020 ยท 4 min ยท 842 words ยท Samir Paul

Reported Posts II

October 8, 2020 ยท 3 min ยท 503 words ยท Samir Paul

Largest Unique Number

October 8, 2020 ยท 3 min ยท 531 words ยท Samir Paul

Armstrong Number

October 8, 2020 ยท 3 min ยท 460 words ยท Samir Paul

Connecting Cities With Minimum Cost

October 8, 2020 ยท 5 min ยท 945 words ยท Samir Paul

Parallel Courses

October 8, 2020 ยท 5 min ยท 1020 words ยท Samir Paul

N-th Tribonacci Number

October 8, 2020 ยท 10 min ยท 1961 words ยท Samir Paul

Alphabet Board Path

October 8, 2020 ยท 4 min ยท 688 words ยท Samir Paul

Largest 1-Bordered Square

October 8, 2020 ยท 5 min ยท 889 words ยท Samir Paul

Stone Game II

October 8, 2020 ยท 6 min ยท 1176 words ยท Samir Paul

User Activity for the Past 30 Days I

October 8, 2020 ยท 2 min ยท 318 words ยท Samir Paul

User Activity for the Past 30 Days II

October 8, 2020 ยท 2 min ยท 406 words ยท Samir Paul

Longest Common Subsequence

October 8, 2020 ยท 6 min ยท 1225 words ยท Samir Paul

Decrease Elements To Make Array Zigzag

October 8, 2020 ยท 4 min ยท 755 words ยท Samir Paul

Binary Tree Coloring Game

October 8, 2020 ยท 7 min ยท 1381 words ยท Samir Paul

Snapshot Array

October 8, 2020 ยท 5 min ยท 899 words ยท Samir Paul

Longest Chunked Palindrome Decomposition

October 8, 2020 ยท 10 min ยท 2079 words ยท Samir Paul

Article Views I

October 8, 2020 ยท 2 min ยท 244 words ยท Samir Paul

Article Views II

October 8, 2020 ยท 2 min ยท 248 words ยท Samir Paul

Check If a Number Is Majority Element in a Sorted Array

October 8, 2020 ยท 5 min ยท 1061 words ยท Samir Paul

Minimum Swaps to Group All 1’s Together

October 8, 2020 ยท 3 min ยท 626 words ยท Samir Paul

Analyze User Website Visit Pattern

October 8, 2020 ยท 6 min ยท 1269 words ยท Samir Paul

String Transforms Into Another String

October 7, 2020 ยท 4 min ยท 793 words ยท Samir Paul

Day of the Year

October 7, 2020 ยท 4 min ยท 749 words ยท Samir Paul

Number of Dice Rolls With Target Sum

October 7, 2020 ยท 7 min ยท 1465 words ยท Samir Paul

Swap For Longest Repeated Character Substring

October 7, 2020 ยท 5 min ยท 973 words ยท Samir Paul

Online Majority Element In Subarray

October 7, 2020 ยท 12 min ยท 2367 words ยท Samir Paul

Market Analysis I

October 7, 2020 ยท 3 min ยท 495 words ยท Samir Paul

Market Analysis II

October 7, 2020 ยท 3 min ยท 546 words ยท Samir Paul

Find Words That Can Be Formed by Characters

October 7, 2020 ยท 4 min ยท 843 words ยท Samir Paul

Maximum Level Sum of a Binary Tree

October 7, 2020 ยท 8 min ยท 1658 words ยท Samir Paul

As Far from Land as Possible

October 7, 2020 ยท 6 min ยท 1111 words ยท Samir Paul

Last Substring in Lexicographical Order

October 7, 2020 ยท 5 min ยท 892 words ยท Samir Paul

Product Price at a Given Date

October 7, 2020 ยท 3 min ยท 432 words ยท Samir Paul

Single-Row Keyboard

October 7, 2020 ยท 4 min ยท 701 words ยท Samir Paul

Design File System

October 7, 2020 ยท 8 min ยท 1542 words ยท Samir Paul

Minimum Cost to Connect Sticks

October 7, 2020 ยท 5 min ยท 1037 words ยท Samir Paul

Optimize Water Distribution in a Village

October 7, 2020 ยท 13 min ยท 2625 words ยท Samir Paul

Invalid Transactions

October 7, 2020 ยท 5 min ยท 978 words ยท Samir Paul

Compare Strings by Frequency of the Smallest Character

October 7, 2020 ยท 5 min ยท 940 words ยท Samir Paul

Remove Zero Sum Consecutive Nodes from Linked List

October 7, 2020 ยท 6 min ยท 1107 words ยท Samir Paul

Dinner Plate Stacks

October 7, 2020 ยท 18 min ยท 3805 words ยท Samir Paul

Immediate Food Delivery I

October 7, 2020 ยท 2 min ยท 304 words ยท Samir Paul

Immediate Food Delivery II

October 7, 2020 ยท 3 min ยท 506 words ยท Samir Paul

Prime Arrangements

October 7, 2020 ยท 4 min ยท 808 words ยท Samir Paul

Diet Plan Performance

October 7, 2020 ยท 7 min ยท 1427 words ยท Samir Paul

Can Make Palindrome from Substring

October 6, 2020 ยท 5 min ยท 1052 words ยท Samir Paul

Number of Valid Words for Each Puzzle

October 6, 2020 ยท 6 min ยท 1157 words ยท Samir Paul

Reformat Department Table

October 6, 2020 ยท 3 min ยท 443 words ยท Samir Paul

Count Substrings with Only One Distinct Letter

October 6, 2020 ยท 4 min ยท 824 words ยท Samir Paul

Before and After Puzzle

October 6, 2020 ยท 5 min ยท 876 words ยท Samir Paul

Shortest Distance to Target Color

October 6, 2020 ยท 6 min ยท 1116 words ยท Samir Paul

Maximum Number of Ones

October 6, 2020 ยท 4 min ยท 713 words ยท Samir Paul

Distance Between Bus Stops

October 6, 2020 ยท 3 min ยท 634 words ยท Samir Paul

Day of the Week

October 6, 2020 ยท 4 min ยท 796 words ยท Samir Paul

Maximum Subarray Sum with One Deletion

October 6, 2020 ยท 4 min ยท 835 words ยท Samir Paul

Make Array Strictly Increasing

October 6, 2020 ยท 8 min ยท 1564 words ยท Samir Paul

Design Bounded Blocking Queue

October 6, 2020 ยท 4 min ยท 795 words ยท Samir Paul

Maximum Number of Balloons

October 6, 2020 ยท 4 min ยท 741 words ยท Samir Paul

Reverse Substrings Between Each Pair of Parentheses

October 6, 2020 ยท 6 min ยท 1095 words ยท Samir Paul

K-Concatenation Maximum Sum

October 6, 2020 ยท 4 min ยท 773 words ยท Samir Paul

Critical Connections in a Network

October 6, 2020 ยท 5 min ยท 1009 words ยท Samir Paul

Monthly Transactions I

October 6, 2020 ยท 2 min ยท 327 words ยท Samir Paul

Tournament Winners

October 6, 2020 ยท 3 min ยท 484 words ยท Samir Paul

Fizz Buzz Multithreaded

October 6, 2020 ยท 4 min ยท 746 words ยท Samir Paul

How Many Apples Can You Put into the Basket

October 6, 2020 ยท 3 min ยท 464 words ยท Samir Paul

Minimum Knight Moves

October 6, 2020 ยท 12 min ยท 2549 words ยท Samir Paul

Find Smallest Common Element in All Rows

October 6, 2020 ยท 3 min ยท 439 words ยท Samir Paul

Minimum Time to Build Blocks

October 6, 2020 ยท 4 min ยท 816 words ยท Samir Paul

Minimum Absolute Difference

October 6, 2020 ยท 3 min ยท 612 words ยท Samir Paul

Ugly Number III

October 5, 2020 ยท 6 min ยท 1241 words ยท Samir Paul

Smallest String With Swaps

October 5, 2020 ยท 6 min ยท 1222 words ยท Samir Paul

Sort Items by Groups Respecting Dependencies

October 5, 2020 ยท 10 min ยท 1962 words ยท Samir Paul

Last Person to Fit in the Bus

October 5, 2020 ยท 3 min ยท 478 words ยท Samir Paul

Monthly Transactions II

October 5, 2020 ยท 3 min ยท 445 words ยท Samir Paul

Design Skiplist

October 5, 2020 ยท 9 min ยท 1750 words ยท Samir Paul

Unique Number of Occurrences

October 5, 2020 ยท 2 min ยท 374 words ยท Samir Paul

Get Equal Substrings Within Budget

October 5, 2020 ยท 8 min ยท 1547 words ยท Samir Paul

Remove All Adjacent Duplicates in String II

October 5, 2020 ยท 4 min ยท 788 words ยท Samir Paul

Minimum Moves to Reach Target with Rotations

October 5, 2020 ยท 12 min ยท 2494 words ยท Samir Paul

Queries Quality and Percentage

October 5, 2020 ยท 2 min ยท 380 words ยท Samir Paul

Team Scores in Football Tournament

October 5, 2020 ยท 4 min ยท 666 words ยท Samir Paul

Intersection of Three Sorted Arrays

October 5, 2020 ยท 4 min ยท 794 words ยท Samir Paul

Two Sum BSTs

October 5, 2020 ยท 6 min ยท 1116 words ยท Samir Paul

Stepping Numbers

October 5, 2020 ยท 4 min ยท 814 words ยท Samir Paul

Valid Palindrome III

October 5, 2020 ยท 5 min ยท 959 words ยท Samir Paul

Minimum Cost to Move Chips to The Same Position

October 5, 2020 ยท 3 min ยท 486 words ยท Samir Paul

Longest Arithmetic Subsequence of Given Difference

October 5, 2020 ยท 2 min ยท 421 words ยท Samir Paul

Path with Maximum Gold

October 5, 2020 ยท 6 min ยท 1154 words ยท Samir Paul

Count Vowels Permutation

October 5, 2020 ยท 12 min ยท 2543 words ยท Samir Paul

Split a String in Balanced Strings

October 5, 2020 ยท 3 min ยท 566 words ยท Samir Paul

Queens That Can Attack the King

October 5, 2020 ยท 5 min ยท 925 words ยท Samir Paul

Dice Roll Simulation

October 5, 2020 ยท 9 min ยท 1879 words ยท Samir Paul

Maximum Equal Frequency

October 5, 2020 ยท 5 min ยท 944 words ยท Samir Paul

Report Contiguous Dates

October 4, 2020 ยท 3 min ยท 515 words ยท Samir Paul

The Dining Philosophers

October 4, 2020 ยท 3 min ยท 495 words ยท Samir Paul

Airplane Seat Assignment Probability

October 4, 2020 ยท 4 min ยท 849 words ยท Samir Paul

Missing Number In Arithmetic Progression

October 4, 2020 ยท 3 min ยท 591 words ยท Samir Paul

Meeting Scheduler

October 4, 2020 ยท 5 min ยท 884 words ยท Samir Paul

Toss Strange Coins

October 4, 2020 ยท 6 min ยท 1082 words ยท Samir Paul

Divide Chocolate

October 4, 2020 ยท 5 min ยท 1000 words ยท Samir Paul

Check If It Is a Straight Line

October 4, 2020 ยท 2 min ยท 360 words ยท Samir Paul

Remove Sub-Folders from the Filesystem

October 4, 2020 ยท 8 min ยท 1660 words ยท Samir Paul

Replace the Substring for Balanced String

October 4, 2020 ยท 4 min ยท 818 words ยท Samir Paul

Maximum Profit in Job Scheduling

October 4, 2020 ยท 9 min ยท 1732 words ยท Samir Paul

Web Crawler

October 4, 2020 ยท 5 min ยท 864 words ยท Samir Paul

Find Positive Integer Solution for a Given Equation

October 4, 2020 ยท 11 min ยท 2146 words ยท Samir Paul

Circular Permutation in Binary Representation

October 4, 2020 ยท 5 min ยท 964 words ยท Samir Paul

Maximum Length of a Concatenated String with Unique Characters

October 4, 2020 ยท 4 min ยท 711 words ยท Samir Paul

Tiling a Rectangle with the Fewest Squares

October 4, 2020 ยท 14 min ยท 2914 words ยท Samir Paul

Number of Comments per Post

October 4, 2020 ยท 2 min ยท 373 words ยท Samir Paul

Web Crawler Multithreaded

October 4, 2020 ยท 3 min ยท 492 words ยท Samir Paul

Array Transformation

October 4, 2020 ยท 3 min ยท 633 words ยท Samir Paul

Design A Leaderboard

October 4, 2020 ยท 5 min ยท 1048 words ยท Samir Paul

Tree Diameter

October 4, 2020 ยท 5 min ยท 999 words ยท Samir Paul

Palindrome Removal

October 4, 2020 ยท 4 min ยท 794 words ยท Samir Paul

Minimum Swaps to Make Strings Equal

October 4, 2020 ยท 4 min ยท 763 words ยท Samir Paul

Count Number of Nice Subarrays

October 4, 2020 ยท 3 min ยท 550 words ยท Samir Paul

Minimum Remove to Make Valid Parentheses

October 3, 2020 ยท 5 min ยท 1052 words ยท Samir Paul

Check If It Is a Good Array

October 3, 2020 ยท 3 min ยท 556 words ยท Samir Paul

Average Selling Price

October 3, 2020 ยท 3 min ยท 473 words ยท Samir Paul

Cells with Odd Values in a Matrix

October 3, 2020 ยท 7 min ยท 1455 words ยท Samir Paul

Reconstruct a 2-Row Binary Matrix

October 3, 2020 ยท 5 min ยท 1012 words ยท Samir Paul

Number of Closed Islands

October 3, 2020 ยท 16 min ยท 3205 words ยท Samir Paul

Maximum Score Words Formed by Letters

October 3, 2020 ยท 5 min ยท 1038 words ยท Samir Paul

Encode Number

October 3, 2020 ยท 2 min ยท 226 words ยท Samir Paul

Smallest Common Region

October 3, 2020 ยท 3 min ยท 516 words ยท Samir Paul

Synonymous Sentences

October 3, 2020 ยท 8 min ยท 1704 words ยท Samir Paul

Handshakes That Don’t Cross

October 3, 2020 ยท 4 min ยท 723 words ยท Samir Paul

Shift 2D Grid

October 3, 2020 ยท 4 min ยท 724 words ยท Samir Paul

Find Elements in a Contaminated Binary Tree

October 3, 2020 ยท 5 min ยท 967 words ยท Samir Paul

Greatest Sum Divisible by Three

October 3, 2020 ยท 5 min ยท 1021 words ยท Samir Paul

Minimum Moves to Move a Box to Their Target Location

October 3, 2020 ยท 15 min ยท 3046 words ยท Samir Paul

Page Recommendations

October 3, 2020 ยท 3 min ยท 512 words ยท Samir Paul

Print Immutable Linked List in Reverse

October 3, 2020 ยท 4 min ยท 734 words ยท Samir Paul

Minimum Time Visiting All Points

October 3, 2020 ยท 4 min ยท 710 words ยท Samir Paul

Count Servers that Communicate

October 3, 2020 ยท 4 min ยท 788 words ยท Samir Paul

Search Suggestions System

October 3, 2020 ยท 6 min ยท 1256 words ยท Samir Paul

Number of Ways to Stay in the Same Place After Some Steps

October 3, 2020 ยท 5 min ยท 1058 words ยท Samir Paul

All People Report to the Given Manager

October 3, 2020 ยท 3 min ยท 448 words ยท Samir Paul

Hexspeak

October 3, 2020 ยท 3 min ยท 433 words ยท Samir Paul

Remove Interval

October 3, 2020 ยท 4 min ยท 656 words ยท Samir Paul

Delete Tree Nodes

October 2, 2020 ยท 4 min ยท 668 words ยท Samir Paul

Number of Ships in a Rectangle

October 2, 2020 ยท 6 min ยท 1254 words ยท Samir Paul

Find Winner on a Tic Tac Toe Game

October 2, 2020 ยท 5 min ยท 1006 words ยท Samir Paul

Number of Burgers with No Waste of Ingredients

October 2, 2020 ยท 3 min ยท 626 words ยท Samir Paul

Count Square Submatrices with All Ones

October 2, 2020 ยท 3 min ยท 542 words ยท Samir Paul

Palindrome Partitioning III

October 2, 2020 ยท 4 min ยท 796 words ยท Samir Paul

Traffic Light Controlled Intersection

October 2, 2020 ยท 5 min ยท 921 words ยท Samir Paul

Students and Examinations

October 2, 2020 ยท 3 min ยท 627 words ยท Samir Paul

Subtract the Product and Sum of Digits of an Integer

October 2, 2020 ยท 4 min ยท 662 words ยท Samir Paul

Group the People Given the Group Size They Belong To

October 2, 2020 ยท 4 min ยท 771 words ยท Samir Paul

Find the Smallest Divisor Given a Threshold

October 2, 2020 ยท 5 min ยท 962 words ยท Samir Paul

Minimum Number of Flips to Convert Binary Matrix to Zero Matrix

October 2, 2020 ยท 6 min ยท 1127 words ยท Samir Paul

Find the Start and End Number of Continuous Ranges

October 2, 2020 ยท 3 min ยท 431 words ยท Samir Paul

Iterator for Combination

October 2, 2020 ยท 7 min ยท 1470 words ยท Samir Paul

Element Appearing More Than 25% In Sorted Array

October 2, 2020 ยท 2 min ยท 363 words ยท Samir Paul

Remove Covered Intervals

October 2, 2020 ยท 2 min ยท 385 words ยท Samir Paul

Minimum Falling Path Sum II

October 2, 2020 ยท 5 min ยท 1027 words ยท Samir Paul

Convert Binary Number in a Linked List to Integer

October 2, 2020 ยท 5 min ยท 915 words ยท Samir Paul

Sequential Digits

October 2, 2020 ยท 3 min ยท 451 words ยท Samir Paul

Maximum Side Length of a Square with Sum Less than or Equal to Threshold

October 2, 2020 ยท 6 min ยท 1091 words ยท Samir Paul

Shortest Path in a Grid with Obstacles Elimination

October 2, 2020 ยท 5 min ยท 1061 words ยท Samir Paul

Weather Type in Each Country

October 2, 2020 ยท 3 min ยท 563 words ยท Samir Paul

Find Numbers with Even Number of Digits

October 2, 2020 ยท 2 min ยท 311 words ยท Samir Paul

Divide Array in Sets of K Consecutive Numbers

October 2, 2020 ยท 5 min ยท 880 words ยท Samir Paul

Maximum Number of Occurrences of a Substring

October 1, 2020 ยท 3 min ยท 475 words ยท Samir Paul

Maximum Candies You Can Get from Boxes

October 1, 2020 ยท 5 min ยท 1004 words ยท Samir Paul

Replace Elements with Greatest Element on Right Side

October 1, 2020 ยท 2 min ยท 280 words ยท Samir Paul

Sum of Mutated Array Closest to Target

October 1, 2020 ยท 4 min ยท 647 words ยท Samir Paul

Number of Paths with Max Score

October 1, 2020 ยท 5 min ยท 1065 words ยท Samir Paul

Deepest Leaves Sum

October 1, 2020 ยท 9 min ยท 1766 words ยท Samir Paul

Find the Team Size

October 1, 2020 ยท 2 min ยท 377 words ยท Samir Paul

Find N Unique Integers Sum up to Zero

October 1, 2020 ยท 3 min ยท 509 words ยท Samir Paul

All Elements in Two Binary Search Trees

October 1, 2020 ยท 7 min ยท 1283 words ยท Samir Paul

Jump Game III

October 1, 2020 ยท 3 min ยท 612 words ยท Samir Paul

Verbal Arithmetic Puzzle

October 1, 2020 ยท 2 min ยท 240 words ยท Samir Paul

Running Total for Different Genders

October 1, 2020 ยท 3 min ยท 520 words ยท Samir Paul

Decrypt String from Alphabet to Integer Mapping

October 1, 2020 ยท 3 min ยท 579 words ยท Samir Paul

XOR Queries of a Subarray

October 1, 2020 ยท 3 min ยท 609 words ยท Samir Paul

Get Watched Videos by Your Friends

October 1, 2020 ยท 3 min ยท 587 words ยท Samir Paul

Minimum Insertion Steps to Make a String Palindrome

October 1, 2020 ยท 7 min ยท 1279 words ยท Samir Paul

Decompress Run-Length Encoded List

October 1, 2020 ยท 3 min ยท 591 words ยท Samir Paul

Matrix Block Sum

October 1, 2020 ยท 4 min ยท 836 words ยท Samir Paul

Sum of Nodes with Even-Valued Grandparent

October 1, 2020 ยท 3 min ยท 633 words ยท Samir Paul

Distinct Echo Substrings

October 1, 2020 ยท 5 min ยท 1010 words ยท Samir Paul

Convert Integer to the Sum of Two No-Zero Integers

October 1, 2020 ยท 3 min ยท 633 words ยท Samir Paul

Minimum Flips to Make a OR b Equal to c

October 1, 2020 ยท 3 min ยท 457 words ยท Samir Paul

Number of Operations to Make Network Connected

October 1, 2020 ยท 4 min ยท 646 words ยท Samir Paul

Minimum Distance to Type a Word Using Two Fingers

October 1, 2020 ยท 6 min ยท 1278 words ยท Samir Paul

September  720

Restaurant Growth

September 30, 2020 ยท 3 min ยท 575 words ยท Samir Paul

Ads Performance

September 30, 2020 ยท 2 min ยท 364 words ยท Samir Paul

Maximum 69 Number

September 30, 2020 ยท 2 min ยท 413 words ยท Samir Paul

Print Words Vertically

September 30, 2020 ยท 3 min ยท 526 words ยท Samir Paul

Delete Leaves With a Given Value

September 30, 2020 ยท 4 min ยท 728 words ยท Samir Paul

Minimum Number of Taps to Open to Water a Garden

September 30, 2020 ยท 5 min ยท 932 words ยท Samir Paul

List the Products Ordered in a Period

September 30, 2020 ยท 3 min ยท 442 words ยท Samir Paul

Break a Palindrome

September 30, 2020 ยท 3 min ยท 588 words ยท Samir Paul

Sort the Matrix Diagonally

September 30, 2020 ยท 3 min ยท 446 words ยท Samir Paul

Reverse Subarray To Maximize Array Value

September 30, 2020 ยท 5 min ยท 1048 words ยท Samir Paul

Rank Transform of an Array

September 30, 2020 ยท 3 min ยท 514 words ยท Samir Paul

Remove Palindromic Subsequences

September 30, 2020 ยท 3 min ยท 448 words ยท Samir Paul

Filter Restaurants by Vegan-Friendly, Price and Distance

September 30, 2020 ยท 4 min ยท 683 words ยท Samir Paul

Find the City With the Smallest Number of Neighbors at a Threshold Distance

September 30, 2020 ยท 11 min ยท 2251 words ยท Samir Paul

Minimum Difficulty of a Job Schedule

September 30, 2020 ยท 5 min ยท 922 words ยท Samir Paul

Number of Transactions per Visit

September 30, 2020 ยท 4 min ยท 688 words ยท Samir Paul

The K Weakest Rows in a Matrix

September 30, 2020 ยท 4 min ยท 767 words ยท Samir Paul

Reduce Array Size to The Half

September 30, 2020 ยท 3 min ยท 567 words ยท Samir Paul

Maximum Product of Splitted Binary Tree

September 30, 2020 ยท 5 min ยท 1018 words ยท Samir Paul

Jump Game V

September 30, 2020 ยท 7 min ยท 1383 words ยท Samir Paul

Movie Rating

September 30, 2020 ยท 3 min ยท 489 words ยท Samir Paul

Number of Steps to Reduce a Number to Zero

September 30, 2020 ยท 4 min ยท 704 words ยท Samir Paul

Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold

September 30, 2020 ยท 3 min ยท 507 words ยท Samir Paul

Angle Between Hands of a Clock

September 30, 2020 ยท 2 min ยท 307 words ยท Samir Paul

Jump Game IV

September 29, 2020 ยท 4 min ยท 811 words ยท Samir Paul

Check If N and Its Double Exist

September 29, 2020 ยท 8 min ยท 1598 words ยท Samir Paul

Minimum Number of Steps to Make Two Strings Anagram

September 29, 2020 ยท 3 min ยท 484 words ยท Samir Paul

Tweet Counts Per Frequency

September 29, 2020 ยท 4 min ยท 791 words ยท Samir Paul

Maximum Students Taking Exam

September 29, 2020 ยท 8 min ยท 1504 words ยท Samir Paul

Students With Invalid Departments

September 29, 2020 ยท 3 min ยท 434 words ยท Samir Paul

Count Negative Numbers in a Sorted Matrix

September 29, 2020 ยท 7 min ยท 1335 words ยท Samir Paul

Product of the Last K Numbers

September 29, 2020 ยท 4 min ยท 805 words ยท Samir Paul

Maximum Number of Events That Can Be Attended

September 29, 2020 ยท 4 min ยท 806 words ยท Samir Paul

Construct Target Array With Multiple Sums

September 29, 2020 ยท 5 min ยท 961 words ยท Samir Paul

Activity Participants

September 29, 2020 ยท 2 min ยท 353 words ยท Samir Paul

Sort Integers by The Number of 1 Bits

September 29, 2020 ยท 4 min ยท 800 words ยท Samir Paul

Apply Discount Every n Orders

September 29, 2020 ยท 6 min ยท 1093 words ยท Samir Paul

Number of Substrings Containing All Three Characters

September 29, 2020 ยท 2 min ยท 403 words ยท Samir Paul

Count All Valid Pickup and Delivery Options

September 29, 2020 ยท 3 min ยท 541 words ยท Samir Paul

Number of Days Between Two Dates

September 29, 2020 ยท 6 min ยท 1078 words ยท Samir Paul

Validate Binary Tree Nodes

September 29, 2020 ยท 4 min ยท 793 words ยท Samir Paul

Closest Divisors

September 29, 2020 ยท 3 min ยท 528 words ยท Samir Paul

Largest Multiple of Three

September 29, 2020 ยท 6 min ยท 1265 words ยท Samir Paul

Number of Trusted Contacts of a Customer

September 29, 2020 ยท 3 min ยท 622 words ยท Samir Paul

How Many Numbers Are Smaller Than the Current Number

September 29, 2020 ยท 5 min ยท 1015 words ยท Samir Paul

Rank Teams by Votes

September 29, 2020 ยท 4 min ยท 812 words ยท Samir Paul

Linked List in Binary Tree

September 29, 2020 ยท 8 min ยท 1528 words ยท Samir Paul

Minimum Cost to Make at Least One Valid Path in a Grid

September 29, 2020 ยท 7 min ยท 1319 words ยท Samir Paul

Get the Second Most Recent Activity

September 28, 2020 ยท 2 min ยท 304 words ยท Samir Paul

Increasing Decreasing String

September 28, 2020 ยท 5 min ยท 980 words ยท Samir Paul

Find the Longest Substring Containing Vowels in Even Counts

September 28, 2020 ยท 3 min ยท 496 words ยท Samir Paul

Longest ZigZag Path in a Binary Tree

September 28, 2020 ยท 4 min ยท 649 words ยท Samir Paul

Maximum Sum BST in Binary Tree

September 28, 2020 ยท 7 min ยท 1378 words ยท Samir Paul

Generate a String With Characters That Have Odd Counts

September 28, 2020 ยท 2 min ยท 367 words ยท Samir Paul

Number of Times Binary String Is Prefix-Aligned

September 28, 2020 ยท 3 min ยท 629 words ยท Samir Paul

Time Needed to Inform All Employees

September 28, 2020 ยท 5 min ยท 958 words ยท Samir Paul

Frog Position After T Seconds

September 28, 2020 ยท 8 min ยท 1538 words ยท Samir Paul

Replace Employee ID With The Unique Identifier

September 28, 2020 ยท 2 min ยท 316 words ยท Samir Paul

Find a Corresponding Node of a Binary Tree in a Clone of That Tree

September 28, 2020 ยท 5 min ยท 920 words ยท Samir Paul

Lucky Numbers in a Matrix

September 28, 2020 ยท 5 min ยท 884 words ยท Samir Paul

Design a Stack With Increment Operation

September 28, 2020 ยท 6 min ยท 1236 words ยท Samir Paul

Balance a Binary Search Tree

September 28, 2020 ยท 5 min ยท 1059 words ยท Samir Paul

Maximum Performance of a Team

September 28, 2020 ยท 4 min ยท 766 words ยท Samir Paul

Total Sales Amount by Year

September 28, 2020 ยท 3 min ยท 518 words ยท Samir Paul

Find the Distance Value Between Two Arrays

September 28, 2020 ยท 4 min ยท 823 words ยท Samir Paul

Cinema Seat Allocation

September 28, 2020 ยท 5 min ยท 865 words ยท Samir Paul

Sort Integers by The Power Value

September 28, 2020 ยท 5 min ยท 1045 words ยท Samir Paul

Pizza With 3n Slices

September 28, 2020 ยท 6 min ยท 1187 words ยท Samir Paul

Create Target Array in the Given Order

September 28, 2020 ยท 3 min ยท 450 words ยท Samir Paul

Four Divisors

September 28, 2020 ยท 4 min ยท 691 words ยท Samir Paul

Check if There is a Valid Path in a Grid

September 28, 2020 ยท 8 min ยท 1691 words ยท Samir Paul

Longest Happy Prefix

September 28, 2020 ยท 5 min ยท 904 words ยท Samir Paul

Capital GainLoss

September 27, 2020 ยท 3 min ยท 512 words ยท Samir Paul

Find Lucky Integer in an Array

September 27, 2020 ยท 3 min ยท 554 words ยท Samir Paul

Count Number of Teams

September 27, 2020 ยท 11 min ยท 2193 words ยท Samir Paul

Design Underground System

September 27, 2020 ยท 7 min ยท 1330 words ยท Samir Paul

Find All Good Strings

September 27, 2020 ยท 2 min ยท 214 words ยท Samir Paul

Customers Who Bought Products A and B but Not C

September 27, 2020 ยท 2 min ยท 384 words ยท Samir Paul

Count Largest Group

September 27, 2020 ยท 4 min ยท 704 words ยท Samir Paul

Construct K Palindrome Strings

September 27, 2020 ยท 3 min ยท 580 words ยท Samir Paul

Circle and Rectangle Overlapping

September 27, 2020 ยท 5 min ยท 938 words ยท Samir Paul

Reducing Dishes

September 27, 2020 ยท 4 min ยท 707 words ยท Samir Paul

Minimum Subsequence in Non-Increasing Order

September 27, 2020 ยท 4 min ยท 673 words ยท Samir Paul

Number of Steps to Reduce a Number in Binary Representation to One

September 27, 2020 ยท 3 min ยท 615 words ยท Samir Paul

Longest Happy String

September 27, 2020 ยท 5 min ยท 1055 words ยท Samir Paul

Stone Game III

September 27, 2020 ยท 6 min ยท 1249 words ยท Samir Paul

Top Travellers

September 27, 2020 ยท 3 min ยท 458 words ยท Samir Paul

String Matching in an Array

September 27, 2020 ยท 3 min ยท 541 words ยท Samir Paul

Queries on a Permutation With Key

September 27, 2020 ยท 7 min ยท 1336 words ยท Samir Paul

HTML Entity Parser

September 27, 2020 ยท 5 min ยท 949 words ยท Samir Paul

Number of Ways to Paint N ร— 3 Grid

September 27, 2020 ยท 10 min ยท 2123 words ยท Samir Paul

Find the Quiet Students in All Exams

September 27, 2020 ยท 3 min ยท 587 words ยท Samir Paul

Minimum Value to Get Positive Step by Step Sum

September 27, 2020 ยท 3 min ยท 522 words ยท Samir Paul

Find the Minimum Number of Fibonacci Numbers Whose Sum Is K

September 27, 2020 ยท 3 min ยท 616 words ยท Samir Paul

The k-th Lexicographical String of All Happy Strings of Length n

September 27, 2020 ยท 3 min ยท 462 words ยท Samir Paul

Restore The Array

September 27, 2020 ยท 1 min ยท 186 words ยท Samir Paul

Reformat The String

September 26, 2020 ยท 3 min ยท 616 words ยท Samir Paul

Display Table of Food Orders in a Restaurant

September 26, 2020 ยท 4 min ยท 811 words ยท Samir Paul

Minimum Number of Frogs Croaking

September 26, 2020 ยท 4 min ยท 820 words ยท Samir Paul

Build Array Where You Can Find The Maximum Exactly K Comparisons

September 26, 2020 ยท 5 min ยท 869 words ยท Samir Paul

NPV Queries

September 26, 2020 ยท 2 min ยท 389 words ยท Samir Paul

Maximum Score After Splitting a String

September 26, 2020 ยท 5 min ยท 1026 words ยท Samir Paul

Maximum Points You Can Obtain from Cards

September 26, 2020 ยท 6 min ยท 1232 words ยท Samir Paul

Diagonal Traverse II

September 26, 2020 ยท 3 min ยท 473 words ยท Samir Paul

Constrained Subsequence Sum

September 26, 2020 ยท 3 min ยท 528 words ยท Samir Paul

Counting Elements

September 26, 2020 ยท 3 min ยท 638 words ยท Samir Paul

Perform String Shifts

September 26, 2020 ยท 3 min ยท 590 words ยท Samir Paul

Leftmost Column with at Least a One

September 26, 2020 ยท 7 min ยท 1367 words ยท Samir Paul

First Unique Number

September 26, 2020 ยท 5 min ยท 944 words ยท Samir Paul

Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree

September 26, 2020 ยท 4 min ยท 704 words ยท Samir Paul

Kids With the Greatest Number of Candies

September 26, 2020 ยท 4 min ยท 685 words ยท Samir Paul

Max Difference You Can Get From Changing an Integer

September 26, 2020 ยท 4 min ยท 660 words ยท Samir Paul

Check If a String Can Break Another String

September 26, 2020 ยท 3 min ยท 529 words ยท Samir Paul

Number of Ways to Wear Different Hats to Each Other

September 26, 2020 ยท 6 min ยท 1193 words ยท Samir Paul

Create a Session Bar Chart

September 26, 2020 ยท 2 min ยท 324 words ยท Samir Paul

Destination City

September 26, 2020 ยท 3 min ยท 600 words ยท Samir Paul

Check If All 1’s Are at Least Length K Places Away

September 26, 2020 ยท 2 min ยท 409 words ยท Samir Paul

Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit

September 26, 2020 ยท 17 min ยท 3551 words ยท Samir Paul

Find the Kth Smallest Sum of a Matrix With Sorted Rows

September 26, 2020 ยท 3 min ยท 562 words ยท Samir Paul

Evaluate Boolean Expression

September 26, 2020 ยท 3 min ยท 511 words ยท Samir Paul

Build an Array With Stack Operations

September 25, 2020 ยท 5 min ยท 880 words ยท Samir Paul

Count Triplets That Can Form Two Arrays of Equal XOR

September 25, 2020 ยท 3 min ยท 556 words ยท Samir Paul

Minimum Time to Collect All Apples in a Tree

September 25, 2020 ยท 4 min ยท 701 words ยท Samir Paul

Number of Ways of Cutting a Pizza

September 25, 2020 ยท 7 min ยท 1457 words ยท Samir Paul

Apples & Oranges

September 25, 2020 ยท 2 min ยท 351 words ยท Samir Paul

Consecutive Characters

September 25, 2020 ยท 2 min ยท 379 words ยท Samir Paul

Simplified Fractions

September 25, 2020 ยท 3 min ยท 546 words ยท Samir Paul

Count Good Nodes in Binary Tree

September 25, 2020 ยท 4 min ยท 776 words ยท Samir Paul

Form Largest Integer With Digits That Add up to Target

September 25, 2020 ยท 6 min ยท 1112 words ยท Samir Paul

Number of Students Doing Homework at a Given Time

September 25, 2020 ยท 4 min ยท 803 words ยท Samir Paul

Rearrange Words in a Sentence

September 25, 2020 ยท 3 min ยท 585 words ยท Samir Paul

People Whose List of Favorite Companies Is Not a Subset of Another List

September 25, 2020 ยท 4 min ยท 840 words ยท Samir Paul

Maximum Number of Darts Inside of a Circular Dartboard

September 25, 2020 ยท 1 min ยท 178 words ยท Samir Paul

Active Users

September 25, 2020 ยท 2 min ยท 381 words ยท Samir Paul

Check If a Word Occurs As a Prefix of Any Word in a Sentence

September 25, 2020 ยท 3 min ยท 562 words ยท Samir Paul

Maximum Number of Vowels in a Substring of Given Length

September 25, 2020 ยท 4 min ยท 757 words ยท Samir Paul

Pseudo-Palindromic Paths in a Binary Tree

September 25, 2020 ยท 7 min ยท 1324 words ยท Samir Paul

Max Dot Product of Two Subsequences

September 25, 2020 ยท 4 min ยท 648 words ยท Samir Paul

Rectangles Area

September 25, 2020 ยท 2 min ยท 349 words ยท Samir Paul

Make Two Arrays Equal by Reversing Subarrays

September 25, 2020 ยท 5 min ยท 1002 words ยท Samir Paul

Check If a String Contains All Binary Codes of Size K

September 25, 2020 ยท 4 min ยท 780 words ยท Samir Paul

Course Schedule IV

September 25, 2020 ยท 8 min ยท 1500 words ยท Samir Paul

Cherry Pickup II

September 25, 2020 ยท 11 min ยท 2285 words ยท Samir Paul

Maximum Product of Two Elements in an Array

September 25, 2020 ยท 6 min ยท 1106 words ยท Samir Paul

Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts

September 24, 2020 ยท 5 min ยท 983 words ยท Samir Paul

Reorder Routes to Make All Paths Lead to the City Zero

September 24, 2020 ยท 5 min ยท 1004 words ยท Samir Paul

Probability of a Two Boxes Having The Same Number of Distinct Balls

September 24, 2020 ยท 8 min ยท 1577 words ยท Samir Paul

Calculate Salaries

September 24, 2020 ยท 3 min ยท 540 words ยท Samir Paul

Find All The Lonely Nodes

September 24, 2020 ยท 4 min ยท 661 words ยท Samir Paul

Shuffle the Array

September 24, 2020 ยท 3 min ยท 550 words ยท Samir Paul

The k Strongest Values in an Array

September 24, 2020 ยท 4 min ยท 650 words ยท Samir Paul

Design Browser History

September 24, 2020 ยท 5 min ยท 854 words ยท Samir Paul

Paint House III

September 24, 2020 ยท 8 min ยท 1669 words ยท Samir Paul

Delete N Nodes After M Nodes of a Linked List

September 24, 2020 ยท 4 min ยท 781 words ยท Samir Paul

Final Prices With a Special Discount in a Shop

September 24, 2020 ยท 7 min ยท 1451 words ยท Samir Paul

Subrectangle Queries

September 24, 2020 ยท 5 min ยท 961 words ยท Samir Paul

Find Two Non-overlapping Sub-arrays Each With Target Sum

September 24, 2020 ยท 4 min ยท 659 words ยท Samir Paul

Allocate Mailboxes

September 24, 2020 ยท 4 min ยท 741 words ยท Samir Paul

Sales by Day of the Week

September 24, 2020 ยท 4 min ยท 689 words ยท Samir Paul

Running Sum of 1d Array

September 24, 2020 ยท 2 min ยท 373 words ยท Samir Paul

Least Number of Unique Integers after K Removals

September 24, 2020 ยท 3 min ยท 635 words ยท Samir Paul

Minimum Number of Days to Make m Bouquets

September 24, 2020 ยท 5 min ยท 989 words ยท Samir Paul

Kth Ancestor of a Tree Node

September 24, 2020 ยท 7 min ยท 1319 words ยท Samir Paul

Group Sold Products By The Date

September 24, 2020 ยท 2 min ยท 264 words ยท Samir Paul

Clone Binary Tree With Random Pointer

September 24, 2020 ยท 4 min ยท 797 words ยท Samir Paul

XOR Operation in an Array

September 24, 2020 ยท 2 min ยท 324 words ยท Samir Paul

Making File Names Unique

September 24, 2020 ยท 3 min ยท 632 words ยท Samir Paul

Avoid Flood in The City

September 24, 2020 ยท 15 min ยท 3169 words ยท Samir Paul

Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree

September 23, 2020 ยท 8 min ยท 1520 words ยท Samir Paul

Clone N-ary Tree

September 23, 2020 ยท 3 min ยท 486 words ยท Samir Paul

Average Salary Excluding the Minimum and Maximum Salary

September 23, 2020 ยท 4 min ยท 650 words ยท Samir Paul

The kth Factor of n

September 23, 2020 ยท 4 min ยท 691 words ยท Samir Paul

Longest Subarray of 1’s After Deleting One Element

September 23, 2020 ยท 3 min ยท 554 words ยท Samir Paul

Parallel Courses II

September 23, 2020 ยท 5 min ยท 1055 words ยท Samir Paul

Friendly Movies Streamed Last Month

September 23, 2020 ยท 3 min ยท 442 words ยท Samir Paul

Path Crossing

September 23, 2020 ยท 3 min ยท 566 words ยท Samir Paul

Check If Array Pairs Are Divisible by k

September 23, 2020 ยท 2 min ยท 403 words ยท Samir Paul

Number of Subsequences That Satisfy the Given Sum Condition

September 23, 2020 ยท 4 min ยท 710 words ยท Samir Paul

Max Value of Equation

September 23, 2020 ยท 8 min ยท 1524 words ยท Samir Paul

Design a File Sharing System

September 23, 2020 ยท 5 min ยท 982 words ยท Samir Paul

Countries You Can Safely Invest In

September 23, 2020 ยท 4 min ยท 796 words ยท Samir Paul

Can Make Arithmetic Progression From Sequence

September 23, 2020 ยท 7 min ยท 1347 words ยท Samir Paul

Last Moment Before All Ants Fall Out of a Plank

September 23, 2020 ยท 3 min ยท 638 words ยท Samir Paul

Count Submatrices With All Ones

September 23, 2020 ยท 4 min ยท 687 words ยท Samir Paul

Minimum Possible Integer After at Most K Adjacent Swaps On Digits

September 23, 2020 ยท 5 min ยท 1058 words ยท Samir Paul

Find Root of N-Ary Tree

September 23, 2020 ยท 4 min ยท 837 words ยท Samir Paul

Reformat Date

September 23, 2020 ยท 3 min ยท 508 words ยท Samir Paul

Range Sum of Sorted Subarray Sums

September 23, 2020 ยท 4 min ยท 667 words ยท Samir Paul

Minimum Difference Between Largest and Smallest Value in Three Moves

September 23, 2020 ยท 3 min ยท 555 words ยท Samir Paul

Stone Game IV

September 23, 2020 ยท 5 min ยท 945 words ยท Samir Paul

Customer Order Frequency

September 23, 2020 ยท 3 min ยท 624 words ยท Samir Paul

Number of Good Pairs

September 23, 2020 ยท 4 min ยท 831 words ยท Samir Paul

Number of Substrings With Only 1s

September 22, 2020 ยท 2 min ยท 419 words ยท Samir Paul

Path with Maximum Probability

September 22, 2020 ยท 6 min ยท 1221 words ยท Samir Paul

Best Position for a Service Centre

September 22, 2020 ยท 5 min ยท 1063 words ยท Samir Paul

Move Sub-Tree of N-Ary Tree

September 22, 2020 ยท 2 min ยท 375 words ยท Samir Paul

Find Users With Valid E-Mails

September 22, 2020 ยท 2 min ยท 298 words ยท Samir Paul

Water Bottles

September 22, 2020 ยท 3 min ยท 457 words ยท Samir Paul

Number of Nodes in the Sub-Tree With the Same Label

September 22, 2020 ยท 5 min ยท 910 words ยท Samir Paul

Maximum Number of Non-Overlapping Substrings

September 22, 2020 ยท 2 min ยท 276 words ยท Samir Paul

Find a Value of a Mysterious Function Closest to Target

September 22, 2020 ยท 4 min ยท 834 words ยท Samir Paul

Diameter of N-Ary Tree

September 22, 2020 ยท 8 min ยท 1494 words ยท Samir Paul

Count Odd Numbers in an Interval Range

September 22, 2020 ยท 2 min ยท 306 words ยท Samir Paul

Number of Sub-arrays With Odd Sum

September 22, 2020 ยท 3 min ยท 436 words ยท Samir Paul

Number of Good Ways to Split a String

September 22, 2020 ยท 3 min ยท 474 words ยท Samir Paul

Minimum Number of Increments on Subarrays to Form a Target Array

September 22, 2020 ยท 2 min ยท 417 words ยท Samir Paul

Patients With a Condition

September 22, 2020 ยท 2 min ยท 222 words ยท Samir Paul

Shuffle String

September 22, 2020 ยท 2 min ยท 336 words ยท Samir Paul

Minimum Suffix Flips

September 22, 2020 ยท 2 min ยท 419 words ยท Samir Paul

Number of Good Leaf Nodes Pairs

September 22, 2020 ยท 5 min ยท 945 words ยท Samir Paul

String Compression II

September 22, 2020 ยท 3 min ยท 531 words ยท Samir Paul

The Most Recent Three Orders

September 22, 2020 ยท 3 min ยท 624 words ยท Samir Paul

Find the Index of the Large Integer

September 22, 2020 ยท 6 min ยท 1159 words ยท Samir Paul

Count Good Triplets

September 22, 2020 ยท 3 min ยท 524 words ยท Samir Paul

Find the Winner of an Array Game

September 22, 2020 ยท 3 min ยท 628 words ยท Samir Paul

Minimum Swaps to Arrange a Binary Grid

September 22, 2020 ยท 5 min ยท 959 words ยท Samir Paul

Get the Maximum Score

September 21, 2020 ยท 5 min ยท 877 words ยท Samir Paul

Guess the Majority in a Hidden Array

September 21, 2020 ยท 9 min ยท 1892 words ยท Samir Paul

Kth Missing Positive Number

September 21, 2020 ยท 3 min ยท 473 words ยท Samir Paul

Can Convert String in K Moves

September 21, 2020 ยท 3 min ยท 598 words ยท Samir Paul

Minimum Insertions to Balance a Parentheses String

September 21, 2020 ยท 3 min ยท 628 words ยท Samir Paul

Find Longest Awesome Substring

September 21, 2020 ยท 3 min ยท 546 words ยท Samir Paul

Fix Product Name Format

September 21, 2020 ยท 2 min ยท 329 words ยท Samir Paul

Make The String Great

September 21, 2020 ยท 3 min ยท 441 words ยท Samir Paul

Find Kth Bit in Nth Binary String

September 21, 2020 ยท 4 min ยท 759 words ยท Samir Paul

Maximum Number of Non-Overlapping Subarrays With Sum Equals Target

September 21, 2020 ยท 3 min ยท 575 words ยท Samir Paul

Minimum Cost to Cut a Stick

September 21, 2020 ยท 7 min ยท 1491 words ยท Samir Paul

The Most Similar Path in a Graph

September 21, 2020 ยท 8 min ยท 1698 words ยท Samir Paul

The Most Recent Orders for Each Product

September 21, 2020 ยท 3 min ยท 637 words ยท Samir Paul

Three Consecutive Odds

September 21, 2020 ยท 2 min ยท 393 words ยท Samir Paul

Minimum Operations to Make Array Equal

September 21, 2020 ยท 3 min ยท 545 words ยท Samir Paul

Magnetic Force Between Two Balls

September 21, 2020 ยท 4 min ยท 816 words ยท Samir Paul

Minimum Number of Days to Eat N Oranges

September 21, 2020 ยท 3 min ยท 527 words ยท Samir Paul

Strings Differ by One Character

September 21, 2020 ยท 2 min ยท 373 words ยท Samir Paul

Bank Account Summary

September 21, 2020 ยท 3 min ยท 494 words ยท Samir Paul

Thousand Separator

September 21, 2020 ยท 2 min ยท 350 words ยท Samir Paul

Minimum Number of Vertices to Reach All Nodes

September 21, 2020 ยท 3 min ยท 519 words ยท Samir Paul

Minimum Numbers of Function Calls to Make Target Array

September 21, 2020 ยท 3 min ยท 438 words ยท Samir Paul

Detect Cycles in 2D Grid

September 21, 2020 ยท 7 min ยท 1315 words ยท Samir Paul

Most Visited Sector in a Circular Track

September 21, 2020 ยท 3 min ยท 537 words ยท Samir Paul

Maximum Number of Coins You Can Get

September 20, 2020 ยท 3 min ยท 585 words ยท Samir Paul

Find Latest Group of Size M

September 20, 2020 ยท 7 min ยท 1428 words ยท Samir Paul

Stone Game V

September 20, 2020 ยท 6 min ยท 1066 words ยท Samir Paul

Put Boxes Into the Warehouse I

September 20, 2020 ยท 4 min ยท 843 words ยท Samir Paul

Unique Orders and Customers Per Month

September 20, 2020 ยท 2 min ยท 380 words ยท Samir Paul

Detect Pattern of Length M Repeated K or More Times

September 20, 2020 ยท 3 min ยท 634 words ยท Samir Paul

Maximum Length of Subarray With Positive Product

September 20, 2020 ยท 4 min ยท 822 words ยท Samir Paul

Minimum Number of Days to Disconnect Island

September 20, 2020 ยท 6 min ยท 1132 words ยท Samir Paul

Number of Ways to Reorder Array to Get Same BST

September 20, 2020 ยท 7 min ยท 1474 words ยท Samir Paul

Dot Product of Two Sparse Vectors

September 20, 2020 ยท 5 min ยท 871 words ยท Samir Paul

Warehouse Manager

September 20, 2020 ยท 3 min ยท 486 words ยท Samir Paul

Matrix Diagonal Sum

September 20, 2020 ยท 3 min ยท 595 words ยท Samir Paul

Number of Ways to Split a String

September 20, 2020 ยท 4 min ยท 784 words ยท Samir Paul

Shortest Subarray to be Removed to Make Array Sorted

September 20, 2020 ยท 6 min ยท 1139 words ยท Samir Paul

Count All Possible Routes

September 20, 2020 ยท 10 min ยท 1993 words ยท Samir Paul

Replace All ’s to Avoid Consecutive Repeating Characters

September 20, 2020 ยท 3 min ยท 616 words ยท Samir Paul

Number of Ways Where Square of Number Is Equal to Product of Two Numbers

September 20, 2020 ยท 4 min ยท 717 words ยท Samir Paul

Minimum Time to Make Rope Colorful

September 20, 2020 ยท 3 min ยท 639 words ยท Samir Paul

Remove Max Number of Edges to Keep Graph Fully Traversable

September 20, 2020 ยท 7 min ยท 1313 words ยท Samir Paul

Put Boxes Into the Warehouse II

September 20, 2020 ยท 5 min ยท 927 words ยท Samir Paul

Customer Who Visited but Did Not Make Any Transactions

September 20, 2020 ยท 3 min ยท 551 words ยท Samir Paul

Special Positions in a Binary Matrix

September 20, 2020 ยท 5 min ยท 924 words ยท Samir Paul

Count Unhappy Friends

September 20, 2020 ยท 4 min ยท 833 words ยท Samir Paul

Min Cost to Connect All Points

September 20, 2020 ยท 9 min ยท 1780 words ยท Samir Paul

Check If String Is Transformable With Substring Sort Operations

September 19, 2020 ยท 3 min ยท 542 words ยท Samir Paul

Binary Search Tree Iterator II

September 19, 2020 ยท 8 min ยท 1614 words ยท Samir Paul

Bank Account Summary II

September 19, 2020 ยท 3 min ยท 438 words ยท Samir Paul

Sum of All Odd Length Subarrays

September 19, 2020 ยท 4 min ยท 663 words ยท Samir Paul

Maximum Sum Obtained of Any Permutation

September 19, 2020 ยท 4 min ยท 830 words ยท Samir Paul

Make Sum Divisible by P

September 19, 2020 ยท 4 min ยท 822 words ยท Samir Paul

Strange Printer II

September 19, 2020 ยท 1 min ยท 163 words ยท Samir Paul

Rearrange Spaces Between Words

September 19, 2020 ยท 3 min ยท 639 words ยท Samir Paul

Split a String Into the Max Number of Unique Substrings

September 19, 2020 ยท 3 min ยท 527 words ยท Samir Paul

Maximum Non Negative Product in a Matrix

September 19, 2020 ยท 5 min ยท 1000 words ยท Samir Paul

Minimum Cost to Connect Two Groups of Points

September 19, 2020 ยท 8 min ยท 1648 words ยท Samir Paul

The Most Frequently Ordered Products for Each Customer

September 19, 2020 ยท 4 min ยท 678 words ยท Samir Paul

Build Binary Expression Tree From Infix Expression

September 19, 2020 ยท 2 min ยท 379 words ยท Samir Paul

Crawler Log Folder

September 19, 2020 ยท 3 min ยท 609 words ยท Samir Paul

Maximum Profit of Operating a Centennial Wheel

September 19, 2020 ยท 7 min ยท 1381 words ยท Samir Paul

Throne Inheritance

September 19, 2020 ยท 6 min ยท 1116 words ยท Samir Paul

Maximum Number of Achievable Transfer Requests

September 19, 2020 ยท 6 min ยท 1257 words ยท Samir Paul

Find Nearest Right Node in Binary Tree

September 19, 2020 ยท 8 min ยท 1513 words ยท Samir Paul

Design Parking System

September 19, 2020 ยท 5 min ยท 1034 words ยท Samir Paul

Alert Using Same Key-Card Three or More Times in a One Hour Period

September 19, 2020 ยท 4 min ยท 691 words ยท Samir Paul

Find Valid Matrix Given Row and Column Sums

September 19, 2020 ยท 4 min ยท 684 words ยท Samir Paul

Find Servers That Handled Most Number of Requests

September 19, 2020 ยท 6 min ยท 1083 words ยท Samir Paul

Sellers With No Sales

September 19, 2020 ยท 3 min ยท 468 words ยท Samir Paul

Special Array With X Elements Greater Than or Equal X

September 19, 2020 ยท 6 min ยท 1095 words ยท Samir Paul

Even Odd Tree

September 18, 2020 ยท 8 min ยท 1563 words ยท Samir Paul

Maximum Number of Visible Points

September 18, 2020 ยท 5 min ยท 894 words ยท Samir Paul

Minimum One Bit Operations to Make Integers Zero

September 18, 2020 ยท 3 min ยท 514 words ยท Samir Paul

Check If Two Expression Trees are Equivalent

September 18, 2020 ยท 8 min ยท 1525 words ยท Samir Paul

Find the Missing IDs

September 18, 2020 ยท 2 min ยท 263 words ยท Samir Paul

Maximum Nesting Depth of the Parentheses

September 18, 2020 ยท 3 min ยท 639 words ยท Samir Paul

Maximal Network Rank

September 18, 2020 ยท 4 min ยท 784 words ยท Samir Paul

Split Two Strings to Make Palindrome

September 18, 2020 ยท 5 min ยท 933 words ยท Samir Paul

Count Subtrees With Max Distance Between Cities

September 18, 2020 ยท 12 min ยท 2441 words ยท Samir Paul

Maximum Font to Fit a Sentence in a Screen

September 18, 2020 ยท 6 min ยท 1168 words ยท Samir Paul

Mean of Array After Removing Some Elements

September 18, 2020 ยท 3 min ยท 441 words ยท Samir Paul

Coordinate With Maximum Network Quality

September 18, 2020 ยท 4 min ยท 817 words ยท Samir Paul

Number of Sets of K Non-Overlapping Line Segments

September 18, 2020 ยท 4 min ยท 852 words ยท Samir Paul

Fancy Sequence

September 18, 2020 ยท 11 min ยท 2157 words ยท Samir Paul

All Valid Triplets That Can Represent a Country

September 18, 2020 ยท 3 min ยท 525 words ยท Samir Paul

Largest Substring Between Two Equal Characters

September 18, 2020 ยท 4 min ยท 644 words ยท Samir Paul

Lexicographically Smallest String After Applying Operations

September 18, 2020 ยท 7 min ยท 1431 words ยท Samir Paul

Best Team With No Conflicts

September 18, 2020 ยท 7 min ยท 1482 words ยท Samir Paul

Graph Connectivity With Threshold

September 18, 2020 ยท 7 min ยท 1440 words ยท Samir Paul

Design an Expression Tree With Evaluate Function

September 18, 2020 ยท 7 min ยท 1281 words ยท Samir Paul

Slowest Key

September 18, 2020 ยท 4 min ยท 725 words ยท Samir Paul

Arithmetic Subarrays

September 18, 2020 ยท 6 min ยท 1226 words ยท Samir Paul

Path With Minimum Effort

September 18, 2020 ยท 20 min ยท 4054 words ยท Samir Paul

Rank Transform of a Matrix

September 18, 2020 ยท 7 min ยท 1440 words ยท Samir Paul

Percentage of Users Attended a Contest

September 17, 2020 ยท 3 min ยท 429 words ยท Samir Paul

Add Two Polynomials Represented as Linked Lists

September 17, 2020 ยท 6 min ยท 1224 words ยท Samir Paul

Hopper Company Queries I

September 17, 2020 ยท 5 min ยท 999 words ยท Samir Paul

Sort Array by Increasing Frequency

September 17, 2020 ยท 3 min ยท 538 words ยท Samir Paul

Widest Vertical Area Between Two Points Containing No Points

September 17, 2020 ยท 7 min ยท 1402 words ยท Samir Paul

Count Substrings That Differ by One Character

September 17, 2020 ยท 7 min ยท 1362 words ยท Samir Paul

Number of Ways to Form a Target String Given a Dictionary

September 17, 2020 ยท 10 min ยท 2075 words ยท Samir Paul

Check Array Formation Through Concatenation

September 17, 2020 ยท 6 min ยท 1099 words ยท Samir Paul

Count Sorted Vowel Strings

September 17, 2020 ยท 4 min ยท 709 words ยท Samir Paul

Furthest Building You Can Reach

September 17, 2020 ยท 4 min ยท 676 words ยท Samir Paul

Kth Smallest Instructions

September 17, 2020 ยท 4 min ยท 765 words ยท Samir Paul

Lowest Common Ancestor of a Binary Tree II

September 17, 2020 ยท 5 min ยท 853 words ยท Samir Paul

Hopper Company Queries II

September 17, 2020 ยท 6 min ยท 1090 words ยท Samir Paul

Get Maximum in Generated Array

September 17, 2020 ยท 3 min ยท 610 words ยท Samir Paul

Minimum Deletions to Make Character Frequencies Unique

September 17, 2020 ยท 5 min ยท 985 words ยท Samir Paul

Sell Diminishing-Valued Colored Balls

September 17, 2020 ยท 5 min ยท 1045 words ยท Samir Paul

Create Sorted Array through Instructions

September 17, 2020 ยท 11 min ยท 2304 words ยท Samir Paul

Lowest Common Ancestor of a Binary Tree III

September 17, 2020 ยท 3 min ยท 575 words ยท Samir Paul

Hopper Company Queries III

September 17, 2020 ยท 5 min ยท 916 words ยท Samir Paul

Defuse the Bomb

September 17, 2020 ยท 6 min ยท 1252 words ยท Samir Paul

Minimum Deletions to Make String Balanced

September 17, 2020 ยท 6 min ยท 1162 words ยท Samir Paul

Minimum Jumps to Reach Home

September 17, 2020 ยท 5 min ยท 1032 words ยท Samir Paul

Distribute Repeating Integers

September 17, 2020 ยท 7 min ยท 1384 words ยท Samir Paul

Design an Ordered Stream

September 17, 2020 ยท 5 min ยท 916 words ยท Samir Paul

Determine if Two Strings Are Close

September 16, 2020 ยท 5 min ยท 901 words ยท Samir Paul

Minimum Operations to Reduce X to Zero

September 16, 2020 ยท 7 min ยท 1468 words ยท Samir Paul

Maximize Grid Happiness

September 16, 2020 ยท 16 min ยท 3344 words ยท Samir Paul

Correct a Binary Tree

September 16, 2020 ยท 4 min ยท 718 words ยท Samir Paul

Average Time of Process per Machine

September 16, 2020 ยท 4 min ยท 663 words ยท Samir Paul

Check If Two String Arrays are Equivalent

September 16, 2020 ยท 5 min ยท 907 words ยท Samir Paul

Smallest String With A Given Numeric Value

September 16, 2020 ยท 3 min ยท 471 words ยท Samir Paul

Ways to Make a Fair Array

September 16, 2020 ยท 5 min ยท 974 words ยท Samir Paul

Minimum Initial Energy to Finish Tasks

September 16, 2020 ยท 4 min ยท 715 words ยท Samir Paul

Change the Root of a Binary Tree

September 16, 2020 ยท 4 min ยท 838 words ยท Samir Paul

Fix Names in a Table

September 16, 2020 ยท 1 min ยท 194 words ยท Samir Paul

Maximum Repeating Substring

September 16, 2020 ยท 3 min ยท 610 words ยท Samir Paul

Merge In Between Linked Lists

September 16, 2020 ยท 5 min ยท 900 words ยท Samir Paul

Design Front Middle Back Queue

September 16, 2020 ยท 14 min ยท 2813 words ยท Samir Paul

Minimum Number of Removals to Make Mountain Array

September 16, 2020 ยท 6 min ยท 1137 words ยท Samir Paul

Richest Customer Wealth

September 16, 2020 ยท 3 min ยท 621 words ยท Samir Paul

Find the Most Competitive Subsequence

September 16, 2020 ยท 3 min ยท 464 words ยท Samir Paul

Minimum Moves to Make Array Complementary

September 16, 2020 ยท 5 min ยท 1064 words ยท Samir Paul

Minimize Deviation in Array

September 16, 2020 ยท 5 min ยท 897 words ยท Samir Paul

Lowest Common Ancestor of a Binary Tree IV

September 16, 2020 ยท 4 min ยท 732 words ยท Samir Paul

Product’s Worth Over Invoices

September 16, 2020 ยท 3 min ยท 549 words ยท Samir Paul

Goal Parser Interpretation

September 16, 2020 ยท 5 min ยท 861 words ยท Samir Paul

Max Number of K-Sum Pairs

September 16, 2020 ยท 6 min ยท 1201 words ยท Samir Paul

Concatenation of Consecutive Binary Numbers

September 16, 2020 ยท 4 min ยท 799 words ยท Samir Paul

Minimum Incompatibility

September 15, 2020 ยท 11 min ยท 2284 words ยท Samir Paul

Longest Palindromic Subsequence II

September 15, 2020 ยท 4 min ยท 795 words ยท Samir Paul

Invalid Tweets

September 15, 2020 ยท 2 min ยท 286 words ยท Samir Paul

Count the Number of Consistent Strings

September 15, 2020 ยท 7 min ยท 1467 words ยท Samir Paul

Sum of Absolute Differences in a Sorted Array

September 15, 2020 ยท 4 min ยท 819 words ยท Samir Paul

Stone Game VI

September 15, 2020 ยท 4 min ยท 830 words ยท Samir Paul

Delivering Boxes from Storage to Ports

September 15, 2020 ยท 11 min ยท 2249 words ยท Samir Paul

Count of Matches in Tournament

September 15, 2020 ยท 3 min ยท 446 words ยท Samir Paul

Partitioning Into Minimum Number Of Deci-Binary Numbers

September 15, 2020 ยท 2 min ยท 410 words ยท Samir Paul

Stone Game VII

September 15, 2020 ยท 5 min ยท 929 words ยท Samir Paul

Maximum Height by Stacking Cuboids

September 15, 2020 ยท 5 min ยท 984 words ยท Samir Paul

Count Ways to Distribute Candies

September 15, 2020 ยท 4 min ยท 820 words ยท Samir Paul

Daily Leads and Partners

September 15, 2020 ยท 2 min ยท 400 words ยท Samir Paul

Reformat Phone Number

September 15, 2020 ยท 5 min ยท 1024 words ยท Samir Paul

Maximum Erasure Value

September 15, 2020 ยท 4 min ยท 681 words ยท Samir Paul

Jump Game VI

September 15, 2020 ยท 4 min ยท 653 words ยท Samir Paul

Checking Existence of Edge Length Limited Paths

September 15, 2020 ยท 6 min ยท 1227 words ยท Samir Paul

Number of Distinct Substrings in a String

September 15, 2020 ยท 6 min ยท 1109 words ยท Samir Paul

Number of Calls Between Two Persons

September 15, 2020 ยท 2 min ยท 384 words ยท Samir Paul

Number of Students Unable to Eat Lunch

September 15, 2020 ยท 5 min ยท 937 words ยท Samir Paul

Average Waiting Time

September 15, 2020 ยท 5 min ยท 856 words ยท Samir Paul

Maximum Binary String After Change

September 15, 2020 ยท 3 min ยท 559 words ยท Samir Paul

Minimum Adjacent Swaps for K Consecutive Ones

September 15, 2020 ยท 5 min ยท 989 words ยท Samir Paul

Determine if String Halves Are Alike

September 15, 2020 ยท 4 min ยท 840 words ยท Samir Paul

Maximum Number of Eaten Apples

September 14, 2020 ยท 5 min ยท 943 words ยท Samir Paul

Where Will the Ball Fall

September 14, 2020 ยท 7 min ยท 1466 words ยท Samir Paul

Maximum XOR With an Element From Array

September 14, 2020 ยท 8 min ยท 1589 words ยท Samir Paul

Largest Subarray Length K

September 14, 2020 ยท 3 min ยท 515 words ยท Samir Paul

Biggest Window Between Visits

September 14, 2020 ยท 2 min ยท 423 words ยท Samir Paul

Maximum Units on a Truck

September 14, 2020 ยท 6 min ยท 1193 words ยท Samir Paul

Count Good Meals

September 14, 2020 ยท 6 min ยท 1182 words ยท Samir Paul

Ways to Split Array Into Three Subarrays

September 14, 2020 ยท 5 min ยท 1019 words ยท Samir Paul

Minimum Operations to Make a Subsequence

September 14, 2020 ยท 6 min ยท 1186 words ยท Samir Paul

Sum Of Special Evenly-Spaced Elements In Array

September 14, 2020 ยท 6 min ยท 1077 words ยท Samir Paul

Count Apples and Oranges

September 14, 2020 ยท 3 min ยท 553 words ยท Samir Paul

Calculate Money in Leetcode Bank

September 14, 2020 ยท 2 min ยท 402 words ยท Samir Paul

Maximum Score From Removing Substrings

September 14, 2020 ยท 4 min ยท 793 words ยท Samir Paul

Construct the Lexicographically Largest Valid Sequence

September 14, 2020 ยท 5 min ยท 936 words ยท Samir Paul

Number Of Ways To Reconstruct A Tree

September 14, 2020 ยท 5 min ยท 1030 words ยท Samir Paul

Decode XORed Array

September 14, 2020 ยท 2 min ยท 321 words ยท Samir Paul

Swapping Nodes in a Linked List

September 14, 2020 ยท 5 min ยท 913 words ยท Samir Paul

Minimize Hamming Distance After Swap Operations

September 14, 2020 ยท 6 min ยท 1131 words ยท Samir Paul

Find Minimum Time to Finish All Jobs

September 14, 2020 ยท 4 min ยท 684 words ยท Samir Paul

Checking Existence of Edge Length Limited Paths II

September 14, 2020 ยท 8 min ยท 1549 words ยท Samir Paul

Number Of Rectangles That Can Form The Largest Square

September 14, 2020 ยท 3 min ยท 615 words ยท Samir Paul

Tuple with Same Product

September 14, 2020 ยท 4 min ยท 734 words ยท Samir Paul

Largest Submatrix With Rearrangements

September 14, 2020 ยท 4 min ยท 713 words ยท Samir Paul

Cat and Mouse II

September 14, 2020 ยท 4 min ยท 793 words ยท Samir Paul

Find Followers Count

September 13, 2020 ยท 2 min ยท 226 words ยท Samir Paul

Shortest Path to Get Food

September 13, 2020 ยท 6 min ยท 1147 words ยท Samir Paul

The Number of Employees Which Report to Each Employee

September 13, 2020 ยท 2 min ยท 343 words ยท Samir Paul

Find the Highest Altitude

September 13, 2020 ยท 4 min ยท 705 words ยท Samir Paul

Minimum Number of People to Teach

September 13, 2020 ยท 4 min ยท 790 words ยท Samir Paul

Decode XORed Permutation

September 13, 2020 ยท 3 min ยท 612 words ยท Samir Paul

Count Ways to Make Array With Product

September 13, 2020 ยท 8 min ยท 1519 words ยท Samir Paul

Latest Time by Replacing Hidden Digits

September 13, 2020 ยท 4 min ยท 679 words ยท Samir Paul

Change Minimum Characters to Satisfy One of Three Conditions

September 13, 2020 ยท 6 min ยท 1167 words ยท Samir Paul

Find Kth Largest XOR Coordinate Value

September 13, 2020 ยท 4 min ยท 833 words ยท Samir Paul

Building Boxes

September 13, 2020 ยท 4 min ยท 702 words ยท Samir Paul

Find Distance in a Binary Tree

September 13, 2020 ยท 5 min ยท 971 words ยท Samir Paul

Find Total Time Spent by Each Employee

September 13, 2020 ยท 3 min ยท 434 words ยท Samir Paul

Maximum Number of Balls in a Box

September 13, 2020 ยท 4 min ยท 715 words ยท Samir Paul

Restore the Array From Adjacent Pairs

September 13, 2020 ยท 6 min ยท 1226 words ยท Samir Paul

Can You Eat Your Favorite Candy on Your Favorite Day

September 13, 2020 ยท 4 min ยท 680 words ยท Samir Paul

Palindrome Partitioning IV

September 13, 2020 ยท 3 min ยท 591 words ยท Samir Paul

Maximum Subarray Sum After One Operation

September 13, 2020 ยท 3 min ยท 573 words ยท Samir Paul

Leetflex Banned Accounts

September 13, 2020 ยท 3 min ยท 448 words ยท Samir Paul

Sum of Unique Elements

September 13, 2020 ยท 4 min ยท 836 words ยท Samir Paul

Maximum Absolute Sum of Any Subarray

September 13, 2020 ยท 3 min ยท 617 words ยท Samir Paul

Minimum Length of String After Deleting Similar Ends

September 13, 2020 ยท 5 min ยท 955 words ยท Samir Paul

Maximum Number of Events That Can Be Attended II

September 13, 2020 ยท 7 min ยท 1412 words ยท Samir Paul

Check if Array Is Sorted and Rotated

September 13, 2020 ยท 3 min ยท 491 words ยท Samir Paul

Maximum Score From Removing Stones

September 12, 2020 ยท 4 min ยท 785 words ยท Samir Paul

Largest Merge Of Two Strings

September 12, 2020 ยท 5 min ยท 929 words ยท Samir Paul

Closest Subsequence Sum

September 12, 2020 ยท 8 min ยท 1620 words ยท Samir Paul

Design Most Recently Used Queue

September 12, 2020 ยท 7 min ยท 1453 words ยท Samir Paul

Recyclable and Low Fat Products

September 12, 2020 ยท 2 min ยท 268 words ยท Samir Paul

Minimum Changes To Make Alternating Binary String

September 12, 2020 ยท 3 min ยท 501 words ยท Samir Paul

Count Number of Homogenous Substrings

September 12, 2020 ยท 6 min ยท 1093 words ยท Samir Paul

Minimum Limit of Balls in a Bag

September 12, 2020 ยท 4 min ยท 792 words ยท Samir Paul

Minimum Degree of a Connected Trio in a Graph

September 12, 2020 ยท 5 min ยท 901 words ยท Samir Paul

Buildings With an Ocean View

September 12, 2020 ยท 3 min ยท 521 words ยท Samir Paul

Longest Nice Substring

September 12, 2020 ยท 6 min ยท 1226 words ยท Samir Paul

Form Array by Concatenating Subarrays of Another Array

September 12, 2020 ยท 4 min ยท 709 words ยท Samir Paul

Map of Highest Peak

September 12, 2020 ยท 10 min ยท 1994 words ยท Samir Paul

Tree of Coprimes

September 12, 2020 ยท 6 min ยท 1135 words ยท Samir Paul

Find the Subtasks That Did Not Execute

September 12, 2020 ยท 3 min ยท 431 words ยท Samir Paul

Merge Strings Alternately

September 12, 2020 ยท 4 min ยท 702 words ยท Samir Paul

Minimum Number of Operations to Move All Balls to Each Box

September 12, 2020 ยท 9 min ยท 1839 words ยท Samir Paul

Maximum Score from Performing Multiplication Operations

September 12, 2020 ยท 8 min ยท 1515 words ยท Samir Paul

Maximize Palindrome Length From Subsequences

September 12, 2020 ยท 6 min ยท 1176 words ยท Samir Paul

Sort Features by Popularity

September 12, 2020 ยท 4 min ยท 845 words ยท Samir Paul

Count Items Matching a Rule

September 12, 2020 ยท 3 min ยท 561 words ยท Samir Paul

Closest Dessert Cost

September 12, 2020 ยท 7 min ยท 1285 words ยท Samir Paul

Equal Sum Arrays With Minimum Number of Operations

September 12, 2020 ยท 6 min ยท 1263 words ยท Samir Paul

Car Fleet II

September 12, 2020 ยท 4 min ยท 651 words ยท Samir Paul

Product’s Price for Each Store

September 11, 2020 ยท 2 min ยท 259 words ยท Samir Paul

Shortest Path in a Hidden Grid

September 11, 2020 ยท 7 min ยท 1478 words ยท Samir Paul

Find Nearest Point That Has the Same X or Y Coordinate

September 11, 2020 ยท 5 min ยท 855 words ยท Samir Paul

Check if Number is a Sum of Powers of Three

September 11, 2020 ยท 2 min ยท 289 words ยท Samir Paul

Sum of Beauty of All Substrings

September 11, 2020 ยท 6 min ยท 1219 words ยท Samir Paul

Count Pairs Of Nodes

September 11, 2020 ยท 6 min ยท 1213 words ยท Samir Paul

Grand Slam Titles

September 11, 2020 ยท 3 min ยท 572 words ยท Samir Paul

Check if Binary String Has at Most One Segment of Ones

September 11, 2020 ยท 2 min ยท 363 words ยท Samir Paul

Minimum Elements to Add to Form a Given Sum

September 11, 2020 ยท 4 min ยท 642 words ยท Samir Paul

Number of Restricted Paths From First to Last Node

September 11, 2020 ยท 8 min ยท 1680 words ยท Samir Paul

Make the XOR of All Segments Equal to Zero

September 11, 2020 ยท 4 min ยท 726 words ยท Samir Paul

Maximize the Beauty of the Garden

September 11, 2020 ยท 5 min ยท 920 words ยท Samir Paul

Primary Department for Each Employee

September 11, 2020 ยท 2 min ยท 383 words ยท Samir Paul

Check if One String Swap Can Make Strings Equal

September 11, 2020 ยท 5 min ยท 953 words ยท Samir Paul

Find Center of Star Graph

September 11, 2020 ยท 3 min ยท 480 words ยท Samir Paul

Maximum Average Pass Ratio

September 11, 2020 ยท 5 min ยท 980 words ยท Samir Paul

Maximum Score of a Good Subarray

September 11, 2020 ยท 6 min ยท 1085 words ยท Samir Paul

Count Pairs of Equal Substrings With Minimum Difference

September 11, 2020 ยท 5 min ยท 862 words ยท Samir Paul

Rearrange Products Table

September 11, 2020 ยท 2 min ยท 344 words ยท Samir Paul

Second Largest Digit in a String

September 11, 2020 ยท 6 min ยท 1182 words ยท Samir Paul

Design Authentication Manager

September 11, 2020 ยท 7 min ยท 1409 words ยท Samir Paul

Maximum Number of Consecutive Values You Can Make

September 11, 2020 ยท 3 min ยท 533 words ยท Samir Paul

Maximize Score After N Operations

September 11, 2020 ยท 7 min ยท 1297 words ยท Samir Paul

Maximum Ascending Subarray Sum

September 11, 2020 ยท 4 min ยท 758 words ยท Samir Paul

Number of Orders in the Backlog

September 10, 2020 ยท 9 min ยท 1717 words ยท Samir Paul

Maximum Value at a Given Index in a Bounded Array

September 10, 2020 ยท 5 min ยท 894 words ยท Samir Paul

Count Pairs With XOR in a Range

September 10, 2020 ยท 8 min ยท 1571 words ยท Samir Paul

Implement Trie II (Prefix Tree)

September 10, 2020 ยท 8 min ยท 1590 words ยท Samir Paul

Number of Different Integers in a String

September 10, 2020 ยท 4 min ยท 760 words ยท Samir Paul

Minimum Number of Operations to Reinitialize a Permutation

September 10, 2020 ยท 3 min ยท 639 words ยท Samir Paul

Evaluate the Bracket Pairs of a String

September 10, 2020 ยท 6 min ยท 1088 words ยท Samir Paul

Maximize Number of Nice Divisors

September 10, 2020 ยท 6 min ยท 1123 words ยท Samir Paul

Ad-Free Sessions

September 10, 2020 ยท 2 min ยท 424 words ยท Samir Paul

Minimum Path Cost in a Hidden Grid

September 10, 2020 ยท 7 min ยท 1323 words ยท Samir Paul

Find Interview Candidates

September 10, 2020 ยท 4 min ยท 696 words ยท Samir Paul

Determine Color of a Chessboard Square

September 10, 2020 ยท 2 min ยท 407 words ยท Samir Paul

Sentence Similarity III

September 10, 2020 ยท 5 min ยท 895 words ยท Samir Paul

Count Nice Pairs in an Array

September 10, 2020 ยท 8 min ยท 1555 words ยท Samir Paul

Maximum Number of Groups Getting Fresh Donuts

September 10, 2020 ยท 7 min ยท 1327 words ยท Samir Paul

Truncate Sentence

September 10, 2020 ยท 3 min ยท 634 words ยท Samir Paul

Finding the Users Active Minutes

September 10, 2020 ยท 4 min ยท 711 words ยท Samir Paul

Minimum Absolute Sum Difference

September 10, 2020 ยท 7 min ยท 1458 words ยท Samir Paul

Number of Different Subsequences GCDs

September 10, 2020 ยท 4 min ยท 729 words ยท Samir Paul

Maximum Number of Accepted Invitations

September 10, 2020 ยท 4 min ยท 731 words ยท Samir Paul

Find Customers With Positive Revenue this Year

September 10, 2020 ยท 2 min ยท 287 words ยท Samir Paul

Sign of the Product of an Array

September 10, 2020 ยท 3 min ยท 606 words ยท Samir Paul

Find the Winner of the Circular Game

September 10, 2020 ยท 4 min ยท 676 words ยท Samir Paul

Minimum Sideway Jumps

September 10, 2020 ยท 5 min ยท 1044 words ยท Samir Paul

Finding MK Average

September 9, 2020 ยท 11 min ยท 2253 words ยท Samir Paul

Faulty Sensor

September 9, 2020 ยท 4 min ยท 796 words ยท Samir Paul

Minimum Operations to Make the Array Increasing

September 9, 2020 ยท 4 min ยท 682 words ยท Samir Paul

Queries on Number of Points Inside a Circle

September 9, 2020 ยท 5 min ยท 882 words ยท Samir Paul

Maximum XOR for Each Query

September 9, 2020 ยท 10 min ยท 1930 words ยท Samir Paul

Minimum Number of Operations to Make String Sorted

September 9, 2020 ยท 7 min ยท 1446 words ยท Samir Paul

Maximum Transaction Each Day

September 9, 2020 ยท 2 min ยท 382 words ยท Samir Paul

Check if the Sentence Is Pangram

September 9, 2020 ยท 4 min ยท 851 words ยท Samir Paul

Maximum Ice Cream Bars

September 9, 2020 ยท 3 min ยท 636 words ยท Samir Paul

Single-Threaded CPU

September 9, 2020 ยท 6 min ยท 1227 words ยท Samir Paul

Find XOR Sum of All Pairs Bitwise AND

September 9, 2020 ยท 3 min ยท 599 words ยท Samir Paul

Remove Duplicates From an Unsorted Linked List

September 9, 2020 ยท 4 min ยท 829 words ยท Samir Paul

Sum of Digits in Base K

September 9, 2020 ยท 3 min ยท 485 words ยท Samir Paul

Frequency of the Most Frequent Element

September 9, 2020 ยท 8 min ยท 1655 words ยท Samir Paul

Longest Substring Of All Vowels in Order

September 9, 2020 ยท 5 min ยท 920 words ยท Samir Paul

Maximum Building Height

September 9, 2020 ยท 5 min ยท 863 words ยท Samir Paul

League Statistics

September 9, 2020 ยท 4 min ยท 686 words ยท Samir Paul

Next Palindrome Using Same Digits

September 9, 2020 ยท 5 min ยท 871 words ยท Samir Paul

Suspicious Bank Accounts

September 9, 2020 ยท 4 min ยท 701 words ยท Samir Paul

Replace All Digits with Characters

September 9, 2020 ยท 3 min ยท 570 words ยท Samir Paul

Seat Reservation Manager

September 9, 2020 ยท 5 min ยท 895 words ยท Samir Paul

Maximum Element After Decreasing and Rearranging

September 9, 2020 ยท 4 min ยท 695 words ยท Samir Paul

Closest Room

September 9, 2020 ยท 7 min ยท 1290 words ยท Samir Paul

Minimum Distance to the Target Element

September 9, 2020 ยท 3 min ยท 545 words ยท Samir Paul

Splitting a String Into Descending Consecutive Values

September 8, 2020 ยท 4 min ยท 721 words ยท Samir Paul

Minimum Adjacent Swaps to Reach the Kth Smallest Number

September 8, 2020 ยท 8 min ยท 1611 words ยท Samir Paul

Minimum Interval to Include Each Query

September 8, 2020 ยท 6 min ยท 1242 words ยท Samir Paul

Distinct Numbers in Each Subarray

September 8, 2020 ยท 6 min ยท 1226 words ยท Samir Paul

Convert Date Format

September 8, 2020 ยท 1 min ยท 141 words ยท Samir Paul

Maximum Population Year

September 8, 2020 ยท 4 min ยท 845 words ยท Samir Paul

Maximum Distance Between a Pair of Values

September 8, 2020 ยท 7 min ยท 1445 words ยท Samir Paul

Maximum Subarray Min-Product

September 8, 2020 ยท 7 min ยท 1289 words ยท Samir Paul

Largest Color Value in a Directed Graph

September 8, 2020 ยท 5 min ยท 974 words ยท Samir Paul

Longest Word With All Prefixes

September 8, 2020 ยท 8 min ยท 1679 words ยท Samir Paul

Sorting the Sentence

September 8, 2020 ยท 4 min ยท 684 words ยท Samir Paul

Incremental Memory Leak

September 8, 2020 ยท 4 min ยท 784 words ยท Samir Paul

Rotating the Box

September 8, 2020 ยท 4 min ยท 771 words ยท Samir Paul

Sum of Floored Pairs

September 8, 2020 ยท 6 min ยท 1175 words ยท Samir Paul

Sum of All Subset XOR Totals

September 8, 2020 ยท 7 min ยท 1414 words ยท Samir Paul

Minimum Number of Swaps to Make the Binary String Alternating

September 8, 2020 ยท 3 min ยท 543 words ยท Samir Paul

Finding Pairs With a Certain Sum

September 8, 2020 ยท 5 min ยท 854 words ยท Samir Paul

Number of Ways to Rearrange Sticks With K Sticks Visible

September 8, 2020 ยท 6 min ยท 1221 words ยท Samir Paul

Orders With Maximum Quantity Above Average

September 8, 2020 ยท 3 min ยท 459 words ยท Samir Paul

Product of Two Run-Length Encoded Arrays

September 8, 2020 ยท 4 min ยท 738 words ยท Samir Paul

Longer Contiguous Segments of Ones than Zeros

September 8, 2020 ยท 4 min ยท 696 words ยท Samir Paul

Minimum Speed to Arrive on Time

September 8, 2020 ยท 6 min ยท 1131 words ยท Samir Paul

Jump Game VII

September 8, 2020 ยท 5 min ยท 951 words ยท Samir Paul

Stone Game VIII

September 8, 2020 ยท 8 min ยท 1542 words ยท Samir Paul

Calculate Special Bonus

September 7, 2020 ยท 2 min ยท 323 words ยท Samir Paul

Minimize Product Sum of Two Arrays

September 7, 2020 ยท 2 min ยท 379 words ยท Samir Paul

Group Employees of the Same Salary

September 7, 2020 ยท 3 min ยท 513 words ยท Samir Paul

Substrings of Size Three with Distinct Characters

September 7, 2020 ยท 2 min ยท 419 words ยท Samir Paul

Minimize Maximum Pair Sum in Array

September 7, 2020 ยท 3 min ยท 491 words ยท Samir Paul

Get Biggest Three Rhombus Sums in a Grid

September 7, 2020 ยท 21 min ยท 4353 words ยท Samir Paul

Minimum XOR Sum of Two Arrays

September 7, 2020 ยท 9 min ยท 1758 words ยท Samir Paul

Check if Word Equals Summation of Two Words

September 7, 2020 ยท 4 min ยท 805 words ยท Samir Paul

Maximum Value after Insertion

September 7, 2020 ยท 3 min ยท 604 words ยท Samir Paul

Process Tasks Using Servers

September 7, 2020 ยท 4 min ยท 817 words ยท Samir Paul

Minimum Skips to Arrive at Meeting On Time

September 7, 2020 ยท 7 min ยท 1290 words ยท Samir Paul

Egg Drop With 2 Eggs and N Floors

September 7, 2020 ยท 2 min ยท 371 words ยท Samir Paul

Count Pairs in Two Arrays

September 7, 2020 ยท 3 min ยท 532 words ยท Samir Paul

Determine Whether Matrix Can Be Obtained By Rotation

September 7, 2020 ยท 6 min ยท 1182 words ยท Samir Paul

Reduction Operations to Make the Array Elements Equal

September 7, 2020 ยท 4 min ยท 767 words ยท Samir Paul

Minimum Number of Flips to Make the Binary String Alternating

September 7, 2020 ยท 4 min ยท 702 words ยท Samir Paul

Minimum Space Wasted From Packaging

September 7, 2020 ยท 6 min ยท 1186 words ยท Samir Paul

The Latest Login in 2020

September 7, 2020 ยท 2 min ยท 349 words ยท Samir Paul

Cutting Ribbons

September 7, 2020 ยท 6 min ยท 1143 words ยท Samir Paul

Page Recommendations II

September 7, 2020 ยท 4 min ยท 647 words ยท Samir Paul

Check if All the Integers in a Range Are Covered

September 7, 2020 ยท 4 min ยท 689 words ยท Samir Paul

Find the Student that Will Replace the Chalk

September 7, 2020 ยท 5 min ยท 917 words ยท Samir Paul

Largest Magic Square

September 7, 2020 ยท 9 min ยท 1860 words ยท Samir Paul

Minimum Cost to Change the Final Value of Expression

September 7, 2020 ยท 2 min ยท 271 words ยท Samir Paul

Redistribute Characters to Make All Strings Equal

September 6, 2020 ยท 3 min ยท 480 words ยท Samir Paul

Maximum Number of Removable Characters

September 6, 2020 ยท 6 min ยท 1168 words ยท Samir Paul

Merge Triplets to Form Target Triplet

September 6, 2020 ยท 4 min ยท 773 words ยท Samir Paul

The Earliest and Latest Rounds Where Players Compete

September 6, 2020 ยท 3 min ยท 592 words ยท Samir Paul

Find a Peak Element II

September 6, 2020 ยท 6 min ยท 1207 words ยท Samir Paul

Depth of BST Given Insertion Order

September 6, 2020 ยท 2 min ยท 399 words ยท Samir Paul

Largest Odd Number in String

September 6, 2020 ยท 3 min ยท 490 words ยท Samir Paul

The Number of Full Rounds You Have Played

September 6, 2020 ยท 4 min ยท 712 words ยท Samir Paul

Count Sub Islands

September 6, 2020 ยท 6 min ยท 1201 words ยท Samir Paul

Minimum Absolute Difference Queries

September 6, 2020 ยท 6 min ยท 1172 words ยท Samir Paul

Count Salary Categories

September 6, 2020 ยท 3 min ยท 453 words ยท Samir Paul

Game of Nim

September 6, 2020 ยท 6 min ยท 1091 words ยท Samir Paul

Remove One Element to Make the Array Strictly Increasing

September 6, 2020 ยท 4 min ยท 772 words ยท Samir Paul

Remove All Occurrences of a Substring

September 6, 2020 ยท 2 min ยท 386 words ยท Samir Paul

Maximum Alternating Subsequence Sum

September 6, 2020 ยท 4 min ยท 787 words ยท Samir Paul

Design Movie Rental System

September 6, 2020 ยท 5 min ยท 853 words ยท Samir Paul

Maximum Product Difference Between Two Pairs

September 6, 2020 ยท 2 min ยท 364 words ยท Samir Paul

Cyclically Rotating a Grid

September 6, 2020 ยท 7 min ยท 1456 words ยท Samir Paul

Number of Wonderful Substrings

September 6, 2020 ยท 4 min ยท 670 words ยท Samir Paul

Count Ways to Build Rooms in an Ant Colony

September 6, 2020 ยท 2 min ยท 287 words ยท Samir Paul

Leetcodify Friends Recommendations

September 6, 2020 ยท 3 min ยท 611 words ยท Samir Paul

Kth Smallest Subarray Sum

September 6, 2020 ยท 4 min ยท 755 words ยท Samir Paul

Leetcodify Similar Friends

September 6, 2020 ยท 3 min ยท 506 words ยท Samir Paul

Build Array from Permutation

September 6, 2020 ยท 3 min ยท 432 words ยท Samir Paul

Eliminate Maximum Number of Monsters

September 5, 2020 ยท 5 min ยท 867 words ยท Samir Paul

Count Good Numbers

September 5, 2020 ยท 3 min ยท 524 words ยท Samir Paul

Longest Common Subpath

September 5, 2020 ยท 4 min ยท 766 words ยท Samir Paul

Erect the Fence II

September 5, 2020 ยท 1 min ยท 195 words ยท Samir Paul

Count Square Sum Triples

September 5, 2020 ยท 2 min ยท 380 words ยท Samir Paul

Nearest Exit from Entrance in Maze

September 5, 2020 ยท 5 min ยท 954 words ยท Samir Paul

Sum Game

September 5, 2020 ยท 5 min ยท 900 words ยท Samir Paul

Minimum Cost to Reach Destination in Time

September 5, 2020 ยท 2 min ยท 379 words ยท Samir Paul

Concatenation of Array

September 5, 2020 ยท 2 min ยท 381 words ยท Samir Paul

Unique Length-3 Palindromic Subsequences

September 5, 2020 ยท 3 min ยท 515 words ยท Samir Paul

Painting a Grid With Three Different Colors

September 5, 2020 ยท 8 min ยท 1619 words ยท Samir Paul

Merge BSTs to Create Single BST

September 5, 2020 ยท 2 min ยท 366 words ยท Samir Paul

Check if String Is Decomposable Into Value-Equal Substrings

September 5, 2020 ยท 4 min ยท 832 words ยท Samir Paul

Confirmation Rate

September 5, 2020 ยท 3 min ยท 487 words ยท Samir Paul

Maximum Number of Words You Can Type

September 5, 2020 ยท 4 min ยท 777 words ยท Samir Paul

Add Minimum Number of Rungs

September 5, 2020 ยท 4 min ยท 657 words ยท Samir Paul

Maximum Number of Points with Cost

September 5, 2020 ยท 5 min ยท 872 words ยท Samir Paul

Maximum Genetic Difference Query

September 5, 2020 ยท 2 min ยท 357 words ยท Samir Paul

Users That Actively Request Confirmation Messages

September 5, 2020 ยท 3 min ยท 451 words ยท Samir Paul

Longest Common Subsequence Between Sorted Arrays

September 5, 2020 ยท 3 min ยท 581 words ยท Samir Paul

Check if All Characters Have Equal Number of Occurrences

September 5, 2020 ยท 3 min ยท 562 words ยท Samir Paul

The Number of the Smallest Unoccupied Chair

September 5, 2020 ยท 4 min ยท 688 words ยท Samir Paul

Describe the Painting

September 5, 2020 ยท 4 min ยท 788 words ยท Samir Paul

Number of Visible People in a Queue

September 5, 2020 ยท 4 min ยท 723 words ยท Samir Paul

Sum of Digits of String After Convert

September 4, 2020 ยท 4 min ยท 802 words ยท Samir Paul

Largest Number After Mutating Substring

September 4, 2020 ยท 3 min ยท 519 words ยท Samir Paul

Maximum Compatibility Score Sum

September 4, 2020 ยท 5 min ยท 913 words ยท Samir Paul

Delete Duplicate Folders in System

September 4, 2020 ยท 3 min ยท 428 words ยท Samir Paul

Strong Friendship

September 4, 2020 ยท 2 min ยท 358 words ยท Samir Paul

Maximum of Minimum Values in All Subarrays

September 4, 2020 ยท 5 min ยท 1041 words ยท Samir Paul

All the Pairs With the Maximum Number of Common Followers

September 4, 2020 ยท 2 min ยท 397 words ยท Samir Paul

Three Divisors

September 4, 2020 ยท 3 min ยท 623 words ยท Samir Paul

Maximum Number of Weeks for Which You Can Work

September 4, 2020 ยท 3 min ยท 633 words ยท Samir Paul

Minimum Garden Perimeter to Collect Enough Apples

September 4, 2020 ยท 4 min ยท 761 words ยท Samir Paul

Count Number of Special Subsequences

September 4, 2020 ยท 8 min ยท 1501 words ยท Samir Paul

Minimum Time For K Virus Variants to Spread

September 4, 2020 ยท 2 min ยท 269 words ยท Samir Paul

Delete Characters to Make Fancy String

September 4, 2020 ยท 3 min ยท 451 words ยท Samir Paul

Check if Move is Legal

September 4, 2020 ยท 5 min ยท 857 words ยท Samir Paul

Minimum Total Space Wasted With K Resizing Operations

September 4, 2020 ยท 5 min ยท 951 words ยท Samir Paul

Maximum Product of the Length of Two Palindromic Substrings

September 4, 2020 ยท 1 min ยท 190 words ยท Samir Paul

Check If String Is a Prefix of Array

September 4, 2020 ยท 3 min ยท 557 words ยท Samir Paul

Remove Stones to Minimize the Total

September 4, 2020 ยท 4 min ยท 759 words ยท Samir Paul

Minimum Number of Swaps to Make the String Balanced

September 4, 2020 ยท 4 min ยท 642 words ยท Samir Paul

Find the Longest Valid Obstacle Course at Each Position

September 4, 2020 ยท 7 min ยท 1308 words ยท Samir Paul

Employees With Missing Information

September 4, 2020 ยท 2 min ยท 346 words ยท Samir Paul

Binary Searchable Numbers in an Unsorted Array

September 4, 2020 ยท 5 min ยท 856 words ยท Samir Paul

Number of Strings That Appear as Substrings in Word

September 4, 2020 ยท 2 min ยท 385 words ยท Samir Paul

Array With Elements Not Equal to Average of Neighbors

September 4, 2020 ยท 3 min ยท 544 words ยท Samir Paul

Minimum Non-Zero Product of the Array Elements

September 3, 2020 ยท 4 min ยท 809 words ยท Samir Paul

Last Day Where You Can Still Cross

September 3, 2020 ยท 7 min ยท 1289 words ยท Samir Paul

Find if Path Exists in Graph

September 3, 2020 ยท 6 min ยท 1082 words ยท Samir Paul

First and Last Call On the Same Day

September 3, 2020 ยท 2 min ยท 405 words ยท Samir Paul

Count Nodes Equal to Sum of Descendants

September 3, 2020 ยท 4 min ยท 658 words ยท Samir Paul

Minimum Time to Type Word Using Special Typewriter

September 3, 2020 ยท 3 min ยท 607 words ยท Samir Paul

Maximum Matrix Sum

September 3, 2020 ยท 3 min ยท 609 words ยท Samir Paul

Number of Ways to Arrive at Destination

September 3, 2020 ยท 6 min ยท 1144 words ยท Samir Paul

Number of Ways to Separate Numbers

September 3, 2020 ยท 5 min ยท 997 words ยท Samir Paul

Employees Whose Manager Left the Company

September 3, 2020 ยท 3 min ยท 433 words ยท Samir Paul

Find Greatest Common Divisor of Array

September 3, 2020 ยท 2 min ยท 394 words ยท Samir Paul

Find Unique Binary String

September 3, 2020 ยท 3 min ยท 497 words ยท Samir Paul

Minimize the Difference Between Target and Chosen Elements

September 3, 2020 ยท 4 min ยท 740 words ยท Samir Paul

Find Array Given Subset Sums

September 3, 2020 ยท 9 min ยท 1729 words ยท Samir Paul

Widest Pair of Indices With Equal Range Sum

September 3, 2020 ยท 3 min ยท 551 words ยท Samir Paul

Minimum Difference Between Highest and Lowest of K Scores

September 3, 2020 ยท 3 min ยท 627 words ยท Samir Paul

Find the Kth Largest Integer in the Array

September 3, 2020 ยท 2 min ยท 377 words ยท Samir Paul

Minimum Number of Work Sessions to Finish the Tasks

September 3, 2020 ยท 5 min ยท 989 words ยท Samir Paul

Number of Unique Good Subsequences

September 3, 2020 ยท 4 min ยท 667 words ยท Samir Paul

Find Cutoff Score for Each School

September 3, 2020 ยท 3 min ยท 569 words ยท Samir Paul

Maximum Number of People That Can Be Caught in Tag

September 3, 2020 ยท 4 min ยท 653 words ยท Samir Paul

Count the Number of Experiments

September 3, 2020 ยท 2 min ยท 417 words ยท Samir Paul

Find the Middle Index in Array

September 3, 2020 ยท 3 min ยท 556 words ยท Samir Paul

Find All Groups of Farmland

September 3, 2020 ยท 4 min ยท 811 words ยท Samir Paul

Operations on Tree

September 2, 2020 ยท 9 min ยท 1819 words ยท Samir Paul

The Number of Good Subsets

September 2, 2020 ยท 6 min ยท 1154 words ยท Samir Paul

Count Special Quadruplets

September 2, 2020 ยท 6 min ยท 1179 words ยท Samir Paul

The Number of Weak Characters in the Game

September 2, 2020 ยท 3 min ยท 605 words ยท Samir Paul

First Day Where You Have Been in All the Rooms

September 2, 2020 ยท 4 min ยท 643 words ยท Samir Paul

GCD Sort of an Array

September 2, 2020 ยท 5 min ยท 892 words ยท Samir Paul

Smallest Greater Multiple Made of Two Digits

September 2, 2020 ยท 3 min ยท 606 words ยท Samir Paul

Reverse Prefix of Word

September 2, 2020 ยท 4 min ยท 690 words ยท Samir Paul

Number of Pairs of Interchangeable Rectangles

September 2, 2020 ยท 4 min ยท 765 words ยท Samir Paul

Maximum Product of the Length of Two Palindromic Subsequences

September 2, 2020 ยท 6 min ยท 1182 words ยท Samir Paul

Smallest Missing Genetic Value in Each Subtree

September 2, 2020 ยท 9 min ยท 1723 words ยท Samir Paul

The Number of Seniors and Juniors to Join the Company

September 2, 2020 ยท 3 min ยท 541 words ยท Samir Paul

Subtree Removal Game with Fibonacci Tree

September 2, 2020 ยท 2 min ยท 284 words ยท Samir Paul

Count Number of Pairs With Absolute Difference K

September 2, 2020 ยท 5 min ยท 1029 words ยท Samir Paul

Find Original Array From Doubled Array

September 2, 2020 ยท 5 min ยท 913 words ยท Samir Paul

Maximum Earnings From Taxi

September 2, 2020 ยท 10 min ยท 1921 words ยท Samir Paul

Minimum Number of Operations to Make Array Continuous

September 2, 2020 ยท 6 min ยท 1213 words ยท Samir Paul

The Number of Seniors and Juniors to Join the Company II

September 2, 2020 ยท 3 min ยท 552 words ยท Samir Paul

Final Value of Variable After Performing Operations

September 2, 2020 ยท 4 min ยท 678 words ยท Samir Paul

Sum of Beauty in the Array

September 2, 2020 ยท 5 min ยท 888 words ยท Samir Paul

Detect Squares

September 2, 2020 ยท 6 min ยท 1088 words ยท Samir Paul

Longest Subsequence Repeated k Times

September 2, 2020 ยท 2 min ยท 250 words ยท Samir Paul

Average Height of Buildings in Each Segment

September 2, 2020 ยท 7 min ยท 1295 words ยท Samir Paul

Maximum Difference Between Increasing Elements

September 2, 2020 ยท 4 min ยท 701 words ยท Samir Paul

Grid Game

September 1, 2020 ยท 5 min ยท 904 words ยท Samir Paul

Check if Word Can Be Placed In Crossword

September 1, 2020 ยท 9 min ยท 1760 words ยท Samir Paul

The Score of Students Solving Math Expression

September 1, 2020 ยท 11 min ยท 2216 words ยท Samir Paul

Number of Accounts That Did Not Stream

September 1, 2020 ยท 2 min ยท 350 words ยท Samir Paul

Brightest Position on Street

September 1, 2020 ยท 5 min ยท 1015 words ยท Samir Paul

Convert 1D Array Into 2D Array

September 1, 2020 ยท 4 min ยท 763 words ยท Samir Paul

Number of Pairs of Strings With Concatenation Equal to Target

September 1, 2020 ยท 5 min ยท 902 words ยท Samir Paul

Maximize the Confusion of an Exam

September 1, 2020 ยท 4 min ยท 772 words ยท Samir Paul

Maximum Number of Ways to Partition an Array

September 1, 2020 ยท 6 min ยท 1109 words ยท Samir Paul

Low-Quality Problems

September 1, 2020 ยท 2 min ยท 315 words ยท Samir Paul

Minimum Moves to Convert String

September 1, 2020 ยท 3 min ยท 595 words ยท Samir Paul

Find Missing Observations

September 1, 2020 ยท 6 min ยท 1095 words ยท Samir Paul

Stone Game IX

September 1, 2020 ยท 4 min ยท 765 words ยท Samir Paul

Smallest K-Length Subsequence With Occurrences of a Letter

September 1, 2020 ยท 2 min ยท 292 words ยท Samir Paul

Count Subarrays With More Ones Than Zeros

September 1, 2020 ยท 7 min ยท 1351 words ยท Samir Paul

Two Out of Three

September 1, 2020 ยท 4 min ยท 738 words ยท Samir Paul

Minimum Operations to Make a Uni-Value Grid

September 1, 2020 ยท 4 min ยท 740 words ยท Samir Paul

Stock Price Fluctuation

September 1, 2020 ยท 6 min ยท 1170 words ยท Samir Paul

Partition Array Into Two Arrays to Minimize Sum Difference

September 1, 2020 ยท 6 min ยท 1132 words ยท Samir Paul

Maximum Alternating Subarray Sum

September 1, 2020 ยท 3 min ยท 596 words ยท Samir Paul

Minimum Number of Moves to Seat Everyone

September 1, 2020 ยท 4 min ยท 840 words ยท Samir Paul

Remove Colored Pieces if Both Neighbors are the Same Color

September 1, 2020 ยท 5 min ยท 882 words ยท Samir Paul

The Time When the Network Becomes Idle

September 1, 2020 ยท 7 min ยท 1470 words ยท Samir Paul

Kth Smallest Product of Two Sorted Arrays

September 1, 2020 ยท 2 min ยท 264 words ยท Samir Paul

August  744

Accepted Candidates From the Interviews

August 31, 2020 ยท 3 min ยท 499 words ยท Samir Paul

Check if Numbers Are Ascending in a Sentence

August 31, 2020 ยท 5 min ยท 931 words ยท Samir Paul

Simple Bank System

August 31, 2020 ยท 9 min ยท 1722 words ยท Samir Paul

Count Number of Maximum Bitwise-OR Subsets

August 31, 2020 ยท 8 min ยท 1600 words ยท Samir Paul

Second Minimum Time to Reach Destination

August 31, 2020 ยท 5 min ยท 874 words ยท Samir Paul

Sort Linked List Already Sorted Using Absolute Values

August 31, 2020 ยท 3 min ยท 599 words ยท Samir Paul

Number of Valid Words in a Sentence

August 31, 2020 ยท 4 min ยท 688 words ยท Samir Paul

Next Greater Numerically Balanced Number

August 31, 2020 ยท 4 min ยท 687 words ยท Samir Paul

Count Nodes With the Highest Score

August 31, 2020 ยท 7 min ยท 1466 words ยท Samir Paul

Parallel Courses III

August 31, 2020 ยท 6 min ยท 1137 words ยท Samir Paul

The Category of Each Member in the Store

August 31, 2020 ยท 4 min ยท 708 words ยท Samir Paul

Minimum Cost to Separate Sentence Into Rows

August 31, 2020 ยท 6 min ยท 1094 words ยท Samir Paul

Kth Distinct String in an Array

August 31, 2020 ยท 3 min ยท 436 words ยท Samir Paul

Two Best Non-Overlapping Events

August 31, 2020 ยท 4 min ยท 689 words ยท Samir Paul

Plates Between Candles

August 31, 2020 ยท 5 min ยท 915 words ยท Samir Paul

Number of Valid Move Combinations On Chessboard

August 31, 2020 ยท 2 min ยท 421 words ยท Samir Paul

Smallest Index With Equal Value

August 31, 2020 ยท 2 min ยท 366 words ยท Samir Paul

Find the Minimum and Maximum Number of Nodes Between Critical Points

August 31, 2020 ยท 6 min ยท 1184 words ยท Samir Paul

Minimum Operations to Convert Number

August 31, 2020 ยท 12 min ยท 2423 words ยท Samir Paul

Check if an Original String Exists Given Two Encoded Strings

August 31, 2020 ยท 4 min ยท 663 words ยท Samir Paul

Number of Spaces Cleaning Robot Cleaned

August 31, 2020 ยท 7 min ยท 1396 words ยท Samir Paul

Count Vowel Substrings of a String

August 31, 2020 ยท 4 min ยท 652 words ยท Samir Paul

Vowels of All Substrings

August 31, 2020 ยท 3 min ยท 528 words ยท Samir Paul

Minimized Maximum of Products Distributed to Any Store

August 31, 2020 ยท 4 min ยท 736 words ยท Samir Paul

Maximum Path Quality of a Graph

August 30, 2020 ยท 3 min ยท 584 words ยท Samir Paul

Account Balance

August 30, 2020 ยท 2 min ยท 374 words ยท Samir Paul

Number of Equal Count Substrings

August 30, 2020 ยท 5 min ยท 988 words ยท Samir Paul

Check Whether Two Strings are Almost Equivalent

August 30, 2020 ยท 5 min ยท 976 words ยท Samir Paul

Walking Robot Simulation II

August 30, 2020 ยท 2 min ยท 413 words ยท Samir Paul

Most Beautiful Item for Each Query

August 30, 2020 ยท 4 min ยท 729 words ยท Samir Paul

Maximum Number of Tasks You Can Assign

August 30, 2020 ยท 6 min ยท 1101 words ยท Samir Paul

The Winner University

August 30, 2020 ยท 3 min ยท 479 words ยท Samir Paul

Time Needed to Buy Tickets

August 30, 2020 ยท 3 min ยท 638 words ยท Samir Paul

Reverse Nodes in Even Length Groups

August 30, 2020 ยท 5 min ยท 986 words ยท Samir Paul

Decode the Slanted Ciphertext

August 30, 2020 ยท 4 min ยท 683 words ยท Samir Paul

Process Restricted Friend Requests

August 30, 2020 ยท 5 min ยท 1030 words ยท Samir Paul

Paths in Maze That Lead to Same Room

August 30, 2020 ยท 4 min ยท 757 words ยท Samir Paul

Two Furthest Houses With Different Colors

August 30, 2020 ยท 4 min ยท 785 words ยท Samir Paul

Watering Plants

August 30, 2020 ยท 5 min ยท 969 words ยท Samir Paul

Range Frequency Queries

August 30, 2020 ยท 4 min ยท 688 words ยท Samir Paul

Sum of k-Mirror Numbers

August 30, 2020 ยท 3 min ยท 444 words ยท Samir Paul

The Number of Rich Customers

August 30, 2020 ยท 2 min ยท 219 words ยท Samir Paul

Substrings That Begin and End With the Same Letter

August 30, 2020 ยท 2 min ยท 389 words ยท Samir Paul

Drop Type 1 Orders for Customers With Type 0 Orders

August 30, 2020 ยท 3 min ยท 437 words ยท Samir Paul

Count Common Words With One Occurrence

August 30, 2020 ยท 4 min ยท 657 words ยท Samir Paul

Minimum Number of Food Buckets to Feed the Hamsters

August 30, 2020 ยท 3 min ยท 583 words ยท Samir Paul

Minimum Cost Homecoming of a Robot in a Grid

August 30, 2020 ยท 4 min ยท 815 words ยท Samir Paul

Count Fertile Pyramids in a Land

August 30, 2020 ยท 6 min ยท 1246 words ยท Samir Paul

Find Target Indices After Sorting Array

August 29, 2020 ยท 2 min ยท 383 words ยท Samir Paul

K Radius Subarray Averages

August 29, 2020 ยท 6 min ยท 1232 words ยท Samir Paul

Removing Minimum and Maximum From Array

August 29, 2020 ยท 4 min ยท 710 words ยท Samir Paul

Find All People With Secret

August 29, 2020 ยท 7 min ยท 1445 words ยท Samir Paul

Minimum Cost to Reach City With Discounts

August 29, 2020 ยท 4 min ยท 823 words ยท Samir Paul

Finding 3-Digit Even Numbers

August 29, 2020 ยท 4 min ยท 810 words ยท Samir Paul

Delete the Middle Node of a Linked List

August 29, 2020 ยท 4 min ยท 721 words ยท Samir Paul

Step-By-Step Directions From a Binary Tree Node to Another

August 29, 2020 ยท 5 min ยท 900 words ยท Samir Paul

Valid Arrangement of Pairs

August 29, 2020 ยท 1 min ยท 212 words ยท Samir Paul

Subsequence of Size K With the Largest Even Sum

August 29, 2020 ยท 4 min ยท 831 words ยท Samir Paul

Find Subsequence of Length K With the Largest Sum

August 29, 2020 ยท 3 min ยท 447 words ยท Samir Paul

Find Good Days to Rob the Bank

August 29, 2020 ยท 6 min ยท 1147 words ยท Samir Paul

Detonate the Maximum Bombs

August 29, 2020 ยท 5 min ยท 1034 words ยท Samir Paul

Sequentially Ordinal Rank Tracker

August 29, 2020 ยท 3 min ยท 556 words ยท Samir Paul

Rings and Rods

August 29, 2020 ยท 6 min ยท 1140 words ยท Samir Paul

Sum of Subarray Ranges

August 29, 2020 ยท 7 min ยท 1432 words ยท Samir Paul

Watering Plants II

August 29, 2020 ยท 5 min ยท 1006 words ยท Samir Paul

Maximum Fruits Harvested After at Most K Steps

August 29, 2020 ยท 4 min ยท 797 words ยท Samir Paul

Number of Unique Flavors After Sharing K Candies

August 29, 2020 ยท 5 min ยท 910 words ยท Samir Paul

Find First Palindromic String in the Array

August 29, 2020 ยท 3 min ยท 601 words ยท Samir Paul

Adding Spaces to a String

August 29, 2020 ยท 3 min ยท 590 words ยท Samir Paul

Number of Smooth Descent Periods of a Stock

August 29, 2020 ยท 3 min ยท 594 words ยท Samir Paul

Minimum Operations to Make the Array K-Increasing

August 29, 2020 ยท 5 min ยท 894 words ยท Samir Paul

The Airport With the Most Traffic

August 29, 2020 ยท 3 min ยท 441 words ยท Samir Paul

Elements in Array After Removing and Replacing Elements

August 28, 2020 ยท 4 min ยท 739 words ยท Samir Paul

Maximum Number of Words Found in Sentences

August 28, 2020 ยท 3 min ยท 597 words ยท Samir Paul

Find All Possible Recipes from Given Supplies

August 28, 2020 ยท 4 min ยท 803 words ยท Samir Paul

Check if a Parentheses String Can Be Valid

August 28, 2020 ยท 4 min ยท 757 words ยท Samir Paul

Abbreviating the Product of a Range

August 28, 2020 ยท 7 min ยท 1332 words ยท Samir Paul

Build the Equation

August 28, 2020 ยท 2 min ยท 418 words ยท Samir Paul

A Number After a Double Reversal

August 28, 2020 ยท 2 min ยท 237 words ยท Samir Paul

Execution of All Suffix Instructions Staying in a Grid

August 28, 2020 ยท 7 min ยท 1384 words ยท Samir Paul

Intervals Between Identical Elements

August 28, 2020 ยท 4 min ยท 803 words ยท Samir Paul

Recover the Original Array

August 28, 2020 ยท 5 min ยท 983 words ยท Samir Paul

Minimum Operations to Remove Adjacent Ones in Matrix

August 28, 2020 ยท 7 min ยท 1281 words ยท Samir Paul

Check if All A’s Appears Before All B’s

August 28, 2020 ยท 2 min ยท 224 words ยท Samir Paul

Number of Laser Beams in a Bank

August 28, 2020 ยท 4 min ยท 761 words ยท Samir Paul

Destroying Asteroids

August 28, 2020 ยท 3 min ยท 490 words ยท Samir Paul

Maximum Employees to Be Invited to a Meeting

August 28, 2020 ยท 9 min ยท 1820 words ยท Samir Paul

Remove All Ones With Row and Column Flips

August 28, 2020 ยท 3 min ยท 456 words ยท Samir Paul

Capitalize the Title

August 28, 2020 ยท 3 min ยท 532 words ยท Samir Paul

Maximum Twin Sum of a Linked List

August 28, 2020 ยท 9 min ยท 1810 words ยท Samir Paul

Longest Palindrome by Concatenating Two Letter Words

August 28, 2020 ยท 3 min ยท 605 words ยท Samir Paul

Stamping the Grid

August 28, 2020 ยท 12 min ยท 2440 words ยท Samir Paul

Check if Every Row and Column Contains All Numbers

August 28, 2020 ยท 4 min ยท 665 words ยท Samir Paul

Minimum Swaps to Group All 1’s Together II

August 28, 2020 ยท 4 min ยท 770 words ยท Samir Paul

Count Words Obtained After Adding a Letter

August 28, 2020 ยท 5 min ยท 859 words ยท Samir Paul

Earliest Possible Day of Full Bloom

August 28, 2020 ยท 5 min ยท 873 words ยท Samir Paul

Pour Water Between Buckets to Make Water Levels Equal

August 27, 2020 ยท 5 min ยท 898 words ยท Samir Paul

Divide a String Into Groups of Size k

August 27, 2020 ยท 3 min ยท 548 words ยท Samir Paul

Minimum Moves to Reach Target Score

August 27, 2020 ยท 5 min ยท 1017 words ยท Samir Paul

Solving Questions With Brainpower

August 27, 2020 ยท 6 min ยท 1073 words ยท Samir Paul

Maximum Running Time of N Computers

August 27, 2020 ยท 6 min ยท 1077 words ยท Samir Paul

The Number of Passengers in Each Bus I

August 27, 2020 ยท 2 min ยท 398 words ยท Samir Paul

Choose Numbers From Two Arrays in Range

August 27, 2020 ยท 6 min ยท 1236 words ยท Samir Paul

Minimum Cost of Buying Candies With Discount

August 27, 2020 ยท 3 min ยท 606 words ยท Samir Paul

Count the Hidden Sequences

August 27, 2020 ยท 3 min ยท 548 words ยท Samir Paul

K Highest Ranked Items Within a Price Range

August 27, 2020 ยท 7 min ยท 1487 words ยท Samir Paul

Number of Ways to Divide a Long Corridor

August 27, 2020 ยท 5 min ยท 954 words ยท Samir Paul

Count Elements With Strictly Smaller and Greater Elements

August 27, 2020 ยท 3 min ยท 482 words ยท Samir Paul

Rearrange Array Elements by Sign

August 27, 2020 ยท 3 min ยท 525 words ยท Samir Paul

Find All Lonely Numbers in the Array

August 27, 2020 ยท 3 min ยท 551 words ยท Samir Paul

Maximum Good People Based on Statements

August 27, 2020 ยท 6 min ยท 1241 words ยท Samir Paul

Minimum Number of Lines to Cover Points

August 27, 2020 ยท 5 min ยท 1055 words ยท Samir Paul

The Number of Passengers in Each Bus II

August 27, 2020 ยท 3 min ยท 536 words ยท Samir Paul

Keep Multiplying Found Values by Two

August 27, 2020 ยท 2 min ยท 381 words ยท Samir Paul

All Divisions With the Highest Score of a Binary Array

August 27, 2020 ยท 5 min ยท 963 words ยท Samir Paul

Find Substring With Given Hash Value

August 27, 2020 ยท 3 min ยท 562 words ยท Samir Paul

Groups of Strings

August 27, 2020 ยท 7 min ยท 1340 words ยท Samir Paul

Amount of New Area Painted Each Day

August 27, 2020 ยท 8 min ยท 1562 words ยท Samir Paul

Order Two Columns Independently

August 27, 2020 ยท 1 min ยท 191 words ยท Samir Paul

Minimum Sum of Four Digit Number After Splitting Digits

August 27, 2020 ยท 3 min ยท 557 words ยท Samir Paul

Partition Array According to Given Pivot

August 26, 2020 ยท 3 min ยท 623 words ยท Samir Paul

Minimum Cost to Set Cooking Time

August 26, 2020 ยท 6 min ยท 1177 words ยท Samir Paul

Minimum Difference in Sums After Removal of Elements

August 26, 2020 ยท 7 min ยท 1293 words ยท Samir Paul

Sort Even and Odd Indices Independently

August 26, 2020 ยท 4 min ยท 643 words ยท Samir Paul

Smallest Value of the Rearranged Number

August 26, 2020 ยท 4 min ยท 751 words ยท Samir Paul

Design Bitset

August 26, 2020 ยท 7 min ยท 1279 words ยท Samir Paul

Minimum Time to Remove All Cars Containing Illegal Goods

August 26, 2020 ยท 5 min ยท 930 words ยท Samir Paul

Unique Substrings With Equal Digit Frequency

August 26, 2020 ยท 3 min ยท 559 words ยท Samir Paul

Count Operations to Obtain Zero

August 26, 2020 ยท 3 min ยท 518 words ยท Samir Paul

Minimum Operations to Make the Array Alternating

August 26, 2020 ยท 5 min ยท 921 words ยท Samir Paul

Removing Minimum Number of Magic Beans

August 26, 2020 ยท 4 min ยท 731 words ยท Samir Paul

Maximum AND Sum of Array

August 26, 2020 ยท 5 min ยท 861 words ยท Samir Paul

Longest Winning Streak

August 26, 2020 ยท 2 min ยท 408 words ยท Samir Paul

Remove All Ones With Row and Column Flips II

August 26, 2020 ยท 5 min ยท 992 words ยท Samir Paul

The Change in Global Rankings

August 26, 2020 ยท 3 min ยท 618 words ยท Samir Paul

Count Equal and Divisible Pairs in an Array

August 26, 2020 ยท 4 min ยท 660 words ยท Samir Paul

Find Three Consecutive Integers That Sum to a Given Number

August 26, 2020 ยท 2 min ยท 312 words ยท Samir Paul

Maximum Split of Positive Even Integers

August 26, 2020 ยท 3 min ยท 622 words ยท Samir Paul

Count Good Triplets in an Array

August 26, 2020 ยท 10 min ยท 2045 words ยท Samir Paul

Count Integers With Even Digit Sum

August 26, 2020 ยท 4 min ยท 776 words ยท Samir Paul

Merge Nodes in Between Zeros

August 26, 2020 ยท 5 min ยท 1062 words ยท Samir Paul

Construct String With Repeat Limit

August 26, 2020 ยท 6 min ยท 1085 words ยท Samir Paul

Count Array Pairs Divisible by K

August 26, 2020 ยท 1 min ยท 162 words ยท Samir Paul

Number of Ways to Build Sturdy Brick Wall

August 26, 2020 ยท 7 min ยท 1458 words ยท Samir Paul

Counting Words With a Given Prefix

August 25, 2020 ยท 5 min ยท 948 words ยท Samir Paul

Minimum Number of Steps to Make Two Strings Anagram II

August 25, 2020 ยท 3 min ยท 601 words ยท Samir Paul

Minimum Time to Complete Trips

August 25, 2020 ยท 3 min ยท 595 words ยท Samir Paul

Minimum Time to Finish the Race

August 25, 2020 ยท 6 min ยท 1081 words ยท Samir Paul

Number of Ways to Build House of Cards

August 25, 2020 ยท 4 min ยท 744 words ยท Samir Paul

Most Frequent Number Following Key In an Array

August 25, 2020 ยท 4 min ยท 682 words ยท Samir Paul

Sort the Jumbled Numbers

August 25, 2020 ยท 4 min ยท 846 words ยท Samir Paul

All Ancestors of a Node in a Directed Acyclic Graph

August 25, 2020 ยท 5 min ยท 907 words ยท Samir Paul

Minimum Number of Moves to Make Palindrome

August 25, 2020 ยท 4 min ยท 666 words ยท Samir Paul

Cells in a Range on an Excel Sheet

August 25, 2020 ยท 3 min ยท 452 words ยท Samir Paul

Append K Integers With Minimal Sum

August 25, 2020 ยท 3 min ยท 628 words ยท Samir Paul

Create Binary Tree From Descriptions

August 25, 2020 ยท 6 min ยท 1258 words ยท Samir Paul

Replace Non-Coprime Numbers in Array

August 25, 2020 ยท 2 min ยท 339 words ยท Samir Paul

Number of Single Divisor Triplets

August 25, 2020 ยท 6 min ยท 1069 words ยท Samir Paul

Finding the Topic of Each Post

August 25, 2020 ยท 3 min ยท 586 words ยท Samir Paul

Find All K-Distant Indices in an Array

August 25, 2020 ยท 9 min ยท 1851 words ยท Samir Paul

Count Artifacts That Can Be Extracted

August 25, 2020 ยท 6 min ยท 1115 words ยท Samir Paul

Maximize the Topmost Element After K Moves

August 25, 2020 ยท 3 min ยท 639 words ยท Samir Paul

Minimum Weighted Subgraph With the Required Paths

August 25, 2020 ยท 4 min ยท 755 words ยท Samir Paul

Distance to a Cycle in Undirected Graph

August 25, 2020 ยท 7 min ยท 1295 words ยท Samir Paul

The Number of Users That Are Eligible for Discount

August 25, 2020 ยท 2 min ยท 322 words ยท Samir Paul

Divide Array Into Equal Pairs

August 25, 2020 ยท 2 min ยท 336 words ยท Samir Paul

Maximize Number of Subsequences in a String

August 25, 2020 ยท 3 min ยท 515 words ยท Samir Paul

Minimum Operations to Halve Array Sum

August 25, 2020 ยท 5 min ยท 887 words ยท Samir Paul

Minimum White Tiles After Covering With Carpets

August 24, 2020 ยท 4 min ยท 811 words ยท Samir Paul

Count Hills and Valleys in an Array

August 24, 2020 ยท 5 min ยท 1049 words ยท Samir Paul

Count Collisions on a Road

August 24, 2020 ยท 4 min ยท 677 words ยท Samir Paul

Maximum Points in an Archery Competition

August 24, 2020 ยท 6 min ยท 1222 words ยท Samir Paul

Longest Substring of One Repeating Character

August 24, 2020 ยท 10 min ยท 1966 words ยท Samir Paul

Minimum Health to Beat Game

August 24, 2020 ยท 4 min ยท 643 words ยท Samir Paul

Find the Difference of Two Arrays

August 24, 2020 ยท 5 min ยท 887 words ยท Samir Paul

Minimum Deletions to Make Array Beautiful

August 24, 2020 ยท 6 min ยท 1215 words ยท Samir Paul

Find Palindrome With Fixed Length

August 24, 2020 ยท 4 min ยท 758 words ยท Samir Paul

Maximum Value of K Coins From Piles

August 24, 2020 ยท 4 min ยท 691 words ยท Samir Paul

Maximum Sum Score of Array

August 24, 2020 ยท 4 min ยท 645 words ยท Samir Paul

Minimum Bit Flips to Convert Number

August 24, 2020 ยท 3 min ยท 624 words ยท Samir Paul

Find Triangular Sum of an Array

August 24, 2020 ยท 2 min ยท 398 words ยท Samir Paul

Number of Ways to Select Buildings

August 24, 2020 ยท 3 min ยท 594 words ยท Samir Paul

Sum of Scores of Built Strings

August 24, 2020 ยท 2 min ยท 303 words ยท Samir Paul

Minimum Number of Operations to Convert Time

August 24, 2020 ยท 3 min ยท 496 words ยท Samir Paul

Find Players With Zero or One Losses

August 24, 2020 ยท 4 min ยท 819 words ยท Samir Paul

Maximum Candies Allocated to K Children

August 24, 2020 ยท 3 min ยท 563 words ยท Samir Paul

Encrypt and Decrypt Strings

August 24, 2020 ยท 5 min ยท 987 words ยท Samir Paul

Users With Two Purchases Within Seven Days

August 24, 2020 ยท 2 min ยท 273 words ยท Samir Paul

Check if an Array Is Consecutive

August 24, 2020 ยท 3 min ยท 441 words ยท Samir Paul

The Users That Are Eligible for Discount

August 24, 2020 ยท 2 min ยท 350 words ยท Samir Paul

Largest Number After Digit Swaps by Parity

August 24, 2020 ยท 4 min ยท 721 words ยท Samir Paul

Minimize Result by Adding Parentheses to Expression

August 24, 2020 ยท 4 min ยท 665 words ยท Samir Paul

Maximum Product After K Increments

August 23, 2020 ยท 3 min ยท 615 words ยท Samir Paul

Maximum Total Beauty of the Gardens

August 23, 2020 ยท 8 min ยท 1540 words ยท Samir Paul

Add Two Integers

August 23, 2020 ยท 3 min ยท 510 words ยท Samir Paul

Root Equals Sum of Children

August 23, 2020 ยท 4 min ยท 715 words ยท Samir Paul

Count Positions on Street With Required Brightness

August 23, 2020 ยท 4 min ยท 792 words ยท Samir Paul

Number of Times a Driver Was a Passenger

August 23, 2020 ยท 2 min ยท 265 words ยท Samir Paul

Find Closest Number to Zero

August 23, 2020 ยท 3 min ยท 466 words ยท Samir Paul

Number of Ways to Buy Pens and Pencils

August 23, 2020 ยท 3 min ยท 546 words ยท Samir Paul

Design an ATM Machine

August 23, 2020 ยท 5 min ยท 1029 words ยท Samir Paul

Maximum Score of a Node Sequence

August 23, 2020 ยท 3 min ยท 551 words ยท Samir Paul

Calculate Digit Sum of a String

August 23, 2020 ยท 4 min ยท 798 words ยท Samir Paul

Minimum Rounds to Complete All Tasks

August 23, 2020 ยท 3 min ยท 565 words ยท Samir Paul

Maximum Trailing Zeros in a Cornered Path

August 23, 2020 ยท 8 min ยท 1634 words ยท Samir Paul

Longest Path With Different Adjacent Characters

August 23, 2020 ยท 4 min ยท 788 words ยท Samir Paul

Maximum Cost of Trip With K Highways

August 23, 2020 ยท 6 min ยท 1256 words ยท Samir Paul

Intersection of Multiple Arrays

August 23, 2020 ยท 4 min ยท 805 words ยท Samir Paul

Count Lattice Points Inside a Circle

August 23, 2020 ยท 4 min ยท 774 words ยท Samir Paul

Count Number of Rectangles Containing Each Point

August 23, 2020 ยท 5 min ยท 959 words ยท Samir Paul

Number of Flowers in Full Bloom

August 23, 2020 ยท 8 min ยท 1512 words ยท Samir Paul

Dynamic Pivoting of a Table

August 23, 2020 ยท 3 min ยท 477 words ยท Samir Paul

Dynamic Unpivoting of a Table

August 23, 2020 ยท 3 min ยท 493 words ยท Samir Paul

Design Video Sharing Platform

August 23, 2020 ยท 4 min ยท 764 words ยท Samir Paul

Count Prefixes of a Given String

August 23, 2020 ยท 2 min ยท 400 words ยท Samir Paul

Minimum Average Difference

August 23, 2020 ยท 6 min ยท 1110 words ยท Samir Paul

Count Unguarded Cells in the Grid

August 22, 2020 ยท 6 min ยท 1271 words ยท Samir Paul

Escape the Spreading Fire

August 22, 2020 ยท 13 min ยท 2705 words ยท Samir Paul

Remove Digit From Number to Maximize Result

August 22, 2020 ยท 5 min ยท 884 words ยท Samir Paul

Minimum Consecutive Cards to Pick Up

August 22, 2020 ยท 3 min ยท 495 words ยท Samir Paul

K Divisible Elements Subarrays

August 22, 2020 ยท 4 min ยท 743 words ยท Samir Paul

Total Appeal of A String

August 22, 2020 ยท 5 min ยท 972 words ยท Samir Paul

Make Array Non-decreasing or Non-increasing

August 22, 2020 ยท 4 min ยท 724 words ยท Samir Paul

Largest 3-Same-Digit Number in String

August 22, 2020 ยท 3 min ยท 461 words ยท Samir Paul

Count Nodes Equal to Average of Subtree

August 22, 2020 ยท 4 min ยท 789 words ยท Samir Paul

Count Number of Texts

August 22, 2020 ยท 4 min ยท 748 words ยท Samir Paul

Check if There Is a Valid Parentheses String Path

August 22, 2020 ยท 5 min ยท 875 words ยท Samir Paul

Minimum Number of Keypresses

August 22, 2020 ยท 3 min ยท 547 words ยท Samir Paul

Find the K-Beauty of a Number

August 22, 2020 ยท 3 min ยท 545 words ยท Samir Paul

Number of Ways to Split Array

August 22, 2020 ยท 3 min ยท 589 words ยท Samir Paul

Maximum White Tiles Covered by a Carpet

August 22, 2020 ยท 3 min ยท 639 words ยท Samir Paul

Substring With Largest Variance

August 22, 2020 ยท 3 min ยท 614 words ยท Samir Paul

Find Resultant Array After Removing Anagrams

August 22, 2020 ยท 3 min ยท 471 words ยท Samir Paul

Maximum Consecutive Floors Without Special Floors

August 22, 2020 ยท 2 min ยท 394 words ยท Samir Paul

Largest Combination With Bitwise AND Greater Than Zero

August 22, 2020 ยท 2 min ยท 417 words ยท Samir Paul

Count Integers in Intervals

August 22, 2020 ยท 12 min ยท 2374 words ยท Samir Paul

Closest Node to Path in Tree

August 22, 2020 ยท 2 min ยท 372 words ยท Samir Paul

Percentage of Letter in String

August 22, 2020 ยท 2 min ยท 374 words ยท Samir Paul

Maximum Bags With Full Capacity of Rocks

August 22, 2020 ยท 4 min ยท 743 words ยท Samir Paul

Minimum Lines to Represent a Line Chart

August 22, 2020 ยท 4 min ยท 678 words ยท Samir Paul

Sum of Total Strength of Wizards

August 21, 2020 ยท 7 min ยท 1464 words ยท Samir Paul

Number of People That Can Be Seen in a Grid

August 21, 2020 ยท 6 min ยท 1139 words ยท Samir Paul

Check if Number Has Equal Digit Count and Digit Value

August 21, 2020 ยท 3 min ยท 606 words ยท Samir Paul

Sender With Largest Word Count

August 21, 2020 ยท 3 min ยท 637 words ยท Samir Paul

Maximum Total Importance of Roads

August 21, 2020 ยท 3 min ยท 622 words ยท Samir Paul

Booking Concert Tickets in Groups

August 21, 2020 ยท 13 min ยท 2747 words ยท Samir Paul

Rearrange Characters to Make Target String

August 21, 2020 ยท 4 min ยท 838 words ยท Samir Paul

Apply Discount to Prices

August 21, 2020 ยท 4 min ยท 733 words ยท Samir Paul

Steps to Make Array Non-decreasing

August 21, 2020 ยท 3 min ยท 474 words ยท Samir Paul

Minimum Obstacle Removal to Reach Corner

August 21, 2020 ยท 5 min ยท 989 words ยท Samir Paul

Maximum Profit From Trading Stocks

August 21, 2020 ยท 5 min ยท 991 words ยท Samir Paul

Products With Three or More Orders in Two Consecutive Years

August 21, 2020 ยท 2 min ยท 379 words ยท Samir Paul

Min Max Game

August 21, 2020 ยท 4 min ยท 735 words ยท Samir Paul

Partition Array Such That Maximum Difference Is K

August 21, 2020 ยท 3 min ยท 639 words ยท Samir Paul

Replace Elements in an Array

August 21, 2020 ยท 3 min ยท 507 words ยท Samir Paul

Design a Text Editor

August 21, 2020 ยท 6 min ยท 1160 words ยท Samir Paul

Jump Game VIII

August 21, 2020 ยท 5 min ยท 1055 words ยท Samir Paul

Tasks Count in the Weekend

August 21, 2020 ยท 2 min ยท 270 words ยท Samir Paul

Strong Password Checker II

August 21, 2020 ยท 5 min ยท 933 words ยท Samir Paul

Successful Pairs of Spells and Potions

August 21, 2020 ยท 4 min ยท 685 words ยท Samir Paul

Match Substring After Replacement

August 21, 2020 ยท 6 min ยท 1247 words ยท Samir Paul

Count Subarrays With Score Less Than K

August 21, 2020 ยท 6 min ยท 1176 words ยท Samir Paul

Calculate Amount Paid in Taxes

August 21, 2020 ยท 4 min ยท 732 words ยท Samir Paul

Minimum Path Cost in a Grid

August 21, 2020 ยท 6 min ยท 1128 words ยท Samir Paul

Fair Distribution of Cookies

August 20, 2020 ยท 5 min ยท 1055 words ยท Samir Paul

Naming a Company

August 20, 2020 ยท 6 min ยท 1132 words ยท Samir Paul

Check for Contradictions in Equations

August 20, 2020 ยท 7 min ยท 1294 words ยท Samir Paul

Arrange Table by Gender

August 20, 2020 ยท 2 min ยท 399 words ยท Samir Paul

Greatest English Letter in Upper and Lower Case

August 20, 2020 ยท 6 min ยท 1157 words ยท Samir Paul

Sum of Numbers With Units Digit K

August 20, 2020 ยท 5 min ยท 860 words ยท Samir Paul

Longest Binary Subsequence Less Than or Equal to K

August 20, 2020 ยท 4 min ยท 740 words ยท Samir Paul

Selling Pieces of Wood

August 20, 2020 ยท 7 min ยท 1479 words ยท Samir Paul

Minimum Flips in Binary Tree to Get Result

August 20, 2020 ยท 7 min ยท 1450 words ยท Samir Paul

The First Day of the Maximum Recorded Degree in Each City

August 20, 2020 ยท 2 min ยท 342 words ยท Samir Paul

Count Asterisks

August 20, 2020 ยท 4 min ยท 661 words ยท Samir Paul

Count Unreachable Pairs of Nodes in an Undirected Graph

August 20, 2020 ยท 6 min ยท 1085 words ยท Samir Paul

Maximum XOR After Operations

August 20, 2020 ยท 2 min ยท 366 words ยท Samir Paul

Number of Distinct Roll Sequences

August 20, 2020 ยท 6 min ยท 1159 words ยท Samir Paul

Check if Matrix Is X-Matrix

August 20, 2020 ยท 4 min ยท 776 words ยท Samir Paul

Count Number of Ways to Place Houses

August 20, 2020 ยท 4 min ยท 702 words ยท Samir Paul

Maximum Score Of Spliced Array

August 20, 2020 ยท 4 min ยท 721 words ยท Samir Paul

Minimum Score After Removals on a Tree

August 20, 2020 ยท 7 min ยท 1400 words ยท Samir Paul

Find Minimum Time to Finish All Jobs II

August 20, 2020 ยท 3 min ยท 491 words ยท Samir Paul

Product Sales Analysis IV

August 20, 2020 ยท 3 min ยท 434 words ยท Samir Paul

Decode the Message

August 20, 2020 ยท 4 min ยท 790 words ยท Samir Paul

Spiral Matrix IV

August 20, 2020 ยท 6 min ยท 1091 words ยท Samir Paul

Number of People Aware of a Secret

August 20, 2020 ยท 5 min ยท 965 words ยท Samir Paul

Number of Increasing Paths in a Grid

August 20, 2020 ยท 6 min ยท 1254 words ยท Samir Paul

Product Sales Analysis V

August 19, 2020 ยท 2 min ยท 356 words ยท Samir Paul

Valid Palindrome IV

August 19, 2020 ยท 3 min ยท 452 words ยท Samir Paul

Evaluate Boolean Binary Tree

August 19, 2020 ยท 7 min ยท 1455 words ยท Samir Paul

The Latest Time to Catch a Bus

August 19, 2020 ยท 6 min ยท 1127 words ยท Samir Paul

Minimum Sum of Squared Difference

August 19, 2020 ยท 6 min ยท 1142 words ยท Samir Paul

Subarray With Elements Greater Than Varying Threshold

August 19, 2020 ยท 8 min ยท 1586 words ยท Samir Paul

Minimum Amount of Time to Fill Cups

August 19, 2020 ยท 4 min ยท 709 words ยท Samir Paul

Smallest Number in Infinite Set

August 19, 2020 ยท 18 min ยท 3775 words ยท Samir Paul

Move Pieces to Obtain a String

August 19, 2020 ยท 8 min ยท 1581 words ยท Samir Paul

Count the Number of Ideal Arrays

August 19, 2020 ยท 9 min ยท 1855 words ยท Samir Paul

All the Matches of the League

August 19, 2020 ยท 2 min ยท 220 words ยท Samir Paul

Minimum Adjacent Swaps to Make a Valid Array

August 19, 2020 ยท 4 min ยท 726 words ยท Samir Paul

Maximum Number of Pairs in Array

August 19, 2020 ยท 4 min ยท 814 words ยท Samir Paul

Max Sum of a Pair With Equal Sum of Digits

August 19, 2020 ยท 4 min ยท 823 words ยท Samir Paul

Query Kth Smallest Trimmed Number

August 19, 2020 ยท 4 min ยท 694 words ยท Samir Paul

Minimum Deletions to Make Array Divisible

August 19, 2020 ยท 5 min ยท 933 words ยท Samir Paul

Finding the Number of Visible Mountains

August 19, 2020 ยท 4 min ยท 838 words ยท Samir Paul

Compute the Rank as a Percentage

August 19, 2020 ยท 2 min ยท 404 words ยท Samir Paul

Best Poker Hand

August 19, 2020 ยท 5 min ยท 949 words ยท Samir Paul

Number of Zero-Filled Subarrays

August 19, 2020 ยท 2 min ยท 414 words ยท Samir Paul

Design a Number Container System

August 19, 2020 ยท 4 min ยท 785 words ยท Samir Paul

Shortest Impossible Sequence of Rolls

August 19, 2020 ยท 3 min ยท 488 words ยท Samir Paul

First Letter to Appear Twice

August 19, 2020 ยท 5 min ยท 918 words ยท Samir Paul

Equal Row and Column Pairs

August 19, 2020 ยท 5 min ยท 946 words ยท Samir Paul

Design a Food Rating System

August 18, 2020 ยท 4 min ยท 722 words ยท Samir Paul

Number of Excellent Pairs

August 18, 2020 ยท 4 min ยท 671 words ยท Samir Paul

Maximum Number of Books You Can Take

August 18, 2020 ยท 5 min ยท 936 words ยท Samir Paul

Number of Unique Subjects Taught by Each Teacher

August 18, 2020 ยท 2 min ยท 267 words ยท Samir Paul

Make Array Zero by Subtracting Equal Amounts

August 18, 2020 ยท 2 min ยท 424 words ยท Samir Paul

Maximum Number of Groups Entering a Competition

August 18, 2020 ยท 3 min ยท 565 words ยท Samir Paul

Find Closest Node to Given Two Nodes

August 18, 2020 ยท 10 min ยท 1989 words ยท Samir Paul

Longest Cycle in a Graph

August 18, 2020 ยท 4 min ยท 745 words ยท Samir Paul

Minimum Costs Using the Train Line

August 18, 2020 ยท 7 min ยท 1410 words ยท Samir Paul

Generate the Invoice

August 18, 2020 ยท 2 min ยท 402 words ยท Samir Paul

Merge Similar Items

August 18, 2020 ยท 5 min ยท 978 words ยท Samir Paul

Count Number of Bad Pairs

August 18, 2020 ยท 3 min ยท 454 words ยท Samir Paul

Task Scheduler II

August 18, 2020 ยท 3 min ยท 548 words ยท Samir Paul

Minimum Replacements to Sort the Array

August 18, 2020 ยท 4 min ยท 693 words ยท Samir Paul

Number of Arithmetic Triplets

August 18, 2020 ยท 5 min ยท 857 words ยท Samir Paul

Reachable Nodes With Restrictions

August 18, 2020 ยท 7 min ยท 1290 words ยท Samir Paul

Check if There is a Valid Partition For The Array

August 18, 2020 ยท 8 min ยท 1583 words ยท Samir Paul

Longest Ideal Subsequence

August 18, 2020 ยท 4 min ยท 703 words ยท Samir Paul

Minimize Maximum Value in a Grid

August 18, 2020 ยท 4 min ยท 794 words ยท Samir Paul

Calculate the Influence of Each Salesperson

August 18, 2020 ยท 3 min ยท 460 words ยท Samir Paul

Largest Local Values in a Matrix

August 18, 2020 ยท 3 min ยท 621 words ยท Samir Paul

Node With Highest Edge Score

August 18, 2020 ยท 4 min ยท 657 words ยท Samir Paul

Construct Smallest Number From DI String

August 18, 2020 ยท 5 min ยท 1011 words ยท Samir Paul

Count Special Integers

August 18, 2020 ยท 8 min ยท 1627 words ยท Samir Paul

Sort the Olympic Table

August 17, 2020 ยท 2 min ยท 346 words ยท Samir Paul

Choose Edges to Maximize Score in a Tree

August 17, 2020 ยท 4 min ยท 753 words ยท Samir Paul

Minimum Recolors to Get K Consecutive Black Blocks

August 17, 2020 ยท 5 min ยท 892 words ยท Samir Paul

Time Needed to Rearrange a Binary String

August 17, 2020 ยท 4 min ยท 680 words ยท Samir Paul

Shifting Letters II

August 17, 2020 ยท 4 min ยท 669 words ยท Samir Paul

Maximum Segment Sum After Removals

August 17, 2020 ยท 5 min ยท 1026 words ยท Samir Paul

Minimum Hours of Training to Win a Competition

August 17, 2020 ยท 8 min ยท 1630 words ยท Samir Paul

Largest Palindromic Number

August 17, 2020 ยท 4 min ยท 819 words ยท Samir Paul

Amount of Time for Binary Tree to Be Infected

August 17, 2020 ยท 9 min ยท 1819 words ยท Samir Paul

Find the K-Sum of an Array

August 17, 2020 ยท 4 min ยท 751 words ยท Samir Paul

Median of a Row Wise Sorted Matrix

August 17, 2020 ยท 3 min ยท 616 words ยท Samir Paul

Change Null Values in a Table to the Previous Value

August 17, 2020 ยท 3 min ยท 436 words ยท Samir Paul

Longest Subsequence With Limited Sum

August 17, 2020 ยท 7 min ยท 1288 words ยท Samir Paul

Removing Stars From a String

August 17, 2020 ยท 3 min ยท 538 words ยท Samir Paul

Minimum Amount of Time to Collect Garbage

August 17, 2020 ยท 8 min ยท 1667 words ยท Samir Paul

Build a Matrix With Conditions

August 17, 2020 ยท 7 min ยท 1473 words ยท Samir Paul

Count Strictly Increasing Subarrays

August 17, 2020 ยท 4 min ยท 830 words ยท Samir Paul

Employees With Deductions

August 17, 2020 ยท 3 min ยท 536 words ยท Samir Paul

Find Subarrays With Equal Sum

August 17, 2020 ยท 3 min ยท 522 words ยท Samir Paul

Strictly Palindromic Number

August 17, 2020 ยท 2 min ยท 269 words ยท Samir Paul

Maximum Rows Covered by Columns

August 17, 2020 ยท 6 min ยท 1122 words ยท Samir Paul

Maximum Number of Robots Within Budget

August 17, 2020 ยท 4 min ยท 695 words ยท Samir Paul

Check Distances Between Same Letters

August 17, 2020 ยท 4 min ยท 728 words ยท Samir Paul

Number of Ways to Reach a Position After Exactly k Steps

August 17, 2020 ยท 6 min ยท 1166 words ยท Samir Paul

Longest Nice Subarray

August 16, 2020 ยท 4 min ยท 738 words ยท Samir Paul

Meeting Rooms III

August 16, 2020 ยท 7 min ยท 1412 words ยท Samir Paul

Minimum Time to Kill All Monsters

August 16, 2020 ยท 9 min ยท 1727 words ยท Samir Paul

Most Frequent Even Element

August 16, 2020 ยท 4 min ยท 761 words ยท Samir Paul

Optimal Partition of String

August 16, 2020 ยท 4 min ยท 741 words ยท Samir Paul

Divide Intervals Into Minimum Number of Groups

August 16, 2020 ยท 3 min ยท 600 words ยท Samir Paul

Longest Increasing Subsequence II

August 16, 2020 ยท 9 min ยท 1714 words ยท Samir Paul

Design SQL

August 16, 2020 ยท 5 min ยท 923 words ยท Samir Paul

Count Days Spent Together

August 16, 2020 ยท 4 min ยท 755 words ยท Samir Paul

Maximum Matching of Players With Trainers

August 16, 2020 ยท 3 min ยท 549 words ยท Samir Paul

Smallest Subarrays With Maximum Bitwise OR

August 16, 2020 ยท 4 min ยท 827 words ยท Samir Paul

Minimum Money Required Before Transactions

August 16, 2020 ยท 3 min ยท 580 words ยท Samir Paul

Smallest Even Multiple

August 16, 2020 ยท 2 min ยท 306 words ยท Samir Paul

Length of the Longest Alphabetical Continuous Substring

August 16, 2020 ยท 4 min ยท 683 words ยท Samir Paul

Reverse Odd Levels of Binary Tree

August 16, 2020 ยท 7 min ยท 1348 words ยท Samir Paul

Sum of Prefix Scores of Strings

August 16, 2020 ยท 7 min ยท 1293 words ยท Samir Paul

Closest Fair Integer

August 16, 2020 ยท 3 min ยท 605 words ยท Samir Paul

Sort the People

August 16, 2020 ยท 5 min ยท 887 words ยท Samir Paul

Longest Subarray With Maximum Bitwise AND

August 16, 2020 ยท 3 min ยท 514 words ยท Samir Paul

Find All Good Indices

August 16, 2020 ยท 4 min ยท 800 words ยท Samir Paul

Number of Good Paths

August 16, 2020 ยท 6 min ยท 1256 words ยท Samir Paul

Merge Operations to Turn Array Into a Palindrome

August 16, 2020 ยท 4 min ยท 790 words ยท Samir Paul

Remove Letter To Equalize Frequency

August 16, 2020 ยท 4 min ยท 843 words ยท Samir Paul

Longest Uploaded Prefix

August 16, 2020 ยท 4 min ยท 704 words ยท Samir Paul

Bitwise XOR of All Pairings

August 15, 2020 ยท 4 min ยท 672 words ยท Samir Paul