Leetcode Shortest Path String Escape Sql Server