摘要:
看眼缘随机拿了一道不难的题https://leetcode.com/problems/add-digits/description/ Given a non-negative integer num, repeatedly add all its digits until the result ha 阅读全文
摘要:
看到shell没几道题,那就把shell先刷了吧 Write a bash script to calculate the frequency of each word in a text file words.txt. For simplicity sake, you may assume: wo 阅读全文
摘要:
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 阅读全文