Name / Title | Added | Expires | Hits | Comments | Syntax | |
---|---|---|---|---|---|---|
Total Cost to Hire K Workers | Jul 2nd, 2024 | Never | 771 | 0 | C++ | - |
Rotting Oranges | May 29th, 2024 | Never | 599 | 0 | C++ | - |
Nearest Exit from Entrance in Maze | May 29th, 2024 | Never | 575 | 0 | C++ | - |
Evaluate Division | May 28th, 2024 | Never | 750 | 0 | C++ | - |
Reorder Routes to Make All Paths Lead to the City Zero | May 27th, 2024 | Never | 62 | 0 | C++ | - |
Number of Provinces | May 17th, 2024 | Never | 588 | 0 | C++ | - |
Keys and Rooms | May 16th, 2024 | Never | 565 | 0 | C++ | - |
Delete Node in a BST | May 15th, 2024 | Never | 635 | 0 | C++ | - |
Maximum Level Sum of a Binary Tree | May 15th, 2024 | Never | 713 | 0 | C++ | - |
Binary Tree Right Side View | May 14th, 2024 | Never | 720 | 0 | C++ | - |
Lowest Common Ancestor of a Binary Tree | May 14th, 2024 | Never | 689 | 0 | C++ | - |
Longest ZigZag Path in a Binary Tree | May 11th, 2024 | Never | 1,088 | 0 | C++ | - |
O(N) approach to Path sum 3 | May 10th, 2024 | Never | 991 | 0 | C++ | - |
Path Sum III | May 10th, 2024 | Never | 585 | 0 | C++ | - |
Count Good Nodes in Binary Tree | May 8th, 2024 | Never | 640 | 0 | C++ | - |
Odd Even Linked List | May 7th, 2024 | Never | 580 | 0 | C++ | - |
Delete the Middle Node of a Linked List | May 7th, 2024 | Never | 780 | 0 | C++ | - |
Dota2 Senate | May 6th, 2024 | Never | 1,004 | 0 | C++ | - |
Asteroid Collision | May 5th, 2024 | Never | 718 | 0 | C++ | - |
Determine if Two Strings Are Close | May 4th, 2024 | Never | 1,092 | 0 | C++ | - |
Longest Subarray of 1's After Deleting One Element | May 3rd, 2024 | Never | 889 | 0 | C++ | - |
Max Consecutive Ones III | May 3rd, 2024 | Never | 575 | 0 | C++ | - |
Max Number of K-Sum Pairs | May 2nd, 2024 | Never | 725 | 0 | C++ | - |
Container With Most Water | May 1st, 2024 | Never | 1,109 | 0 | C++ | - |
String Compression | May 1st, 2024 | Never | 591 | 0 | C++ | - |
Increasing Triplet Subsequence | May 1st, 2024 | Never | 677 | 0 | C++ | - |
Product of Array Except Self | Apr 30th, 2024 | Never | 912 | 0 | C++ | - |
Find median in a stream | Mar 20th, 2024 | Never | 551 | 0 | C++ | - |
Merge K sorted linked lists | Feb 20th, 2024 | Never | 842 | 0 | C++ | - |
Maximum path sum in matrix | Feb 12th, 2024 | Never | 919 | 0 | C++ | - |
Nth Fibonacci Number | Jan 23rd, 2024 | Never | 1,091 | 0 | C++ | - |
fastest way to calc nCr | Jan 10th, 2024 | Never | 885 | 0 | C++ | - |
Find triplets with zero sum | Jan 9th, 2024 | Never | 752 | 0 | C++ | - |
Rotate Array | Jan 8th, 2024 | Never | 796 | 0 | C++ | - |
Second Largest | Jan 6th, 2024 | Never | 1,019 | 0 | C++ | - |
Find duplicates in an array | Jan 6th, 2024 | Never | 928 | 0 | C++ | - |
Kth element in Matrix | Dec 8th, 2023 | Never | 786 | 0 | C++ | - |
Shortest Source to Destination Path | Dec 7th, 2023 | Never | 640 | 0 | C++ | - |
Number of pairs | Dec 5th, 2023 | Never | 759 | 0 | C++ | - |
Count number of hops | Dec 3rd, 2023 | Never | 918 | 0 | C++ | - |
Minimum Swaps to Sort | Dec 3rd, 2023 | Never | 654 | 0 | C++ | - |
Coin Change | Dec 2nd, 2023 | Never | 857 | 0 | C++ | - |
Maximum sum increasing subsequence | Nov 30th, 2023 | Never | 942 | 0 | C++ | - |
0 - 1 Knapsack Problem | Nov 27th, 2023 | Never | 1,318 | 0 | C++ | - |
Count Beautiful Substrings I | Nov 25th, 2023 | Never | 647 | 0 | C++ | - |
Matrix Similarity After Cyclic Shifts | Nov 25th, 2023 | Never | 629 | 0 | C++ | - |
Smallest Positive missing number | Nov 21st, 2023 | Never | 1,292 | 0 | C++ | - |
Detect cycle in a directed graph | Nov 21st, 2023 | Never | 856 | 0 | C++ | - |
Maximum Product Subarray | Nov 16th, 2023 | Never | 791 | 0 | C++ | - |
Detect cycle in an undirected graph | Nov 13th, 2023 | Never | 846 | 0 | C++ | - |
Shortest Common Supersequence | Nov 13th, 2023 | Never | 608 | 0 | C++ | - |
Find Missing And Repeating | Nov 2nd, 2023 | Never | 1,434 | 0 | C++ | - |
Count Nodes Equal to Average of Subtree | Nov 2nd, 2023 | Never | 1,041 | 0 | C++ | - |
LIS DP TLE | Oct 28th, 2023 | Never | 1,289 | 0 | C++ | - |
Longest Increasing Subsequence | Oct 28th, 2023 | Never | 164 | 0 | C++ | - |
Longest Increasing Subsequence | Oct 28th, 2023 | Never | 1,267 | 0 | C++ | - |
Longest Common Subsequence | Oct 27th, 2023 | Never | 1,009 | 0 | C++ | - |
Longest Common Substring | Oct 27th, 2023 | Never | 1,067 | 0 | C++ | - |
Minimum number of Coins | Oct 27th, 2023 | Never | 604 | 0 | C++ | - |
Minimum Spanning Tree | Oct 27th, 2023 | Never | 720 | 0 | C++ | - |
Minimize the Heights II | Oct 26th, 2023 | Never | 749 | 0 | C++ | - |
Largest number possible | Oct 26th, 2023 | Never | 754 | 0 | C++ | - |
Page Faults in LRU | Oct 26th, 2023 | Never | 644 | 0 | C++ | - |
Maximize Toys | Oct 25th, 2023 | Never | 1,477 | 0 | C++ | - |
Choose and Swap | Oct 25th, 2023 | Never | 1,374 | 0 | C++ | - |
Activity Selection | Oct 25th, 2023 | Never | 736 | 0 | C++ | - |
Largest BST | Oct 25th, 2023 | Never | 772 | 0 | C++ | - |
Ceil in BST | Oct 24th, 2023 | Never | 607 | 0 | C++ | - |
Lowest Common Ancestor in a BST | Oct 20th, 2023 | Never | 797 | 0 | C++ | - |
Serialize and Deserialize a Binary Tree | Oct 20th, 2023 | Never | 1,067 | 0 | C++ | - |
Connect Nodes at Same Level | Oct 13th, 2023 | Never | 984 | 0 | C++ | - |
Level order traversal in spiral form | Oct 12th, 2023 | Never | 1,021 | 0 | C++ | - |
Diameter of a binary tree | Oct 12th, 2023 | Never | 636 | 0 | C++ | - |
Maximum Path Sum | Oct 12th, 2023 | Never | 635 | 0 | C++ | - |
Merge two BST 's | Oct 12th, 2023 | Never | 771 | 0 | C++ | - |
Bottom View of Binary Tree | Oct 12th, 2023 | Never | 772 | 0 | C++ | - |
Left View of Binary Tree | Oct 11th, 2023 | Never | 1,266 | 0 | C++ | - |
Symmetric Tree | Oct 11th, 2023 | Never | 1,244 | 0 | C++ | - |
Implement Stack using Linked List | Oct 11th, 2023 | Never | 1,145 | 0 | C++ | - |
mplement Queue using Linked List | Oct 11th, 2023 | Never | 799 | 0 | C++ | - |
Binary Tree to DLL | Oct 11th, 2023 | Never | 677 | 0 | C++ | - |
Merge Without Extra Space 0.23 s | Oct 11th, 2023 | Never | 980 | 0 | C++ | - |
shortcut to delete when head pointer not given | Oct 11th, 2023 | Never | 1,274 | 0 | C++ | - |
optimised linked ist palindrome question | Oct 11th, 2023 | Never | 893 | 0 | C++ | - |
Check if Linked List is Palindrome | Oct 11th, 2023 | Never | 1,141 | 0 | C++ | - |
Add two numbers represented by linked lists | Oct 10th, 2023 | Never | 1,191 | 0 | C++ | - |
Rotten Oranges | Oct 10th, 2023 | Never | 843 | 0 | C++ | - |
First non-repeating character in a stream | Oct 10th, 2023 | Never | 554 | 0 | C++ | - |
first non repeating character code failing on some test cases | Oct 10th, 2023 | Never | 581 | 0 | C++ | - |
Maximum of minimum for every window size | Oct 10th, 2023 | Never | 874 | 0 | C++ | - |
First negative integer in every window of size k | Oct 9th, 2023 | Never | 1,276 | 0 | C++ | - |
Next Greater Element | Oct 6th, 2023 | Never | 1,234 | 0 | C++ | - |
Overlapping Intervals | Oct 6th, 2023 | Never | 838 | 0 | C++ | - |
Parenthesis Checker | Oct 5th, 2023 | Never | 1,225 | 0 | C++ | - |
Generate IP Addresses | Oct 5th, 2023 | Never | 1,396 | 0 | C++ | - |
Word Boggle | Oct 5th, 2023 | Never | 912 | 0 | C++ | - |
Rat in a Maze Problem - I | Oct 4th, 2023 | Never | 1,358 | 0 | C++ | - |
Solve the Sudoku | Oct 4th, 2023 | Never | 867 | 1 | C++ | - |