class Solution {public: struct ListNode { int key;int value; ListNode* prev; ListNode* next; ListNode():key(0),value(0),prev(nullptr),next(nullptr){}; ListNode(int _key,int _value):key(_key),value(_value),prev(nullptr),next(nullptr){}; }; struct myLRU { private: int size; ...