RandomWits

life is too short for a diary



Posts Tagged: python (Page 3)

Next Greater Element I

The next greater element of some element x in an array is the first greater element that is to the right of x in the same array...

Continue reading โ†’ leetcode python monotonic stack java



Leetcode Daily Temperatures

Given an array of integers temperatures represents the daily temperatures, return an array answer such that answer[i] is the number of days you have to wait after the ith day to get a warmer temperature. If there is no future day for which this is possible, keep answer[i] == 0 instead...

Continue reading โ†’ leetcode python stack java



Optimizing SQL Queries - Understanding and Refreshing Materialized Views

When to use a materialized view? And how does it perform against a normal view. Benchmarking using docker...

Continue reading โ†’ sql database python docker