846. Hand of Straights | Medium | Leetcode 846
ฝัง
- เผยแพร่เมื่อ 5 มิ.ย. 2024
- In this i have simple use sort and hashmap
.
Leetcode Problem Link:
leetcode.com/problems/hand-of...
TC = O(NlogN + NK )
SC = O(N)
*N : length of array
.
.
#leetcode #problem #dsa #algorithm #coding #darktheme #coding #ekansh #new #optimals #easyexplain #visual #draw #simple #fast #return #846 #linear #medium #interview #interviewpractice