20210416 Likou question 17: letter combination of telephone number

  1. Title Given a string containing only the numbers , 2-9 , returns all the letter combinations it can represent. The answers can be returned in any order. The mapping of numbers to letters is given as follows (the same as telephone keys). Note that 1 does not correspond to any letter. Source: LeetCode link: https://leetcode-cn.com/pr ...

Added by ShadowMetis on Sat, 05 Mar 2022 01:34:24 +0200

Sword finger offer question set

Statement: the title and figure are from Leecode: https://leetcode-cn.com/ Sword finger offer 3: Duplicate number in array Title: Solution ①: use additional array space. Execution time: 2 ms; Memory consumption: 46.1 MB class Solution { public int findRepeatNumber(int[] nums) { //Create an array with length n and initial ...

Added by aboldock on Sun, 16 Jan 2022 08:24:07 +0200