摘要: 题目 Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three intege 阅读全文
posted @ 2017-09-15 21:42 cookielbsc 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 第一部分:结缘计算机 1. 你为什么选择计算机专业?你认为你的条件如何?和这些博主比呢?(必答) 记得当年填报志愿的时候,我选择的所有学校都是计算机或者软件工程较好的,第一志愿也基本都是计算机,至于为什么对其他专业没有丝毫考虑,我自己都不能完全说清楚...我想对我影响最大的是初中时进入暴雪工作或者能 阅读全文
posted @ 2017-09-13 14:23 cookielbsc 阅读(342) 评论(6) 推荐(0) 编辑
摘要: 题目 Given n pairs of parentheses, write a function to generate all combinations of well formed parentheses. For example, given n = 3, a solution set is 阅读全文
posted @ 2017-09-10 20:35 cookielbsc 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 题目 Implement regular expression matching with support for '.' and ' '. 翻译 实现正则表达式中的 和 匹配 Hints Related Topics: String, Dynamic Programming, Backtracki 阅读全文
posted @ 2017-09-09 17:21 cookielbsc 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 题目 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in t 阅读全文
posted @ 2017-09-07 20:59 cookielbsc 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 题目 Given a linked list, remove the nth node from the end of list and return its head. For example, Note: Given n will always be valid. Try to do this 阅读全文
posted @ 2017-09-07 20:52 cookielbsc 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 题目 Given n non negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two en 阅读全文
posted @ 2017-09-06 22:10 cookielbsc 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 题目 Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, 1) If you are t 阅读全文
posted @ 2017-09-05 20:52 cookielbsc 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 题目 Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = 123, return 321 Have you thought about this? Here are some good questions 阅读全文
posted @ 2017-09-05 20:41 cookielbsc 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 题目 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed fo 阅读全文
posted @ 2017-09-04 22:04 cookielbsc 阅读(174) 评论(1) 推荐(0) 编辑