Practice of 18 Java 8 Date Processing
Example 1: Get today's date in Java 8
Example 2: Getting year, month, day information in Java 8
Example 3: Processing a specific date in Java 8
Example 4: Judging whether two dates are equal in Java 8
Example 5: Checking for periodic events like birthdays in Java 8
Example ...
Added by banks1850 on Fri, 06 Mar 2020 03:54:55 +0200
leetcode sum of combinations
title from LeetCode, link: combination-sum . The specific description is: given an array of candidates without repeating elements and a target number target, find out all combinations in candidates that can make the number and target. The numbers in candidates can be selected repeatedly without ...
Added by turpentyne on Wed, 04 Mar 2020 10:54:58 +0200
NumPy - Statistical Function
Introducing module import numpy as np
1.numpy.sum(a, axis=None)/a.sum(axis=None)
Calculates the sum, axis integer, or tuple, of the elements associated with array a based on the given axis axis. The default is to sum all elements without specifying an axis.
If the shape of a is (d0,d1,..,dn), when axis=(m1,m2,...mi), the result returned should ...
Added by manitoon on Tue, 03 Mar 2020 18:12:50 +0200
The way for LeetCode to brush questions, record the growth of brush questions ------ maintenance at any time
Preface
This blog is completed step by step in the following order, which is also a learning process, so you can comment on any questions at any time. I hope we can make progress together.
Article directory
Preface
Stack, queue, heap
Linked list
greedy
Recursion, backtracking, divide and conquer
Bin ...
Added by nigaki on Tue, 03 Mar 2020 10:06:45 +0200
The first round of original multi school training. E -- everyone cares a long long name
Title Description
In the Kingdom of Bears, the King Tommmmmmmmmmmmmmmmy has a very strange hobby: he dislike all names with length less than 1010! In fact every time he see who has a short name, he'd be so angry that he refuse to speak in the next 998244353998244353 days!
But Tommmmmmmmmmmmmmmmy the K ...
Added by uday on Mon, 02 Mar 2020 07:30:59 +0200
java foundation -- inheritance, super, this, abstract class (IDEA version)
Chapter one: Inheritance
1. overview
When there are the same properties and behaviors in multiple classes, extract these contents into a single class, then multiple classes do not need to define these properties and behaviors, as long as they inherit that class.
Multiple classes can be called subclass ...
Added by steveonly20 on Sun, 01 Mar 2020 12:38:49 +0200
Number Summary/Math Number Function from python
Number Number Number
In python's documentation, there are several points to note:
The Math module does not support functions of complex numbers, which are calculated using cmath.So most of them don't support complex numbers.
Under the math module, floating-point numbers are returned unless the label ...
Added by bad_gui on Sun, 01 Mar 2020 03:45:52 +0200
java data structure 16 treemap bottom source code analysis
This chapter mainly analyzes the "insert algorithm" and "get algorithm" of red black tree, that is, the bottom implementation of put() method and get() method.
Before learning the put() method of TreeMap, we should first create a leaf node Entry class. The leaf node Entry is the inte ...
Added by dotancohen on Fri, 28 Feb 2020 09:05:48 +0200
New features of PHP7.0~PHP7.1~PHP7.2~PHP7.3~PHP7.4
As you all know, php is constantly updated and expanded, and each version has a performance improvement. Next, I will explain the new features of php 7. X. I will explain the features of each version.
New features of PHP7.0
New features of PHP7.1
New features of PHP7.2
New features of PHP7.3
New features of PHP7.4
N ...
Added by sherone on Thu, 27 Feb 2020 13:25:20 +0200
Recurrence and recurrence of the preparation of the Blue Bridge Cup
Preparation of Blue Bridge Cup (I) recursion and recursion
1. Time complexity
One second can count 100 million times, that is, the 8th power of 10. If the topic is limited to 1 second, 8 times more than 10 times may timeout.
The algorithm you choose depends on the data range.
2. The choice of ci ...
Added by Mikeef on Thu, 27 Feb 2020 12:14:10 +0200