Skip to content

🤖 Programming challenges with their solutions in JavaScript

Notifications You must be signed in to change notification settings

aaabdyrahmanov/algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithms

Basic Overview

Repo is based on challenge solutions of the following coding platforms:

Getting Started

These instructions will get you a copy of the algorithms and help you to better understand on the algorithms with their provided tests.

Prerequisites

  • Install local Node.js environment
  • Install one of the following Yarn or npm package managers locally

Clone the repo in your environment

git clone https://github.com/aaabdyrahmanov/algorithms.git

Installing

# move into project folder
cd algorithms

# install the dependencies
yarn install

Running tests

yarn test

Codewars

# Challenge Solution Difficulty
1 16+18=214 JavaScript 7 kyu
2 Abbreviate a Two Word Name JavaScript 8 kyu
3 Alphabet war JavaScript 7 kyu
4 Apparently-Modifying Strings JavaScript 7 kyu
5 Are the numbers in order? JavaScript 7 kyu
6 Basic Sequence Practice JavaScript 7 kyu
7 Break camelCase JavaScript 6 kyu
8 Create Phone Number JavaScript 6 kyu
9 Credit Card Mask JavaScript 7 kyu
10 Descending Order JavaScript 7 kyu
11 Dominant Array Elements JavaScript 7 kyu
12 Even or Odd - Which is Greater? JavaScript 7 kyu
13 Extra Perfect Numbers (Special Numbers Series #7) JavaScript 7 kyu
14 Find Screen Size JavaScript 7 kyu
15 Find Your Villain Name JavaScript 7 kyu
16 Find the odd int JavaScript 6 kyu
17 Form The Largest JavaScript 7 kyu
18 GCD sum JavaScript 7 kyu
19 Get the Middle Character JavaScript 7 kyu
20 Hells Kitchen JavaScript 7 kyu
21 How many are smaller than me? JavaScript 7 kyu
22 How many days are we represented in a foreign country? JavaScript 7 kyu
23 IQ Test JavaScript 6 kyu
24 List of Presents JavaScript 7 kyu
25 Love vs Friendship JavaScript 7 kyu
26 Meeting JavaScript 6 kyu
27 Moving Zeros To The End JavaScript 5 kyu
28 Mumbling JavaScript 7 kyu
29 Numbers in strings JavaScript 7 kyu
30 Odd or Even? JavaScript 7 kyu
31 Peak array index JavaScript 7 kyu
32 Playing with digits JavaScript 6 kyu
33 Replace all items JavaScript 7 kyu
34 Running out of space JavaScript 7 kyu
35 Say Me Please Operations JavaScript 7 kyu
36 Simple Fun #160: Cut The Ropes JavaScript 6 kyu
37 Simple letter removal JavaScript 7 kyu
38 Sort the odd JavaScript 6 kyu
39 Split Strings JavaScript 6 kyu
40 Square Every Digit JavaScript 7 kyu
41 String Doubles JavaScript 7 kyu
42 String Merge! JavaScript 7 kyu
43 String ends with? JavaScript 7 kyu
44 Sum even numbers JavaScript 7 kyu
45 Sum of Pairs JavaScript 5 kyu
46 Sum of a nested list JavaScript 7 kyu
47 Sum of array singles JavaScript 7 kyu
48 Sum of two lowest positive integers JavaScript 7 kyu
49 Sum two arrays JavaScript 6 kyu
50 Two to One JavaScript 7 kyu
51 Valid Spacing JavaScript 7 kyu
52 Very Even Numbers. JavaScript 7 kyu
53 Your order, please JavaScript 6 kyu
54 Zalgo text reader JavaScript 7 kyu
55 heggeleggleggo JavaScript 7 kyu

LeetCode

# Title Solution Difficulty Tag
75 Sort Colors JavaScript Medium Two Pointers
258 Add Digits JavaScript Easy
263 Ugly Number JavaScript Easy
342 Power of Four JavaScript Easy Math

🤝 Contributing

Your ideas/fixes/algorithms are more than welcome!

  1. Fork this repo
  2. Clone your forked repo onto your local machine
git clone https://github.com/YOUR_GITHUB_USERNAME/algorithms.git
  1. cd into your cloned directory, create your feature branch (git checkout -b awesome-fix)
  2. git add your desired changes to this repo
  3. Commit your changes (git commit -m 'Added some awesome features/fixes')
  4. Push to the branch (git push origin awesome-feature)
  5. Create a new Pull Request to this repo

About

🤖 Programming challenges with their solutions in JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published