不困的四点

  • 首页

  • 分类

  • 标签

  • 归档

  • 关于

  • 公益 404

  • 搜索

[LeetCode] 7.Reverse Integer

发表于 2015-06-18 | 更新于 2019-06-12 | 分类于 LeetCode | 阅读次数:
字数统计:157 字 | 阅读时长:1 分钟

7.Reverse Integer

Reverse digits of an integer.

Example1: x = 123, return 321
Example2: x = -123, return -321

整数反转,忽略符号部分。

阅读全文 »

[LeetCode] 1.Two Sum

发表于 2015-06-14 | 更新于 2020-03-01 | 分类于 LeetCode | 阅读次数:
字数统计:280 字 | 阅读时长:1 分钟

1. Two Sum

Given an array of integers, find two numbers such that they add up to a specific target number.

The function twoSum should return indices of the two numbers such that they add up to the target, where index1 must be less than index2. Please note that your returned answers (both index1 and index2) are not zero-based.

You may assume that each input would have exactly one solution.

Input: numbers={2, 7, 11, 15}, target=9

Output: index1=1, index2=2

给定一个整型数组,找到两个数,使得两个数相加的和为指定的目标数;

阅读全文 »

SQL injection(SQL 注入攻击) 原理浅析

发表于 2015-06-03 | 更新于 2018-06-30 | 分类于 SQL | 阅读次数:
字数统计:982 字 | 阅读时长:4 分钟

1.database 数据库

A database is an organized collection of data. The data is typically organized to model aspects of reality in a way that supports processes requiring information.

数据库,简单来说可视为电子化的文件柜——存储电子文件的处所,用户可以对文件中的数据运行新增、截取、更新、删除等操作。

数据库指的是以一定方式储存在一起、能为多个用户共享、具有尽可能小的冗余度、与应用程序彼此独立的数据集合。

阅读全文 »
1…1112
不困

不困

58 日志
19 分类
50 标签
© 2015 – 2020 不困
由 Hexo 强力驱动 v3.8.0
|
主题 – NexT.Gemini v7.0.1
本站总访问量:次 | 本站总访客数:人 |
全站共44.2k字