上一页 1 ··· 4 5 6 7 8 9 10 下一页

2017年9月26日

摘要: Given a non-negative integernum, repeatedly add all its digits until the result has only one digit. For example: Givennum = 38, the process is like:3 阅读全文
posted @ 2017-09-26 19:45 Wanna_Go 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Given a non-negative integernum, repeatedly add all its digits until the result has only one digit. For example: Givennum = 38, the process is like:3 阅读全文
posted @ 2017-09-26 19:12 Wanna_Go 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Given two stringssandtwhich consist of only lowercase letters. Stringtis generated by random shuffling stringsand then add one more letter at a random 阅读全文
posted @ 2017-09-26 19:11 Wanna_Go 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Given a Binary Search Tree and a target number, return true if there exist two elements in the BST such that their sum is equal to the given target. E 阅读全文
posted @ 2017-09-26 19:05 Wanna_Go 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Given an arraynums, write a function to move all0's to the end of it while maintaining the relative order of the non-zero elements. For example, given 阅读全文
posted @ 2017-09-26 18:57 Wanna_Go 阅读(164) 评论(0) 推荐(0) 编辑
摘要: You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to be rep 阅读全文
posted @ 2017-09-26 18:54 Wanna_Go 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Given an m * n matrixMinitialized with all0's and several update operations. Operations are represented by a 2D array, and each operation is represent 阅读全文
posted @ 2017-09-26 18:53 Wanna_Go 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all 阅读全文
posted @ 2017-09-26 18:53 Wanna_Go 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Given anon-emptyinteger array of sizen, find the minimum number of moves required to make all array elements equal, where a move is incrementingn- 1 e 阅读全文
posted @ 2017-09-26 18:52 Wanna_Go 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 环境5台装有centos 6.9系统的服务器 1.网络配置 修改hostname: 通过 重启网络服务生效 ,将集群中主机ip 与主机名添加进去 集群中的每台机器都需要配置,且需要一致。 2.SSH无密码登陆 现在主节点执行命令 删除已有的密钥,然后执行 一路回车,生成三个文件 授权文件,存放远程登 阅读全文
posted @ 2017-09-26 18:26 Wanna_Go 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页

导航