NITIN23329 / LeetCode

This repo contains several problems solved at leetcode
MIT License
1 stars 0 forks source link

Find O(1) space solution #4

Open NITIN23329 opened 4 years ago

NITIN23329 commented 4 years ago

solution of O(n) space https://github.com/NITIN23329/LeetCode/blob/21f1c73f3bf45ef6ca2eff082aadd35f3f257c61/Stack/ValidStackSequence.java#L1 problem link : https://leetcode.com/problems/validate-stack-sequences/