LeetCode – Strings – Make String Great
Given a string s of lower and upper case English letters. A good string is a string which doesn’t have two adjacent characters s and s where: To make the…
Given a string s of lower and upper case English letters. A good string is a string which doesn’t have two adjacent characters s and s where: To make the…
Given a string path, where path = 'N', 'S', 'E' or 'W', each representing moving one unit north, south, east, or west, respectively. You start at the origin (0, 0)…
Given a date string in the form Day Month Year, where: Convert the date string to the format YYYY-MM-DD, where: Example 1: Input: date = "20th Oct 2052" Output: "2052-10-20"…