最新 最热

matinal:Python实现文件夹的拷贝覆盖

项目有个脚本,操作【文件/文件夹】用的【cp/rm】命令(平时在Mac上使用),现在要在Windows上也能使用,便用Python重写了下,文件/文件夹操作这部分封装了几个函数,做个记录以备后查。...

2023-10-14
2

LeetCode 0342 - Power of Four

Given an integer (signed 32 bits), write a function to check whether it is a power of 4.

2021-08-11
2

LeetCode 0326 - Power of Three

Given an integer, write a function to determine if it is a power of three.

2021-08-11
2

Leetcode 258. Add Digits

Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: 3 + ...

2018-01-12
2