PChaparro/coding-practices

Solutions, in multiple languages, to practices / challenges from platfforms like #codewars, #leetcode, #codeforces, #aoc,etc.

โ˜… 1Forks 0C++GitHub โ†—Compare
codewarscodewars-solutionstypescript

README

๐Ÿ”ฅ Coding Practices

In this repository you can find some coding practices from different sources like CodeWars, LeetCode, HackerRank, etc.

๐Ÿ’ป Technologies

๐ŸŸฆ TypeScript

To run and test the TypeScript code, I'm using Deno instead of Node as the runtime environment, so that I can run the .ts files directly without the need of transpiling them to .js files:

deno run <file_name>.ts

Similarly, to run the tests, you can use the following command:

deno test <file_name>.ts

๐Ÿ‡จ C++

To run and test the C++ code, I'm using g++ compiler:

g++ <file_name>.cpp -o <file_name>.bin

After compiling the code, you can run the binary file:

./<file_name>.bin

You can compile and run the code using the following one-liner:

g++ <file_name>.cpp -o <file_name>.bin && ./<file_name>.bin

Contributors

PChaparro

Issues