Design

Design a data structure to deal with the data, usually with special algorithm complexity.

Introduction

This sort of problems always require us to set a part of data structures to deal with the data. We usually uses like array, map, set, stack, queue…… to meet our design requirements. In most cases we always need to assure better time complexity so that we need to have more varieties of data structures. Here I will list several problems of this field.