摘要:
QuestionCount the number of prime numbers less than a non-negative number,n.Solution 1Naive way, to check each number one by one. If a number i is pri... 阅读全文
摘要:
QuestionGiven two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrenc... 阅读全文
摘要:
QuestionGiven a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were insert... 阅读全文