N-Repeated Element in Size 2N Array
N-ary Tree Level Order Traversal
N-ary Tree Postorder Traversal
N-ary Tree Preorder Traversal
Nary Tree Level Order Traversal
Nearest Exit from Entrance in Maze
Next Greater Node In Linked List
Next Greater Numerically Balanced Number
Non-negative Integers without Consecutive Ones
Non-overlapping Intervals
Nonnegative Integers without Consecutive Ones
Number Of Rectangles That Can Form The Largest Square
Number Of Ways To Reconstruct A Tree
Number of Arithmetic Triplets
Number of Burgers with No Waste of Ingredients
Number of Days Between Two Dates
Number of Dice Rolls With Target Sum
Number of Different Integers in a String
Number of Different Subsequences GCDs
Number of Distinct Roll Sequences
Number of Equivalent Domino Pairs
Number of Excellent Pairs
Number of Flowers in Full Bloom
Number of Good Leaf Nodes Pairs
Number of Good Ways to Split a String
Number of Increasing Paths in a Grid
Number of Laser Beams in a Bank
Number of Lines To Write String
Number of Longest Increasing Subsequence
Number of Matching Subsequences
Number of Music Playlists
Number of Nodes in the Sub-Tree With the Same Label
Number of Nodes in the SubTree With the Same Label
Number of Operations to Make Network Connected
Number of Orders in the Backlog
Number of Pairs of Interchangeable Rectangles
Number of Pairs of Strings With Concatenation Equal to Target
Number of Paths with Max Score
Number of People Aware of a Secret
Number of Restricted Paths From First to Last Node
Number of Segments in a String
Number of Sets of K Non-Overlapping Line Segments
Number of Sets of K NonOverlapping Line Segments
Number of Smooth Descent Periods of a Stock
Number of Squareful Arrays
Number of Steps to Reduce a Number in Binary Representation to One
Number of Steps to Reduce a Number to Zero
Number of Strings That Appear as Substrings in Word
Number of Students Doing Homework at a Given Time
Number of Students Unable to Eat Lunch
Number of Sub-arrays With Odd Sum
Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
Number of Subarrays With Odd Sum
Number of Subarrays of Size K and Average Greater than or Equal to Threshold
Number of Subarrays with Bounded Maximum
Number of Submatrices That Sum to Target
Number of Subsequences That Satisfy the Given Sum Condition
Number of Substrings Containing All Three Characters
Number of Substrings With Only 1s
Number of Times Binary String Is Prefix-Aligned
Number of Times Binary String Is PrefixAligned
Number of Unique Good Subsequences
Number of Valid Move Combinations On Chessboard
Number of Valid Words for Each Puzzle
Number of Valid Words in a Sentence
Number of Visible People in a Queue
Number of Ways Where Square of Number Is Equal to Product of Two Numbers
Number of Ways of Cutting a Pizza
Number of Ways to Arrive at Destination
Number of Ways to Buy Pens and Pencils
Number of Ways to Divide a Long Corridor
Number of Ways to Form a Target String Given a Dictionary
Number of Ways to Paint N × 3 Grid
Number of Ways to Rearrange Sticks With K Sticks Visible
Number of Ways to Reorder Array to Get Same BST
Number of Ways to Select Buildings
Number of Ways to Separate Numbers
Number of Ways to Split Array
Number of Ways to Split a String
Number of Ways to Stay in the Same Place After Some Steps
Number of Ways to Wear Different Hats to Each Other
Number of Wonderful Substrings
Number of Zero-Filled Subarrays
Number of ZeroFilled Subarrays
Numbers At Most N Given Digit Set
Numbers With Repeated Digits
Numbers With Same Consecutive Differences
Folders and files Name Name Last commit message
Last commit date
parent directory
View all files
Algorithms-solutions
You can’t perform that action at this time.