V

Visa

84 questions tracked80 with solutions
🔍
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough

Showing 84 of 84 questions

1
HardLength of Longest V-Shaped Diagonal Segment✓ Our Solution
100
ArrayDynamic ProgrammingMemoizationMatrix
LeetCode ↗34% acc.
2
EasyTwo Sum✓ Our Solution
97
ArrayHash Table
LeetCode ↗56% acc.
3
EasySplit the Array✓ Our Solution
94
ArrayHash TableCounting
LeetCode ↗59% acc.
4
MediumRotating the Box✓ Our Solution
94
ArrayTwo PointersMatrix
LeetCode ↗79% acc.
5
87
ArrayTwo PointersSorting
LeetCode ↗37% acc.
6
EasyBest Time to Buy and Sell Stock✓ Our Solution
86
ArrayDynamic Programming
LeetCode ↗55% acc.
7
EasyCreate Target Array in the Given Order✓ Our Solution
86
ArraySimulation
LeetCode ↗86% acc.
8
MediumLongest Substring Without Repeating Characters✓ Our Solution
83
Hash TableStringSliding Window
LeetCode ↗37% acc.
9
MediumMaximum Number of Events That Can Be Attended✓ Our Solution
83
ArrayGreedySortingHeap (Priority Queue)
LeetCode ↗33% acc.
10
MediumMatch Alphanumerical Pattern in Matrix I
81
ArrayHash TableStringMatrix
LeetCode ↗64% acc.
11
EasyOdd String Difference✓ Our Solution
81
ArrayHash TableString
LeetCode ↗61% acc.
12
MediumGroup Anagrams✓ Our Solution
81
ArrayHash TableStringSorting
LeetCode ↗71% acc.
13
HardEarliest Possible Day of Full Bloom✓ Our Solution
81
ArrayGreedySorting
LeetCode ↗71% acc.
14
EasyDivisor Game✓ Our Solution
81
MathDynamic ProgrammingBrainteaserGame Theory
LeetCode ↗70% acc.
15
HardBlock Placement Queries✓ Our Solution
81
ArrayBinary SearchBinary Indexed TreeSegment Tree
LeetCode ↗17% acc.
16
EasyTwo Furthest Houses With Different Colors✓ Our Solution
81
ArrayGreedy
LeetCode ↗66% acc.
17
MediumCount Nodes With the Highest Score✓ Our Solution
81
ArrayTreeDepth-First SearchBinary Tree
LeetCode ↗51% acc.
18
MediumLRU Cache✓ Our Solution
76
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
19
EasyLongest Common Prefix✓ Our Solution
76
StringTrie
LeetCode ↗45% acc.
20
HardTrapping Rain Water✓ Our Solution
73
ArrayTwo PointersDynamic ProgrammingStack+1
LeetCode ↗65% acc.
21
MediumSearch in Rotated Sorted Array✓ Our Solution
73
ArrayBinary Search
LeetCode ↗43% acc.
22
EasyValid Parentheses✓ Our Solution
73
StringStack
LeetCode ↗42% acc.
23
HardText Justification✓ Our Solution
69
ArrayStringSimulation
LeetCode ↗48% acc.
24
MediumSimplify Path✓ Our Solution
69
StringStack
LeetCode ↗48% acc.
25
MediumNumber of Islands✓ Our Solution
65
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗62% acc.
26
MediumMerge Intervals✓ Our Solution
65
ArraySorting
LeetCode ↗49% acc.
27
MediumWalls and Gates
65
ArrayBreadth-First SearchMatrix
LeetCode ↗63% acc.
28
MediumMinimum Operations to Write the Letter Y on a Grid✓ Our Solution
65
ArrayHash TableMatrixCounting
LeetCode ↗62% acc.
29
MediumLongest Palindromic Substring✓ Our Solution
65
Two PointersStringDynamic Programming
LeetCode ↗36% acc.
30
MediumNumber of Adjacent Elements With the Same Color✓ Our Solution
65
Array
LeetCode ↗56% acc.
31
MediumDaily Temperatures✓ Our Solution
59
ArrayStackMonotonic Stack
LeetCode ↗67% acc.
32
EasyReverse Linked List✓ Our Solution
59
Linked ListRecursion
LeetCode ↗79% acc.
33
MediumCourse Schedule✓ Our Solution
59
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗49% acc.
34
MediumLongest Continuous Subarray With Absolute Diff Less Than or Equal to Limit✓ Our Solution
59
ArrayQueueSliding WindowHeap (Priority Queue)+2
LeetCode ↗57% acc.
35
MediumReverse Words in a String✓ Our Solution
59
Two PointersString
LeetCode ↗52% acc.
36
MediumMaximum Subarray✓ Our Solution
59
ArrayDivide and ConquerDynamic Programming
LeetCode ↗52% acc.
37
HardWord Ladder✓ Our Solution
53
Hash TableStringBreadth-First Search
LeetCode ↗43% acc.
38
MediumTop K Frequent Elements✓ Our Solution
53
ArrayHash TableDivide and ConquerSorting+4
LeetCode ↗65% acc.
39
MediumNumber of Black Blocks✓ Our Solution
53
ArrayHash TableEnumeration
LeetCode ↗39% acc.
40
MediumRestore IP Addresses✓ Our Solution
53
StringBacktracking
LeetCode ↗53% acc.
41
MediumFind Peak Element✓ Our Solution
53
ArrayBinary Search
LeetCode ↗47% acc.
42
EasyRoman to Integer✓ Our Solution
53
Hash TableMathString
LeetCode ↗65% acc.
43
MediumCheck If Array Pairs Are Divisible by k✓ Our Solution
53
ArrayHash TableCounting
LeetCode ↗46% acc.
44
HardReverse Nodes in k-Group✓ Our Solution
53
Linked ListRecursion
LeetCode ↗63% acc.
45
MediumWord Search✓ Our Solution
53
ArrayStringBacktrackingDepth-First Search+1
LeetCode ↗45% acc.
46
EasyRotate String✓ Our Solution
53
StringString Matching
LeetCode ↗64% acc.
47
EasyDiameter of Binary Tree✓ Our Solution
53
TreeDepth-First SearchBinary Tree
LeetCode ↗64% acc.
48
HardShortest Palindrome✓ Our Solution
53
StringRolling HashString MatchingHash Function
LeetCode ↗41% acc.
49
MediumLargest Number✓ Our Solution
43
ArrayStringGreedySorting
LeetCode ↗41% acc.
50
MediumBrightest Position on Street
43
ArraySortingPrefix SumOrdered Set
LeetCode ↗61% acc.
51
MediumValid Sudoku✓ Our Solution
43
ArrayHash TableMatrix
LeetCode ↗62% acc.
52
MediumSum Root to Leaf Numbers✓ Our Solution
43
TreeDepth-First SearchBinary Tree
LeetCode ↗69% acc.
53
EasyContains Duplicate✓ Our Solution
43
ArrayHash TableSorting
LeetCode ↗63% acc.
54
MediumPartition Equal Subset Sum✓ Our Solution
43
ArrayDynamic Programming
LeetCode ↗48% acc.
55
MediumNumber of Matching Subsequences✓ Our Solution
43
ArrayHash TableStringBinary Search+3
LeetCode ↗51% acc.
56
MediumEdit Distance✓ Our Solution
43
StringDynamic Programming
LeetCode ↗59% acc.
57
MediumInteger to Roman✓ Our Solution
43
Hash TableMathString
LeetCode ↗69% acc.
58
MediumHouse Robber II✓ Our Solution
43
ArrayDynamic Programming
LeetCode ↗44% acc.
59
EasySubstrings of Size Three with Distinct Characters✓ Our Solution
43
Hash TableStringSliding WindowCounting
LeetCode ↗75% acc.
60
MediumNumber of Subarrays That Match a Pattern I✓ Our Solution
43
ArrayRolling HashString MatchingHash Function
LeetCode ↗67% acc.
61
EasyMerge Two Sorted Lists✓ Our Solution
43
Linked ListRecursion
LeetCode ↗67% acc.
62
MediumCandy Crush
43
ArrayTwo PointersMatrixSimulation
LeetCode ↗77% acc.
63
MediumFind the Length of the Longest Common Prefix✓ Our Solution
43
ArrayHash TableStringTrie
LeetCode ↗56% acc.
64
HardSliding Window Maximum✓ Our Solution
43
ArrayQueueSliding WindowHeap (Priority Queue)+1
LeetCode ↗48% acc.
65
EasyImage Smoother✓ Our Solution
43
ArrayMatrix
LeetCode ↗68% acc.
66
EasyPlus One✓ Our Solution
43
ArrayMath
LeetCode ↗48% acc.
67
MediumSearch a 2D Matrix✓ Our Solution
43
ArrayBinary SearchMatrix
LeetCode ↗52% acc.
68
MediumBest Time to Buy and Sell Stock with Cooldown✓ Our Solution
43
ArrayDynamic Programming
LeetCode ↗60% acc.
69
HardSplit Message Based on Limit✓ Our Solution
43
StringBinary SearchEnumeration
LeetCode ↗43% acc.
70
HardFind Servers That Handled Most Number of Requests✓ Our Solution
43
ArrayGreedyHeap (Priority Queue)Ordered Set
LeetCode ↗44% acc.
71
HardBinary Tree Cameras✓ Our Solution
43
Dynamic ProgrammingTreeDepth-First SearchBinary Tree
LeetCode ↗47% acc.
72
MediumFind Score of an Array After Marking All Elements✓ Our Solution
43
ArrayHash TableSortingHeap (Priority Queue)+1
LeetCode ↗64% acc.
73
MediumSpiral Matrix✓ Our Solution
43
ArrayMatrixSimulation
LeetCode ↗54% acc.
74
EasyPalindrome Number✓ Our Solution
43
Math
LeetCode ↗59% acc.
75
MediumK Closest Points to Origin✓ Our Solution
43
ArrayMathDivide and ConquerGeometry+3
LeetCode ↗68% acc.
76
MediumSecond Highest Salary✓ Our Solution
43
Database
LeetCode ↗44% acc.
77
EasyValid Palindrome✓ Our Solution
43
Two PointersString
LeetCode ↗51% acc.
78
MediumRotate Array✓ Our Solution
43
ArrayMathTwo Pointers
LeetCode ↗43% acc.
79
EasyValid Anagram✓ Our Solution
43
Hash TableStringSorting
LeetCode ↗67% acc.
80
HardBest Time to Buy and Sell Stock III✓ Our Solution
43
ArrayDynamic Programming
LeetCode ↗51% acc.
81
HardMedian of Two Sorted Arrays✓ Our Solution
43
ArrayBinary SearchDivide and Conquer
LeetCode ↗44% acc.
82
MediumMinimum Time Difference✓ Our Solution
43
ArrayMathStringSorting
LeetCode ↗62% acc.
83
MediumContainer With Most Water✓ Our Solution
43
ArrayTwo PointersGreedy
LeetCode ↗58% acc.
84
HardLFU Cache✓ Our Solution
43
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗47% acc.