**93.复原IP地址 ** 本期本来是很有难度的,不过 大家做完 分割回文串 之后,本题就容易很多了 题目链接/文章讲解 | 视频讲解 class Solution {public:vector<string> result;// pointNum记录加入的点的数量,其等于3的时候停止void backtracking(string& s, int startindex, int po
题目: Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example, Given [100, 4, 200, 1, 3, 2], The longest consecutive elements sequence is [1, 2
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example, Given the following matrix: [[ 1, 2, 3 ],[ 4, 5, 6 ],[ 7, 8, 9 ]] You sh
文章目录 93.复原IP地址78.子集90.子集II 93.复原IP地址 文字讲解:复原IP地址 视频讲解:复原IP地址 **状态:**此题调试了几次ok,与昨天的分割回文子串相比,就是在判断终止条件处需要处理; 思路: 代码: class Solution {List<String> result = new ArrayList<>();LinkedList<St