You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**[⬆ Back to Top](#javascript-coding-challenges-for-beginners)**
1563
1563
1564
-
## 47. Pete, the baker
1564
+
## 47. Pete, the Baker
1565
1565
1566
1566
Pete likes to bake some cakes. He has some recipes and ingredients. Unfortunately he is not good in maths. Can you help him to find out, how many cakes he could bake considering his recipes?
**[⬆ Back to Top](#javascript-coding-challenges-for-beginners)**
1606
1606
1607
-
## 48. Count characters in your string
1607
+
## 48. Count Characters in Your String
1608
1608
1609
1609
Write a function that counts the frequency of all the characters in a given string.
1610
1610
@@ -1664,7 +1664,7 @@ const solution = str => {
1664
1664
1665
1665
**[⬆ Back to Top](#javascript-coding-challenges-for-beginners)**
1666
1666
1667
-
## 50. Check if Word Equals Summation of Two Words
1667
+
## 50. Check if Word Equals Summation of Two Words
1668
1668
1669
1669
Let's assume that the numeric value of a letter is its position in the alphabet starting from `0` (i.e. `a -> 0, b -> 1, c -> 2`, etc.). Similarly, the numerical value of a string `str` consisting of some lowercase English letters is the concatenation (not sum!) of the numeric values of each letter in `str`, which is then converted into an integer. For example, if `str = 'acb'`, we concatenate each letter's numeric value, resulting in `021` which is then converted to integer `21`.
0 commit comments