All Projects → lndgalante → Codewars Katas

lndgalante / Codewars Katas

🥋 Codewars katas ark

Programming Languages

javascript
184084 projects - #8 most used programming language
es2015
71 projects

Projects that are alternatives of or similar to Codewars Katas

Learning
自己整理了一些网上和书籍中的知识与笔记,来应对技术面试可能遇到的一些问题,包括算法、操作系统、计算机网络、Java、C++、Python、Go。概念不是最重要的!概念不是最重要的!概念不是最重要的!练习题才是!重要的事情说三遍,概念是不是看了很多遍,看几遍忘几遍,题目做过几遍,是不是印象很深,精华是题目,笔者在大量练习后摘录了书籍、牛客网、赛码网、W3C、CSDN等各种渠道的练习题,较为基础的这里就不录入了,主要录入一些易混淆,不容易理解的题目。作者也不喜欢重复造轮子,某些知识点的解释有比较详细的博客,作者就简单引用了,只有作者觉得找不到解释较好的博客时,作者会自己写一篇然后引用,限于篇幅,具体还请点击链接详细了解。
Stars: ✭ 194 (-8.49%)
Mutual labels:  algorithms
Rust
All Algorithms implemented in Rust
Stars: ✭ 4,562 (+2051.89%)
Mutual labels:  algorithms
C Sharp
All algorithms implemented in C#.
Stars: ✭ 3,310 (+1461.32%)
Mutual labels:  algorithms
Awesome Coding Interview Question Patterns
The most common question-patterns for any coding-interview
Stars: ✭ 196 (-7.55%)
Mutual labels:  algorithms
Algorithms4
🔥Algorithms, 4th Edition SOLUTIONS🔥
Stars: ✭ 198 (-6.6%)
Mutual labels:  algorithms
Javacollection
Java开源项目之「自学编程之路」:学习指南+面试指南+资源分享+技术文章
Stars: ✭ 2,957 (+1294.81%)
Mutual labels:  algorithms
Collections C
A library of generic data structures.
Stars: ✭ 2,297 (+983.49%)
Mutual labels:  algorithms
Javascript Algorithms
基础理论+JS框架应用+实践,从0到1构建整个前端算法体系
Stars: ✭ 3,282 (+1448.11%)
Mutual labels:  algorithms
Acmer Qualification Code
ACMer 入门级算法模板
Stars: ✭ 202 (-4.72%)
Mutual labels:  algorithms
Rxcpp
Reactive Extensions for C++
Stars: ✭ 2,513 (+1085.38%)
Mutual labels:  algorithms
Rrt Algorithms
n-dimensional RRT, RRT* (RRT-Star)
Stars: ✭ 195 (-8.02%)
Mutual labels:  algorithms
Competitive Programming Resources
This repository consists of data helpful for ACM ICPC programming contest, in general competitive programming.
Stars: ✭ 199 (-6.13%)
Mutual labels:  algorithms
Cs50
🎓 Harvard CS50x — 2018 solutions 👨‍🏫
Stars: ✭ 206 (-2.83%)
Mutual labels:  algorithms
Leetcode Java Solutions
Solutions to LeetCode Online Judge problems in Java
Stars: ✭ 194 (-8.49%)
Mutual labels:  algorithms
Problem Solving Training
Problem solving training for computer science students.
Stars: ✭ 210 (-0.94%)
Mutual labels:  algorithms
Interviewguide
《大厂面试指北》——包括Java基础、JVM、数据库、mysql、redis、计算机网络、算法、数据结构、操作系统、设计模式、系统设计、框架原理。最佳阅读地址:http://notfound9.github.io/interviewGuide/
Stars: ✭ 3,117 (+1370.28%)
Mutual labels:  algorithms
Leetcodesolutions
Theoretical solutions for LeetCode problems.
Stars: ✭ 205 (-3.3%)
Mutual labels:  algorithms
Blog
大前端技术为主,读书笔记、随笔、理财为辅,做个终身学习者。
Stars: ✭ 3,179 (+1399.53%)
Mutual labels:  algorithms
Shareoi
算法竞赛课件分享 - Program algorithm learning materials collection in Chinese
Stars: ✭ 2,702 (+1174.53%)
Mutual labels:  algorithms
Delatin
A fast JavaScript terrain mesh generation tool based on Delaunay triangulation
Stars: ✭ 207 (-2.36%)
Mutual labels:  algorithms

Codewars Katas

Solutions for Codewars katas

Table of Contents

Introduction

Solutions with tests, tips and tutorials for Codewars katas. Almost every kata has a long solution and a shorter one, IMHO a long descriptive solution it's preferred over a cryptic one-liner, unless it's understandable for your entire team.

Disclaimer

  • Codewarriors are strongly encouraged not to look at your solutions to Kata until they have completed it themselves or at least took the time to think about their own approaches
  • Codewarriors should not submit your solutions as their own
  • You will not be accepting contributions of any form to this repo
  • Creating a repository like this is discouraged by Codewars

Vocabulary

  • Kata: is an algorithm you have to solve in any programming language you desire

  • Kyu: is a digit that determines kata difficulty level as well as the user rank on the platform

Node.js & ES6+ Support

The current Node versions available are the following Node.js v6.x, Node.js v8.x and Node.js v10.x

Purpose

Practicing katas could help you to improve your algorithmic thinking. It could also help at interviews being more confident and learning a few tricks of your preferred language. I highly recommend the Tech Interview Handbook which will help you ace your next technical interview.

Repository Structure

There's a folder for each kata nested in its own kyu

├── 8-kyu/
│   ├── Mr. Freeze/
│   │   ├── index.js
│   │   └── index.test.js
│   └── ...
│
├── 7-kyu/
│   ├── Binary Addition/
│   │   ├── index.js
│   │   └── index.test.js
│   └── ...

Global Index

This index will help you find all katas ordered alphabetically with a link to the kata folder.

Notes:

  • ✅ All completed
  • 🚧 Work in progress
  • ⏸️ Paused until last WIP is completed

To update the global index run

> npm run update-index

Create a new Kata

Since the kata generator uses some dependencies so you should install those first

> npm run install-generator-deps

To generate a new folder with an index.js and index.test.js run

> npm run create-kata [kata link]

In example

> npm run create-kata https://www.codewars.com/kata/drying-potatoes/train/javascript

Since this is a 7-kyu kata it will appear under this folder as a folder with its own title "Drying Potatoes".

Test your Might

If you want to test in watch mode uncommitted files

> npm run test-watch

Performance tests

Check Perflink if you want to compare performance between long and short solutions.

Development Dependencies

I also use Quokka Pro Edition for rapid prototyping. Also I recommend you Quokka Pro that has Live Comments.

Tips & Tricks

  1. Katas has tags that could help you in advance to know what to use. For example you could solve this kata using regular expressions.

    Codewars tags

  1. Katas could have some issues that goes beyond your implementation. If you're stuck check the Issues. Just click where it says 1 Issue Reported above the Instructions.

    Codewars issues

  1. Finally check the discussions in case the Instructions aren't really clear. Click on the Discuss button under the Sample Tests.

    Codewars issues

  1. After you submit your final solution check the Solutions to learn from other alternatives. If you don't understand them you can leave a comment or check the discussions of each one. Try to learn from these solutions and improve your current one or create a Short Solution of your own.
  1. If you check my solutions the "Long Solution" maybe is longer than the "Short Solution" but is more readable.
  1. If you want to check what solution is faster use jsPerf or JSBench

Learning Resources

More Helpful Resources

Similar Plattforms

Contributors

Feel free to open issues or send PRs

License

MIT © Leonardo Galante

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].