ARTS #49 Algorithm 本周选择的算法题是:Video Stitching 规则如下: You are given a series of video clips from a sporting event that lasted T seconds. These video clips can be overlapping with each other and have varied ... 2020-05-096 min read
ARTS #48 Algorithm 本周选择的算法题是:Letter Combinations of a Phone Number 规则如下: Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. A m... 2020-05-023 min read
ARTS #47 Algorithm 本周选择的算法题是:N-Queens 规则如下: The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all distin... 2020-04-256 min read
ARTS #46 Algorithm 本周选择的算法题是:Sqrt(x) 规则如下: Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-negative integer. Since the return type is an integer, t... 2020-04-183 min read
ARTS #45 Algorithm 本周选择的算法题是:Edit Distance 规则如下: Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations permitted ... 2020-04-118 min read
提供 Pub/Sub 服务的 AppDelegate 在最近的一次 App 架构调整中,为了: 减少 App 之间代码同步的复杂度 减少胶水代码的复杂度(如 AppDelegate) 解决潜在的应用跳转回调错误 我们将代码的组织方式进行了较大的调整,采用的方案主要有: Sidecar + Launch 的组合: Sidecar 为 App 们提供统一的能力,如日志、监控、加密等 La... 2020-04-111 min read
ARTS #44 Algorithm 本周选择的算法题是:Regular Expression Matching 规则如下: Given an input string (s) and a pattern (p), implement regular expression matching with support for '.' and '*'. '.' Matches any single cha... 2020-04-046 min read
ARTS #43 Algorithm 本周选择的算法题是:Network Delay Time 规则如下: There are N network nodes, labelled 1 to N. Given times, a list of travel times as directed edges times[i] = (u, v, w), where u is the source node, ... 2020-03-287 min read
ARTS #42 Algorithm 本周选择的算法题是:Unique Paths II 规则如下: A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below). The robot can only move either down or right at any po... 2020-03-215 min read
ARTS #41 Algorithm 本周选择的算法题是:Unique Paths 规则如下: A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below). The robot can only move either down or right at any point... 2020-03-145 min read