Find The Difference - LeetCode 389 - Python

preview_player
Показать описание
Solution, explanation, and complexity analysis for LeetCode 389, the problem of the day for September 25th, in Python

Problem Description

Code:
Рекомендации по теме
Комментарии
Автор

thought of a simpler way for approach 2 that I didn't mention. Can add up all of the ASCII values in t and subtract all of the ASCII values in s which will give you the ASCII value of the extra character instead of using bitwise XOR. Added that approach to the code.

Alpha-Code
join shbcf.ru