CodeFights solutions written in Swift 3 with detailed explanation.
###For more articles and analysis on algorithmic problems written in Swift, please visit my blog: ###http://www.yangyanzhan.com/ ###If you like my project and blog, don't forget to star this project.:smile:
###Bonus: ###If you want to see solutions for LeetCode, please visit my another github project LeetCode Solutions in Swift ###If you want to see solutions for Exercism, please visit my another github project Exercism Solutions in Swift
# | Title | Analysis or Solution |
---|---|---|
50 | crossword formation | Swift |
49 | rectangle rotation | Swift |
48 | weak numbers | Swift |
47 | comfortable numbers | Swift |
46 | pages numbering with ink | Swift |
45 | square digits sequence | Swift |
44 | is sum of consecutive | Swift |
43 | is power | Swift |
42 | make array consecutive | Swift |
41 | replace middle | Swift |
40 | is smooth | Swift |
39 | remove array part | Swift |
38 | concatenate arrays | Swift |
37 | first reverse try | Swift |
36 | array replace | Swift |
35 | create array | Swift |
34 | count black cells | Swift |
33 | candles | Swift |
32 | rounders | Swift |
31 | increase number roundness | Swift |
30 | apple boxes | Swift |
29 | addition without carrying | Swift |
28 | lineup | Swift |
27 | magical well | Swift |
26 | count sum of two representations 2 | Swift |
25 | least factorial | Swift |
24 | equal pair of bits | Swift |
23 | different rightmost bit | Swift |
22 | swap adjacent bits | Swift |
21 | second rightmost zero bit | Swift |
20 | mirro bits | Swift |
19 | range bit count | Swift |
18 | array packing | Swift |
17 | kill kth bit | Swift |
16 | metro card | Swift |
15 | will you | Swift |
14 | tennis set | Swift |
13 | arithmetic expression | Swift |
12 | is infinite process | Swift |
11 | extra number | Swift |
10 | knapsack light | Swift |
9 | reach next level | Swift |
8 | phone call | Swift |
7 | late ride | Swift |
6 | circle of numbers | Swift |
5 | max multiple | Swift |
4 | seats in theater | Swift |
3 | candies | Swift |
2 | largest number | Swift |
1 | add two digits | Swift |