I had this question in an OA, I just sorted the words and compared them, prolly not as efficient as this solution but I moved on to the next round
2024-03-29 14:08:56
10
Trasho :
i have a question, Can we solve this by just counting the ASCII value of the words and grouping them if their value is the same?
2024-03-29 14:16:47
0
coolskies218 :
Can you make a new list and add it if it has letter "c" in word? for word in list: for letter in word: if letter =="c" add to new list then do it again for the other one
2024-04-06 00:12:32
0
To see more videos from user @greghogg5, please go to the Tikwm
homepage.