CodeFights solutions written in Swift 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 ###If you want to see solutions for HackerEarth, please visit my another github project HackerEarth Solutions in Swift ###If you want to see solutions for HackerRank, please visit my another github project HackerRank Solutions in Swift
# | Title | Analysis or Solution |
---|---|---|
100 | cyclic string | Swift |
99 | strings crossover | Swift |
98 | combs | Swift |
97 | pair of shoes | Swift |
96 | array previous less | Swift |
95 | array conversion | Swift |
94 | volleyball positions | Swift |
93 | draw rectangle | Swift |
92 | crossing sum | Swift |
91 | swap diagonals | Swift |
90 | reverse on diagonals | Swift |
89 | are isomorphic | Swift |
88 | extract matrix column | Swift |
87 | alphanumeric less | Swift |
86 | decipher | Swift |
85 | higher version | Swift |
84 | stolen lunch | Swift |
83 | cipher26 | Swift |
82 | new numeral system | Swift |
81 | reflect string | Swift |
80 | character parity | Swift |
79 | three split | Swift |
78 | ada number | Swift |
77 | are similar | Swift |
76 | integer to string with fixed width | Swift |
75 | elections winners | Swift |
74 | timed reading | Swift |
73 | switch lights | Swift |
72 | add border | Swift |
71 | minimal number of coins | Swift |
70 | alphabet subsquence | Swift |
69 | house of cats | Swift |
68 | all longest strings | Swift |
67 | house numbers sum | Swift |
66 | number of clans | Swift |
65 | most frequent digit sum | Swift |
64 | different squares | Swift |
63 | numbers grouping | Swift |
62 | construct square | Swift |
61 | create anagram | Swift |
60 | is substitution cipher | Swift |
59 | strings constructions | Swift |
58 | is unstable pair | Swift |
57 | is mac 48 address | Swift |
56 | html end tag by start tag | Swift |
55 | find email domain | Swift |
54 | is case insensitive palindrome | Swift |
53 | is tandem repeat | Swift |
52 | proper noun correction | Swift |
51 | enclose in brackets | Swift |
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 |