Added big-o and data structures