摘要: [抄题]: You are given a data structure of employee information, which includes the employee's unique id, his importance value and his directsubordinates 阅读全文
posted @ 2018-04-24 21:49 苗妙苗 阅读(135) 评论(0) 推荐(0)
摘要: [抄题]: Given an integer array with even length, where different numbers in this array represent different kinds of candies. Each number means one candy 阅读全文
posted @ 2018-04-24 17:07 苗妙苗 阅读(155) 评论(0) 推荐(0)
摘要: [抄题]: Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear 阅读全文
posted @ 2018-04-24 16:35 苗妙苗 阅读(430) 评论(0) 推荐(0)
摘要: [抄题]: Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more lett 阅读全文
posted @ 2018-04-24 16:08 苗妙苗 阅读(222) 评论(0) 推荐(0)
摘要: [抄题]: Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a 阅读全文
posted @ 2018-04-24 10:49 苗妙苗 阅读(589) 评论(0) 推荐(0)