Sample codes of common data structures