注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
Applied using referral.
.
Two questions, 60 minutes and straight from Leetcode
1. Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target. You may return the combinations in any order.
. .и
The same number may be chosen from candidates an unlimited number of times. Two combinations are unique if the frequency of at least one of the chosen numbers is different.
It is guaranteed that the number of unique combinations that sum up to target is less than 150 combinations for the given input.
Similar to https://leetcode.com/problems/combination-sum/
..
2. Given a string s, return the longest palindromic substring in s.
Similar to https://leetcode.com/problems/longest-palindromic-substring/
newcomer, seeking some rice. thanks. Waral dи,
|