Update/ Rewrite leetcode \ add basic data structure