Month: January 2022

VOCABULARY – TEST 6

题目 The viper was ensnared and put in a cage. Her heart was frigid as the weather outside. The ferry to France will leave from quay 6 at 4:35 p.m. Causing much discontent, his regime didn’t remain in power for long. He continued to hew at the gigantic tree with his axe. We should all […]

Redis cluster 官方文档(选摘)

Redis cluster tutorial This tutorial tries to provide information about the availability and consistency characteristics of Redis Cluster from the point of view of the final user, stated in a simple to understand way. Note this tutorial requires Redis version 3.0 or higher. Redis Cluster 101 Redis Cluster provides a way to run a Redis […]

volatile 以及同步相关内容

volatile Fields The Java programming language allows threads to access shared variables (§17.1). As a rule, to ensure that shared variables are consistently and reliably updated, a thread should ensure that it has exclusive use of such variables by obtaining a lock that, conventionally, enforces mutual exclusion for those shared variables. The Java programming language provides […]

TypeScript 学习(一)

TypeScript Documentation TypeScript for the New Programmer What is JavaScript? A Brief History JavaScript (also known as ECMAScript) started its life as a simple scripting language for browsers. At the time it was invented, it was expected to be used for short snippets of code embedded in a web page — writing more than a […]

VOCABULARY – TEST 5

题目 The entrance to the cave was through a large cleft in the rock. A) 绳索 B) 栈道 C) 圆洞 D) 裂缝 His guile earned him the contempt of the other villagers. A) 恐吓 B) 奸诈 C) 骚扰 D) 乞讨 The shirt gaped open to reveal his chest. A) 掉下 B) 破洞 C) 敞开 D) […]

2022. Convert 1D Array Into 2D Array

题目 You are given a 0-indexed 1-dimensional (1D) integer array original, and two integers, m and n. You are tasked with creating a 2-dimensional (2D) array with m rows and n columns using all the elements from original. The elements from indices 0 to n – 1 (inclusive) of original should form the first row […]