摘要: Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there isn't 阅读全文
posted @ 2019-07-21 20:05 Roni_i 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Given two strings s1 and s2, write a function to return true if s2 contains the permutation of s1. In other words, one of the first string's permutati 阅读全文
posted @ 2019-07-21 19:40 Roni_i 阅读(151) 评论(0) 推荐(0) 编辑