Data structure solutions