- 博客(3)
- 收藏
- 关注
原创 LeetCode-175、组合两个表
题目175.编写一个SQL查询,满足条件:无论person是否有地址信息,都需要基于上述两表提供person的以下信息:First Name,LastName,City,State解法# Write your MySQL query statement belowselect p.FirstName,p.LastName,a.City,a.statefrom person p left join address aon p.personid=a.personid注:在person有无地
2020-06-27 12:54:57
199
原创 LeetCode-1、两数之和
class Solution { public int[] twoSum(int[] nums, int target) { for (int i = 0; i < nums.length; i++) { for (int j = i + 1; j < nums.length; j++) { if (nums[j] == target - nums[i]) { r
2020-06-24 19:32:53
177
原创 Ubuntu18.04.1下gcc的安装与使用
gcc的安装方法一:sudo apt-get build-dep gcc方法二:sudo apt-get install build-essential`cyum -y install gcc gcc-c++ autoconf pcre pcre-devel make automakeyum -y install wget httpd-tools vim安装完了可以执行此命令来查看版本```cgcc--version输出如下:gcc(GCC)4.2.3(Ubuntu4.2.3
2020-05-28 12:30:33
965
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅