TODO

20260619

02260618

20260617

20260616

A schema is a namespace inside a database that organizes and groups related tables, views, and other database objects.

Database -> Schema -> Table

20260615

20260614

20260613

20260612

git push --force-with-lease

20260611

20260610

20260609

20260608

20260607

class Solution:
    def nextGreaterElement(self, nums1: list[int], nums2: list[int]) -> list[int]:
        stack: list[int] = []
        num_to_next: dict[int, int] = {}
        for num2 in nums2:
            while stack and num2 > stack[-1]:
                prev = stack.pop()
                num_to_next[prev] = num2

            stack.append(num2)

        next_nums: list[int] = []
        for num1 in nums1:
            if num1 in num_to_next:
                next_nums.append(num_to_next[num1])
            else:
                next_nums.append(-1)

        return next_nums

20260606

20260605

20260604

20260603

20260602

20260601


index 202605 202607