Comment

Comment by antoaravinth

Find the minimum value in the stack in O(1) both time and space complexity.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton