Category: Algorithm ideas

leetCode Weekly Competition 81 Problem Solving Report 0

leetCode Weekly Competition 81 Problem Solving Report

Hits: 0Contest address https://leetcode.com/contest/weekly-contest-81 Shortest Distance to a Character Given a string S and a character C, return an array of integers representing the shortest distance from the character C in the string. Example 1: Input: S = "loveleetcode",...