摘要: Given a 32-bit signed integer, reverse digits of an integer. Note:Assume we are dealing with an environment that could only store integers within the 阅读全文
posted @ 2020-11-24 22:47 diameter 阅读(99) 评论(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 @ 2020-11-24 17:51 diameter 阅读(146) 评论(0) 推荐(0)
摘要: 一、如果按字节处理,可以用struct https://docs.python.org/2/library/struct.html By default, C types are represented in the machine’s native format and byte order, a 阅读全文
posted @ 2020-11-24 10:18 diameter 阅读(5240) 评论(0) 推荐(0)