![240](https://cdn2.jianshu.io/assets/default_avatar/7-0993d41a595d6ab6ef17b19496eb2f21.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
題目:backpack I (每個(gè)物品取一次铺厨,求最多能裝多少物品) Given n items with size Ai, an integer...
題型 1. 排序:兩個(gè)或多個(gè)array(一般是sorted)按照某規(guī)則排序 88. Merge Sorted Array283. Move Ze...
層遍歷問(wèn)題 問(wèn)題:Binary Tree Level Order Traversal Given a binary tree, return t...
問(wèn)題: Next Greater Element I You are given two arrays (without duplicates)...
題目:Add Two Numbers You are given two non-empty linked lists representing...
1. 加法: 問(wèn)題: Calculate the sum of two integers a and b, but you are not al...
題目 Given an array of n integers where n > 1, nums, return an array outpu...
題目:Contains Duplicate Given an array of integers, find if the array cont...
問(wèn)題:Reverse Linked List Reverse a singly linked list. Input: 鏈表頭結(jié)點(diǎn) :: Lis...