在最前面:
在AS中新建project 时,请勾上:
- This project will support instant apps
use androidx.* artifacts避免版本依赖的问题
在最前面:
在AS中新建project 时,请勾上:
use androidx.* artifacts 避免版本依赖的问题Easy
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
An input string is valid if:
Note that an empty string is also considered valid.
统一勾画(题目中)关键词,之后阅读文章
fewer, hardly唯一性词汇:
数字 并列结构(A and B;either A or B) 百分比
人名 地名 装有名
超纲(原词复现,词性变化,同意替换) 引号 连字符
关于机构
中学
学术界
机构招聘
Easy 2019-04-30
Given an array of integers, return indices of the two numbers such that they add up to a specific target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.
Example:
1 | Given nums = [2, 7, 11, 15], target = 9, |
先将数和索引作为键值对加入map,再去从map中找target - nums[i]
1 | //2019-04-30 |