Data structures solutions