摘要: [抄题]: Design a class which receives a list of words in the constructor, and implements a method that takes two words word1 and word2 and return the sh 阅读全文
posted @ 2018-07-26 22:33 苗妙苗 阅读(384) 评论(0) 推荐(0)
摘要: [抄题]: All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes usef 阅读全文
posted @ 2018-07-26 18:21 苗妙苗 阅读(230) 评论(0) 推荐(0)
摘要: [抄题]: Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or ano 阅读全文
posted @ 2018-07-26 17:03 苗妙苗 阅读(208) 评论(0) 推荐(0)
摘要: [抄题]: Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the largest product. Exampl 阅读全文
posted @ 2018-07-26 14:28 苗妙苗 阅读(134) 评论(0) 推荐(0)
摘要: [抄题]: Validate if a given string is numeric. Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => true Note: It is intended f 阅读全文
posted @ 2018-07-26 09:42 苗妙苗 阅读(171) 评论(0) 推荐(0)