Skip to content

walterfan/code-kata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is kata

Kata 中文应该称为"套路", 练习武术的秘诀就是掌握各种套路

Dave Thomas 最早提出了 Code Kata 这个想法, Dave 还在他的网站上收集了一小的练习项目。 有些练习很有意思,有些就比较无聊了。

作为一个专业程序员,我还是希望练习一些工作中经常能用得上的套路,例如一些文件修改,图片切割,网络收发的小套路

C++ Kata

pip install conan
conan install conanfile.txt --build=missing

cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=./Release/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build .

Reference

Kata01: Supermarket Pricing
Kata02: Karate Chop
Kata03: How Big? How Fast?
Kata04: Data Munging
Kata05: Bloom Filters
Kata06: Anagrams
Kata07: How'd I Do?
Kata08: Conflicting Objectives
Kata09: Back to the Checkout
Kata10: Hashes vs. Classes
Kata11: Sorting It Out
Kata12: Best Sellers
Kata13: Counting Code Lines
Kata14: Tom Swift Under the Milkwood
Kata15: A Diversion
Kata16: Business Rules
Kata17: More Business Rules
Kata18: Transitive Dependencies
Kata19: Word Chains
Kata20: Klondike
Kata21: Simple Lists