摘要:
Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: s = "leetcode" return 0. 阅读全文
posted @ 2018-03-30 22:32
bonelee
阅读(246)
评论(0)
推荐(0)
摘要:
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 -> 3 - 阅读全文
posted @ 2018-03-30 22:08
bonelee
阅读(190)
评论(0)
推荐(0)
摘要:
Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a g 阅读全文
posted @ 2018-03-30 22:05
bonelee
阅读(187)
评论(0)
推荐(0)
摘要:
例如: python dig_ip.py 8264.comRecursive name lookup (simulates dig)...8264.com cname is qaz2d84guo7uz5q2.gfnormal01at.com.[u'121.29.18.91'] =>IP地址 pyth 阅读全文
posted @ 2018-03-30 11:05
bonelee
阅读(1662)
评论(0)
推荐(0)

浙公网安备 33010602011771号