ShareHub

Discover and share articles, posts, and links from across the web.

Leetcode Two sum problem

Leetcode Two sum problem

Storm Warden · 3/26/2026

1. Two Sum Working: seen keeps track of numbers we’ve already visited and their indices. For each num, we calculate complement = target-num. If the complemen...

ALTER TABLE

ALTER TABLE

Storm Warden · 3/26/2026

Today I learned that creating a table is only the first step in SQL. Sometimes, after creating a table, we may realize that we need to change some rules. For...