摘要:
什么是Luhn算法? pub fn luhn(cc_number: &str) -> bool { //scan number from right to left, the digit *2 which in every second position if cc_number.is_empty( 阅读全文
摘要:
最近在使用android stuido编译项目时出现了: Execution failed for task ‘:app:kaptDebugKotlin’. A failure occurred while executing org.jetbrains.kotlin.gradle.internal 阅读全文
摘要:
今天开始使用Rustlings学习Rust,记录遇到一些可爱的问题。 项目下载后,在项目根目录找到install.sh进行安装: ./install.sh 安装成功后,我们可以看到以下内容: Thanks for installing Rustlings! Is this your first ti 阅读全文
摘要:
/** 208. Implement Trie (Prefix Tree) https://leetcode.com/problems/implement-trie-prefix-tree/description/ A trie (pronounced as "try") or prefix tre 阅读全文