原创 數據庫三大範式詳解

第一範式1NF 數據庫表的每一列都是不可分割的基本數據項,同一列中不能有多個值,即實體中的某個屬性不能有多個值或者不能有重複的屬性。 如果出現重複的屬性,就需要定義一個新的實體,新的實體由重複的屬性構成,新的實體和原實體之間是一對多關係

原创 leetcode146~LRU Cache

Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: