摘要:
题目如下: In an N by N square grid, each cell is either empty (0) or blocked (1). A clear path from top-left to bottom-right has length k if and only if i 阅读全文
摘要:
题目如下: Given an integer array A, you partition the array into (contiguous) subarrays of length at most K. After partitioning, each subarray has their v 阅读全文
摘要:
题目如下: We have a set of items: the i-th item has value values[i] and label labels[i]. Then, we choose a subset S of these items, such that: |S| <= num_ 阅读全文
摘要:
题目如下: Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements 阅读全文