程序媛詹妮弗
终身学习
摘要: Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Exampl 阅读全文
posted @ 2019-04-04 14:49 程序媛詹妮弗 阅读(201) 评论(0) 推荐(0)
摘要: Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: Example 3: 阅读全文
posted @ 2019-04-04 07:48 程序媛詹妮弗 阅读(116) 评论(0) 推荐(0)
摘要: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font 阅读全文
posted @ 2019-04-04 07:24 程序媛詹妮弗 阅读(238) 评论(0) 推荐(0)
摘要: 集体右移:选中代码,按tab键 集体左移:选中代码,按shift+tab键 阅读全文
posted @ 2019-04-04 05:37 程序媛詹妮弗 阅读(112) 评论(0) 推荐(0)
摘要: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: 题意: 给定一个10进制整数,翻转它。 Solution1: directly do the simulatio 阅读全文
posted @ 2019-04-04 03:34 程序媛詹妮弗 阅读(169) 评论(0) 推荐(0)