bigpotato

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2020年2月6日

摘要: Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero. To make pro 阅读全文
posted @ 2020-02-06 16:45 bigpotato 阅读(102) 评论(0) 推荐(0)

摘要: Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique q 阅读全文
posted @ 2020-02-06 15:17 bigpotato 阅读(123) 评论(0) 推荐(0)

摘要: Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the thr 阅读全文
posted @ 2020-02-06 14:42 bigpotato 阅读(110) 评论(0) 推荐(0)

2020年2月5日

摘要: Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the s 阅读全文
posted @ 2020-02-05 17:43 bigpotato 阅读(101) 评论(0) 推荐(0)

摘要: Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer 阅读全文
posted @ 2020-02-05 11:44 bigpotato 阅读(82) 评论(0) 推荐(0)

2020年2月3日

摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2020-02-03 10:59 bigpotato 阅读(108) 评论(0) 推荐(0)

2018年10月18日

摘要: server client: 阅读全文
posted @ 2018-10-18 15:35 bigpotato 阅读(205) 评论(0) 推荐(0)

摘要: 1.配置用户名和邮箱 git config --global user.name "xxx" git config --global user.email "xxx@xx.com" 2.分支 查看远程分支 git branch -a 查看本地分支 git branch 查看本地分支关联的远程分支 g 阅读全文
posted @ 2018-10-18 15:22 bigpotato 阅读(121) 评论(0) 推荐(0)

2018年5月14日

摘要: Given a non-empty string containing an out-of-order English representation of digits 0-9, output the digits in ascending order. Note: Input contains o 阅读全文
posted @ 2018-05-14 17:21 bigpotato 阅读(140) 评论(0) 推荐(0)

摘要: Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: The length of both num1 and num2 is < 5100 阅读全文
posted @ 2018-05-14 14:59 bigpotato 阅读(91) 评论(0) 推荐(0)