摘要: Problem : Given a non empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a li 阅读全文
posted @ 2020-02-05 22:58 littledy 阅读(96) 评论(0) 推荐(0)
摘要: Problem : Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of this 阅读全文
posted @ 2020-02-05 22:27 littledy 阅读(71) 评论(0) 推荐(0)
摘要: Problem : Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You 阅读全文
posted @ 2020-02-05 11:05 littledy 阅读(85) 评论(0) 推荐(0)