Coding Challenge · BEGINNER
A shipping robot is tasked with stacking crates in a warehouse. Each crate has a unique weight, and the robot can only stack crates in increasing order of weight. Given an array of crate weights, determine the length of the longest increasing sequence of crates that can be stacked one on top of another.