Javascript is disabled. Actions will not work.
Jump to content
A1Lab
menu
Communities
Create Post
Create Community
search
Search
Login
Sign Up
DSA
!dsa@forum.a1lab.tech
Sidebar
plus-square
Posts
Comments
Sort type
Hot
Active
Scaled
Controversial
New
Old
Most Comments
New Comments
─────
Top Hour
Top Six Hours
Top Twelve Hours
Top Day
Top Week
Top Month
Top Three Months
Top Six Months
Top Nine Months
Top Year
Top All Time
rss
Next
Latest Discussions in #dsa
All Topics →
How do you detect if a 9x9 Sudoku board is valid in a single pass using bitmasks instead of hash sets?
#DSA
0 answers
How do you find the longest well-performing interval where tiring days strictly exceed non-tiring days?
#DSA
0 answers
How do you rearrange positive and negative integers alternately while preserving relative order?
#DSA
1 answer
How do you find the equilibrium pivot index where left prefix sum equals right suffix sum in O(1) space?
#DSA
0 answers
How do you find the equilibrium pivot index where left prefix sum equals right suffix sum in O(1) space?
#DSA
1 answer
How do you count pairs with absolute difference K in O(n) time while handling duplicate values accurately?
#DSA
0 answers
How do you find the maximum product subarray when negative numbers flip minimum products into maximums?
#DSA
0 answers
How do you implement RandomizedSet with O(1) insert, delete, and getRandom using an array and index hash map?
#DSA
0 answers
How do you find the duplicate number in an array of n+1 integers in O(1) space without modifying the input array?
#DSA
0 answers
How do you design a custom hash function for custom objects in C++ unordered_map and Java HashMap?
#DSA
0 answers
How do you traverse a matrix in spiral order without getting off-by-one boundary bugs on rectangular grids?
#DSA
1 answer
How do you find the maximum circular subarray sum by comparing normal Kadane with total sum minus minimum subarray?
#DSA
0 answers
How do you check if a subarray sum is a multiple of K using modulo remainder collisions in a hash map?
#DSA
0 answers
How do you find a contiguous subarray with equal numbers of 0s and 1s by mapping 0 to -1?
#DSA
0 answers
How do you merge two sorted arrays in-place from the back without overwriting unmerged elements?
#DSA
0 answers
How does the Dutch National Flag three-way partitioning algorithm sort 0s, 1s, and 2s in a single pass?
#DSA
0 answers
How do you find the next lexicographical permutation of an array in O(n) time and O(1) space?
#DSA
0 answers
How do you mark zeroes in an m x n matrix in O(1) space using the first row and column as flag markers?
#DSA
0 answers
How do you rotate an n x n matrix 90 degrees clockwise in-place using transpose and row reversal?
#DSA
0 answers
How do you use a difference array to apply thousands of range increment updates in O(1) per update?
#DSA
0 answers
How do you implement a 2D prefix sum matrix to answer submatrix range sum queries in O(1) time?
#DSA
0 answers
Why does finding the longest consecutive sequence take O(n) time with a hash set despite nested while loops?
#DSA
0 answers
How do you group anagrams in O(n * k) time using character frequency tuples instead of sorting each string?
#DSA
0 answers
How do you compute product of array except self without division while avoiding integer overflow?
#DSA
0 answers
1
2
Next →