Algo. Add strings
https://leetcode.com/problems/add-strings/
public string AddStrings(string num1, string num2) { var needZeroes = num1.Length — num2.Length; // adding leading zeroes var absNeedZeroes = Math.Abs(needZeroes); if (needZeroes
https://leetcode.com/problems/add-strings/
public string AddStrings(string num1, string num2) { var needZeroes = num1.Length — num2.Length; // adding leading zeroes var absNeedZeroes = Math.Abs(needZeroes); if (needZeroes
isomorphing strings on leetcode
public bool IsIsomorphic(string s, string t) { if (s.Length != t.Length) return false; var firstStringDict = new Dictionary<char,
https://leetcode.com/problems/valid-palindrome/
my decision below
static bool IsPalindrome(string s) { var alphaNum = GetAlphaNumFromString(s).ToLower(); if (alphaNum == «») return true; var reversed = ReverseString(alphaNum); Console.WriteLine(alphaNum);