- 博客(3)
- 收藏
- 关注
原创 LeetCode-175、组合两个表
题目 175. 编写一个SQL查询,满足条件:无论person是否有地址信息,都需要基于上述两表提供person的以下信息: First Name,LastName,City,State 解法 # Write your MySQL query statement below select p.FirstName,p.LastName,a.City,a.state from person p left join address a on p.personid=a.personid 注: 在person有无地
2020-06-27 12:54:57 152
原创 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 134
原创 Ubuntu18.04.1下gcc的安装与使用
gcc的安装 方法一: sudo apt-get build-dep gcc 方法二: sudo apt-get install build-essential `c yum -y install gcc gcc-c++ autoconf pcre pcre-devel make automake yum -y install wget httpd-tools vim 安装完了可以执行此命令来查看版本 ```c gcc--version 输出如下: gcc(GCC)4.2.3(Ubuntu4.2.3
2020-05-28 12:30:33 883
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人