摘要: Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio 阅读全文
posted @ 2017-08-30 17:47 immjc 阅读(89) 评论(0) 推荐(0)
摘要: Given an array with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element. We define an array is non-decr 阅读全文
posted @ 2017-08-30 12:19 immjc 阅读(217) 评论(0) 推荐(0)