Meme Sum :)

Published by Mubashir Hassan in

For this challenge, forget how to add two numbers together. The best explanation on what to do for this function is this meme:

Alternative Text

Examples

MemeSum(26, 39) ➞ 515
// 2+3 = 5, 6+9 = 15
// 26 + 39 = 515

MemeSum(122, 81) ➞ 1103
// 1+0 = 1, 2+8 = 10, 2+1 = 3
// 122 + 81 = 1103

MemeSum(1222, 30277) ➞ 31499

Notes

N/A

Watch a quick demo on how Edabit works.