Mosquito


  • 首页

  • 关于

  • 标签

  • 分类

  • 归档

Java 中的注解 Annotation

发表于 2019-03-19 | 分类于 Java基础 |

前言:

在看到网络上对注释的解释之后,就觉得很专业,有所感悟,然后就想着记录下来。

Java 注解是一系列元数据,它提供数据用来解释程序代码,但是注解并非是所解释的代码本身的一部分。注释对于代码的运行效果没有直接影响。

注解(Annotation)是在 Java SE 5.0 版本中开始引入的概念,同 class 和 interface 一样,也属于一种类型。就在最开始的时候我还认为注解的地位不高,但是最终发现不是这样子的。像 @Transaction、@Service、@RestController、@RequestMapping、@CrossOrigin 等等这些注解的使用频率在我后面的学习当中,越来越高。

阅读全文 »

LeetCode--Two Sum

发表于 2019-03-18 | 分类于 编程练习 |

题目描述:

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.

阅读全文 »

LeetCode--TOP100打卡 & 目录

置顶 | 发表于 2019-03-18 | 分类于 编程练习 |

前言:

这里是蚊子的打卡目标,LeetCode Top 100,加油,冲鸭!

阅读全文 »

LeetCode--Longest Substring Without Repeating Characters

发表于 2019-03-18 | 分类于 编程练习 |

题目描述:

Given a string, find the length of the longest substring without repeating characters.

阅读全文 »

LeetCode--Add Two Numbers

发表于 2019-03-18 | 分类于 编程练习 |

题目描述:

You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.

You may assume the two numbers do not contain any leading zero, except the number 0 itself.

阅读全文 »

Spring IOC 和 DI 的概念和原理

发表于 2019-03-06 | 分类于 Spring |

前言:

前几天看博客的时候,看到了网上对于Spring IOC 和 DI 的概念的解析,觉得很不错,然后提取了其中一部分精华内容并做了一些自己的理解。

阅读全文 »

找到数组中出现次数唯一不同的数字

发表于 2019-02-08 | 分类于 算法基础 |

题型:

给出一个整型数组,每个元素都出现 $k$ ($k>1$)次,只有一个元素出现 $p$ 次($p \geq 1$,$p \% k != 0$)。找到这个单独的元素。

阅读全文 »

排序练习

发表于 2019-01-26 | 分类于 算法基础 |

前言:

昨天学习了九大基本排序,然后就想着不能学了不用,所以今天就莽了几个经典的排序面试题,顺带记录下来……

阅读全文 »

常见的九大排序

发表于 2019-01-21 | 分类于 算法基础 |

前言:

这几天一直在整理排序的东西,然后发现还是有很多东西的。以前一直没怎么接触过桶排序(计数排序、基数排序),然后在整理排序的时候,认真的学习了一下,还有就是这篇博客其实两天前就计划写了的,嘿嘿嘿~因为小蚊子太懒辣~每次都说晚上来写,结果都咕咕掉了,今天终于痛心疾首!决定认真的记录一下了。

阅读全文 »

Java 中 add/offer...等区别

发表于 2019-01-18 | 分类于 Java基础 |

前言:

今天在用到offer中,意识到它的用法和add有所重复,所以在这里罗列出了一些重复方法的具体区别

阅读全文 »
1234
Mosquito

Mosquito

qwq

33 日志
8 分类
11 标签
友情链接
  • 树哥
  • 露露
  • 饼哥
  • 小a
  • 糖糖
© 2019 Mosquito
由 Hexo 强力驱动
|
主题 — NexT.Pisces v5.1.4