Bloomberg | Phone | Add Strings
Anonymous User
2172

https://leetcode.com/problems/add-strings/

Add 2 numbers (positive or negative) represented as String without directly converting them to integers.
"245" + "50" -> "295"
"245" + "-50" -> "195"

Tricky to handle negative cases.

Comments (6)