Last rider the shuttle can take — SQL

Find the final rider in line who can board a van with a weight cap, boarding in order and never going over the limit.

SQL · Medium

More in SQL

All algorithm problems