上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页
摘要: 下载MySQL 在Ubuntu16.04 LTS版本中。 1.安装mysql服务器,期间需要设置服务器登录密码 sudo apt-get install mysql-server 2.安装mysql客户机 sudo apt-get install mysql-client 3.安装mysql客户机c 阅读全文
posted @ 2017-07-31 19:39 immjc 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 数据库基本概念 1 数据库(database)保存有组织的数据的容器(通常是一个文件或一组文件)。 理解数据库的一个最简单的方法是将数据库想象为一个文件柜,此文件柜是一个存放数据的物理位置,不管数据是什么以及如何组织的。 2 表(table) 某种特定类型数据的结构化清单。 这里关键的一点是存储在表 阅读全文
posted @ 2017-07-31 19:12 immjc 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). For example, the 32-bit 阅读全文
posted @ 2017-07-25 18:37 immjc 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [-2,1,-3,4,-1,2, 阅读全文
posted @ 2017-07-25 18:16 immjc 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or 阅读全文
posted @ 2017-07-25 16:30 immjc 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Given a sorted linked list, delete all duplicates such that each element appear only once. For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, 阅读全文
posted @ 2017-07-25 16:11 immjc 阅读(119) 评论(0) 推荐(0) 编辑
摘要: You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need t 阅读全文
posted @ 2017-07-24 22:22 immjc 阅读(134) 评论(0) 推荐(0) 编辑
摘要: X city opened a new cinema, many people would like to go to this cinema. The cinema also gives out a poster indicating the movies’ ratings and descrip 阅读全文
posted @ 2017-07-24 14:32 immjc 阅读(317) 评论(0) 推荐(0) 编辑
摘要: Given a table salary, such as the one below, that has m=male and f=female values. Swap all f and m values (i.e., change all f values to m and vice ver 阅读全文
posted @ 2017-07-24 14:24 immjc 阅读(235) 评论(0) 推荐(0) 编辑
摘要: There is a table World + + + + + + | name | continent | area | population | gdp | + + + + + + | Afghanistan | Asia | 652230 | 25500100 | 20343000 | | 阅读全文
posted @ 2017-07-24 14:14 immjc 阅读(182) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页