Different algorithms and data structures