Skip to content

Sasmita07/leetcode-js-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

js-solutions

Algorithms

  • Sliding Window

JavaScript

# Title Solution Time Space Difficulty Tag Note
992 Subarrays with K Different Integers JS O(n) O(n) Hard
2444 Count Subarrays With Fixed Bounds JS O(n) O(1) Hard
1614 Maximum Nesting Depth of the Parentheses JS O(n) O(1) Easy
1249 Minimum Remove to Make Valid Parentheses JS O(n) O(n) Medium
85 Maximal Rectangle JS O(m*n) O(n) Hard
191 Number of 1 Bits JS-Sol1 O(n) O(1) Easy
191 Number of 1 Bits JS-Sol2 O(n) O(1) Easy
367 Valid Perfect Square 367-valid-perfect-square O(logn) O(1) Easy