- 博客(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
218
原创 Reverse Integer
问题Reverse digits of an integer.测试用例Example1: x = 123, return 321Example2: x = -123, return -321我的代码func reverse(x int) int { var y int y = 0 if x > -10
2017-09-03 19:43:33
184
原创 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
237
原创 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
184
原创 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
224
原创 Minikube安装
Minikube是一个使得Kubenetes在本地运行的工具。Minikube在本地主机的虚拟机中运行一个单节点的Kubernetes。本文就如何安装Minikube作简单介绍。本文使用Ubuntu系统,因此以Linux系统安装为例。
2017-08-17 10:50:41
917
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人