Given an unsorted array of integers, find the length of the longest consecutive elements sequence.Your algorithm should run in O(n) complexity.Example... ...
分类:
其他好文 时间:
2020-02-27 11:41:45
阅读次数:
73
java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result. at java.math.BigDecimal.divide(Unknown Source ...
分类:
编程语言 时间:
2020-02-26 18:42:55
阅读次数:
72
参考 https://developer.android.com/topic/libraries/architecture/lifecycle https://developer.android.com/jetpack/androidx/releases/lifecycle 配置 需要在本目录的bu ...
分类:
其他好文 时间:
2020-02-26 18:40:33
阅读次数:
56
异常: org.hibernate.MappingException: No Dialect mapping for JDBC type: 101 解决方法: 服务器端的数据类型并不能和Java的数据类型成功映射,就是表结构中有java无法转换的数据格式,找到表结构中对应的字段将其改为java可转换 ...
分类:
移动开发 时间:
2020-02-26 17:13:05
阅读次数:
96
1.iptables基本管理关闭firewalld,开启iptables服务查看防火墙规则追加、插入防火墙规则删除、清空防火墙规则 1.1 关闭firewalld,启动iptables服务1)关闭firewalld服务器]# systemctl stop firewalld.service ]# s ...
分类:
其他好文 时间:
2020-02-26 15:34:04
阅读次数:
87
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>案例:炫酷的字体效果</title> </head> <style type="text/css"> .{ padding: 0; margin: 0; } body { widt ...
分类:
其他好文 时间:
2020-02-25 23:08:32
阅读次数:
79
1 """ 2 Given an array of strings, group anagrams together. 3 Example: 4 Input: ["eat", "tea", "tan", "ate", "nat", "bat"], 5 Output: 6 [ 7 ["ate","ea ...
分类:
其他好文 时间:
2020-02-25 23:04:37
阅读次数:
68
本文概述了各种Spring配置样式,并帮助你了解配置Spring应用程序的复杂性。抽丝剥茧 细说架构那些事——【优锐课】 Spring是一个非常流行的基于Java的框架,用于构建Web和企业应用程序。与许多其他框架仅关注一个领域不同,Spring框架通过其投资组合项目提供了广泛的功能来满足现代业务需 ...
分类:
编程语言 时间:
2020-02-25 12:29:11
阅读次数:
67
1 """ 2 Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. 3 Example 1: 4 Inp ...
分类:
其他好文 时间:
2020-02-25 00:00:16
阅读次数:
59
最近在另一台电脑上更换了个虚拟机VirtualBox,这个虚拟机与Vmware使用上有很大的区别,首先这个虚拟机是免费的,其次网络配置会很简单,但习惯了Vmware的网络配置在VirtualBox中配置ssh远程操作上就遇到了不知道怎样连接了,下面就说下在virtualBox中NAT网络模式下的ss ...
分类:
其他好文 时间:
2020-02-24 16:57:24
阅读次数:
73