Table of content

What is this :grey_question:

The rules of the game are explained in my original post.

24th Challenge

Challenge

Reddit Programming Daily Challenge [2021-07-19] Challenge #399 [Easy] Letter value sum.

Solution :white_check_mark:

	let f = |k:&str| k.bytes().fold(0,|acc,x|acc + ((x - b'a' + 1) as u32));
	

To see the full source see github and see the live demo in playground.