js Basics
I want to tidy up some js basics that I reviewed myself, and I hope it will help you.
What is JavaScript?
JavaScript: A scripting language that runs on the browser client based on object and event drivers. [js] js engine: execute js code Rendering Engine: Kernel
✔ The running environment of js: a language running on the browser side ✔ F ...
Added by zampu on Fri, 11 Feb 2022 21:00:01 +0200
[java basics] static Single case design pattern Math class Arrays class
static keyword
Variables, methods, code blocks and internal classes used for modification (not involved for the time being). The modified members belong to the class, not just It belongs to an object. In other words, since it belongs to a class, it can be called without creating an object.
Class variable
When static modifies a member variabl ...
Added by michaellunsford on Fri, 11 Feb 2022 20:58:12 +0200
[3 days to master Spark] - Sogou log statistical analysis contact
SogouQ log analysis
Data research and business analysis
Sogou lab is used to provide [user query log (SogouQ)] data, and Spark framework is used to encapsulate the data into RDD for business data processing and analysis.
1) . data introduction:
The search engine query log database is designed as a collection of Web query log data in ...
Added by mjm7867 on Fri, 11 Feb 2022 20:57:19 +0200
Code Capriccio record brush problem introduction binary tree notes
Code Capriccio record brush problem introduction notes
Code Capriccio introduction Code Capriccio record brush problem introduction notes
1. You should know this about binary tree!
Handout address
Binary tree code
public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode() {
}
TreeNode(int val) ...
Added by only one on Fri, 11 Feb 2022 20:55:51 +0200
Multithreading of Java Foundation
Multithreading
1. Thread overview
Process:
A process is a running activity of a program on a data set in a computer,
It is the basic unit of resource allocation and scheduling in the operating system.
A process can be simply understood as a program running in the operating system.
Thread:
A thread is an execution unit of a ...
Added by spamyboy on Fri, 11 Feb 2022 20:52:30 +0200
java learning notes 2022.2.11
on java 8 excerpt (reflection)
A basic goal of object-oriented programming is to write code that manipulates only references to the base class (in this case, Shape) The method draw() in the Shape interface can be dynamically bound, so the client programmer can call the specific draw() method through the generalized Shape reference. In all ...
Added by t2birkey on Fri, 11 Feb 2022 20:47:17 +0200
Advanced java -- network programming
Advanced java (11) -- network programming
Portal: ·Zhang Qi MAX·
##Learning objectives
Be able to distinguish the characteristics of UDP and TCP protocols Be able to name two common classes under TCP protocol Be able to write string data transmission program under TCP protocol Be able to understand the case of file uploa ...
Added by madchops on Fri, 11 Feb 2022 20:45:27 +0200
stm package workflow
preface
Sort out the workflow of STM code in the paper (stm: An R Package for Structural Topic Models). Refer to the original paper for the overall structure, but put forward personal ideas on the execution order of some codes. Due to the limited time, there are unsolved errors and problems (such as selecting the appropriate number of topics, ...
Added by noirsith on Fri, 11 Feb 2022 20:36:04 +0200
www.etiger.vip DEVC + + Practice (Introduction)
First question,
#Include < iostream > / / call out the streaming toolbox
using namespace std; //Normal use name space
int main(){ //Start main program
long long a,b; //Define integer variables a, b
cin>>a; //Enter and assign to integer variable a
cin>>b; //Enter and assign to ...
Added by manmadareddy on Fri, 11 Feb 2022 20:32:25 +0200
In-depth Analysis of Data Structure and Algorithms Solving Ideas and Algorithmic Examples of Disturbing Strings
1. Title requirements
Using the algorithm described below, you can scramble the string s to get the string t:
If the length of the string is 1, the algorithm stops.
If the length of the string is > 1, perform the following steps:
Split a string into two non-empty substrings at a random subscript. That is, if the string s is ...
Added by phbock on Fri, 11 Feb 2022 20:21:41 +0200