- 博客(8)
- 收藏
- 关注
原创 Palindrome Number
问题 Determine whether an integer is a palindrome. Do this without extra space. 测试用例 无 我的代码 func isPalindrome(x int) bool { var revertedx int revertedx = 0 if x < 0{ retu
2017-09-03 20:20:25
240
原创 Reverse Integer
问题 Reverse digits of an integer. 测试用例 Example1: x = 123, return 321 Example2: x = -123, return -321 我的代码 func reverse(x int) int { var y int y = 0 if x > -10
2017-09-03 19:43:33
206
原创 Longest Substring Without Repeating Characters(Time Limit Exceeded)
问题 Given a string, find the length of the longest substring without repeating characters. 测试用例 Given "abcabcbb", the answer is "abc", which the length is 3. Given "bbbbb", the
2017-09-03 17:23:51
255
原创 Add Two Numbers
问题 You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and
2017-09-02 11:16:00
204
原创 Two Sum
问题 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 exactly one solution, and you may not use
2017-09-02 11:08:48
248
原创 Minikube安装
Minikube是一个使得Kubenetes在本地运行的工具。Minikube在本地主机的虚拟机中运行一个单节点的Kubernetes。本文就如何安装Minikube作简单介绍。 本文使用Ubuntu系统,因此以Linux系统安装为例。
2017-08-17 10:50:41
952
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人