brain

tamnd's digital brain — notes, problems, research

43815 notes

再 (zài) — again (future), then, more

HSK 2 | adverb | again (future repetition), then, one more time

hsk-2vocabularya1
CF 455D - Serega and Fun

We have an array of integers, each between 1 and n, and we need to support two types of operations efficiently. The first operation rotates a segment of the array one step to the right. The second operation counts how many times a particular value occurs in a segment.

codeforcescompetitive-programmingdata-structures
CF 470D - Caesar Cipher

We are asked to implement a simple Caesar cipher. The input gives us a key k, an integer between 0 and 25, which represents how many positions each letter in the message should be shifted forward in the alphabet.

codeforcescompetitive-programming*special
〜いかんでは / 〜いかんによっては (depending on the circumstances of)

N1 grammar: 〜いかんでは and 〜いかんによっては expressing 'depending on the nature/circumstances of X, Y may occur.' Formal register, often in legal or policy contexts.

japanesen1grammarjlptいかんではいかんによっては
CF 474F - Ant colony

We are given a line of ants, each with an integer strength. Mole wants to observe fights among ants in specified contiguous segments of the line. For a given segment from position l to r, every ant fights every other ant within that segment.

codeforcescompetitive-programmingdata-structuresmathnumber-theory
水 (shuǐ) — water

HSK 1 | noun | water

hsk-1vocabularya1
认识 (rènshi) — to know (a person), to recognize

HSK 3 | verb | to be acquainted with someone; to recognize or identify

hsk-3vocabularya2
CF 467B - Fedor and New Game

We are given a game with several players, each controlling an army composed of different types of soldiers. Each army is represented as a non-negative integer where the binary representation encodes the presence of soldier types: a bit set to 1 means the army includes that type.

codeforcescompetitive-programmingbitmasksbrute-forceconstructive-algorithmsimplementation
否定 (fǒudìng) — Negate

HSK 4 | verb/adjective | to negate, to deny; negative

hsk-4vocabularyb1
买到 (mǎi dào) — to manage to buy; to successfully purchase

HSK 2 | verb + result complement | indicates buying resulted in actually obtaining the item

hsk-2vocabularya1
满足 (mǎnzú) — to satisfy; to meet; satisfied

HSK 4 | verb / adjective | fulfilling a need or feeling content

hsk-4vocabularyb1
便宜 (piányí) — cheap / inexpensive

HSK 1 | adjective | cheap, inexpensive, affordable

hsk-1vocabularya1
吗 (ma) — yes/no question particle

HSK 1 | particle | turns a statement into a yes/no question

hsk-1vocabularya1
同事 (tóngshì) — Colleague

HSK 4 | noun | colleague, coworker

hsk-4vocabularyb1
狗 (gǒu) — dog

HSK 1 | noun | dog

hsk-1vocabularya1
CF 472A - Design Tutorial: Learn from Math

We are given a single integer n, where n ≥ 12. The task is to find any two composite numbers whose sum is exactly n. A composite number is an integer greater than 1 that has at least one divisor other than 1 and itself.

codeforcescompetitive-programmingmathnumber-theory
基础 (jīchǔ) — foundation, basis

HSK 5 | noun | the foundational base upon which something is built

hsk-5vocabularyb2
外汇 (wàihuì) — foreign exchange; foreign currency

HSK 5 | noun | foreign exchange, foreign currency

hsk-5vocabularyb2
一直 (yīzhí) — all along

HSK 3 | adverb | continuously, all along, straight — describes uninterrupted action or direction

hsk-3vocabularya2
それから (それから) — Japanese Vocabulary

それから (それから / sorekara): and then, after that. N4 level Japanese vocabulary.

japanesevocabularyn4conj
统一 (tǒngyī) — unification, unified, to unify

HSK 5 | verb/adjective/noun | bringing together into a single coherent whole

hsk-5vocabularyb2
〜得る/〜得ない — JLPT N3 Grammar

Learn 〜得る (can possibly, is conceivable) and 〜得ない (cannot possibly, is inconceivable) — N3 patterns for logical possibility and impossibility.

japanesegrammarn3jlpt
压抑 (yāyì) — to suppress; oppressive

HSK 5 | verb / adjective | to suppress, to repress; stifling, oppressive

hsk-5vocabularyb2
CF 479E - Riding in a Lift

We are given a line of floors from 1 to n. We start on floor a and we will make exactly k moves. Each move picks a new floor y different from the current floor x, but with a restriction: we are not allowed to move “too far” in absolute distance compared to a forbidden floor…

codeforcescompetitive-programmingcombinatoricsdp
打电话 (dǎ diànhuà) — to make a phone call

HSK 2 | verb phrase | to make or place a telephone call

hsk-2vocabularya1
发表 (fābiǎo) — to publish; to deliver

HSK 5 | verb | to publish an article; to deliver a speech or statement

hsk-5vocabularyb2
实践 (shíjiàn) — practice; to put into practice

HSK 5 | noun/verb | practical application of theory; to apply knowledge in real action

hsk-5vocabularyb2
效率 (xiàolǜ) — efficiency; effectiveness

HSK 4 | noun | the ability to accomplish something with minimal waste

hsk-4vocabularyb1
结果 (jiéguǒ) — result; outcome; as a result

HSK 4 | noun / conjunction | the final outcome of a process, or a connective meaning consequently

hsk-4vocabularyb1
软件 (ruǎnjiàn) — software

HSK 4 | noun | programs and operating information used by a computer

hsk-4vocabularyb1
管理者 (guǎnlǐzhě) — manager; administrator

HSK 4 | noun | a person who manages or administers an organization or team

hsk-4vocabularyb1
子 — Kanji Reference

子 (child): 3 strokes, JLPT N5. On: シ、ス. Kun: こ.

japanesekanjin5writing
多样化 (duōyànghuà) — diversification, to diversify

HSK 5 | verb/noun | development of diversity and variety in forms or approaches

hsk-5vocabularyb2
Lesson 6: Advanced Word Building

Master multi-affix stacking, productive derivation chains, and the principles behind Esperanto neologism formation at B2 level.

esperantob2lesson
Lesson 11: Reading Strategies for B1

Learn to decode unfamiliar Esperanto words using word-building knowledge, cognates, and context clues, and build a reading practice with graded and authentic texts.

esperantob1lesson
上班 (shàngbān) — to go to work, to be at work

HSK 2 | verb | to go to work, to start a work shift

hsk-2vocabularya1
简单 (jiǎndān) — simple; easy; uncomplicated

HSK 4 | adjective | not complex or difficult; lacking unnecessary detail

hsk-4vocabularyb1
手机 (shǒujī) — smartphone

HSK 1 | noun | mobile phone, smartphone

hsk-1vocabularya1
四 — Kanji Reference

四 (four): 5 strokes, JLPT N5. On: シ. Kun: よ、よ-つ、よっ-つ、よん.

japanesekanjin5writing
Lesson 4: Prefixes — mal-, ek-, re-, dis-, mis-

Learn five productive Esperanto prefixes that multiply your vocabulary by expressing opposites, beginnings, repetition, dispersal, and errors.

esperantoa2lesson
CF 470F - Pairwise Sums

The problem asks us to take a list of integers and, for each element, produce the sum of that element with the element immediately preceding it. The twist is that the first element of the output pairs with the last element of the array, creating a circular relationship.

codeforcescompetitive-programming*special
下降 (xiàjiàng) — to decline; to fall; to drop

HSK 4 | verb | to move downward in level or amount

hsk-4vocabularyb1
耳朵 (ěrduo) — ears

HSK 3 | noun | ears, the organs of hearing

hsk-3vocabularya2
政治 (zhèngzhì) — politics, political

HSK 5 | noun / adjective | the activity of governance; relating to political affairs

hsk-5vocabularyb2
研发 (yánfā) — research and development

HSK 5 | verb / noun | to research and develop (R&D)

hsk-5vocabularyb2
体验 (tǐyàn) — to experience firsthand; hands-on experience

HSK 3 | verb/noun | to personally feel or go through something

hsk-3vocabularya2
宣传 (xuānchuán) — Publicize

HSK 4 | verb/noun | to publicize, to promote; publicity, propaganda

hsk-4vocabularyb1
物种 (wùzhǒng) — Species

HSK 5 | noun | a biological classification grouping organisms that can interbreed

hsk-5vocabularyb2
食 — Kanji Reference

食 (eat, food): 9 strokes, JLPT N5. On: ショク、ジキ. Kun: た-べる、く-う.

japanesekanjin5writing
动词+不/得+结果 — verb + potential complement

HSK 3 | grammar pattern | expresses whether an action can or cannot achieve its result

hsk-3vocabularya2grammar
公民 (gōngmín) — citizen

HSK 4 | n | a legally recognized member of a state

hsk-4vocabularyb1
热 (rè) — hot

HSK 1 | adjective | hot (temperature or weather)

hsk-1vocabularya1
耐心 (nàixīn) — patient; patience

HSK 3 | adjective/noun | able to wait calmly without frustration

hsk-3vocabularya2
Lesson 4: Advanced Idiom Mastery

Using 成语 naturally: understanding origin, semantic evolution, and pragmatic deployment in sophisticated discourse.

hsk-7lessonc2
严格 (yángé) — strict

HSK 3 | adjective | strict, rigorous, demanding — high standards with no exceptions

hsk-3vocabularya2
Lesson 4: Economy & Finance

Navigate Chinese economic discourse with confidence, mastering the vocabulary of finance, macroeconomics, and business reporting.

hsk-5lessonb2
〜たびに — JLPT N3 Grammar

Learn 〜たびに (every time, whenever) — the N3 pattern for expressing a consistent pattern of recurrence with emotional weight.

japanesegrammarn3jlpt
能力 (nénglì) — ability; capability; capacity

HSK 4 | noun | the power or skill to do something

hsk-4vocabularyb1
山 — JLPT N5 Kanji

山 (san/yama): mountain. JLPT N5 kanji.

japanesekanjin5jlpt
我们 (wǒmen) — we, us

HSK 1 | pronoun | first-person plural pronoun

hsk-1vocabularya1
CF 452B - 4-point polyline

We have all lattice points inside and on the boundary of an axis-aligned rectangle whose opposite corners are (0, 0) and (n, m). The task is to choose four distinct lattice points and connect them in the chosen order.

codeforcescompetitive-programmingbrute-forceconstructive-algorithmsgeometrytrees
JLPT N3 — Vocabulary (~2,250 New Words)

Complete N3 vocabulary reference: ~2,250 new words beyond N4, organized by semantic domain. Abstract nouns, workplace terms, academic vocabulary, emotional states, and more.

japanesejlptjlpt-n3vocabularylanguage-learning
Katakana Complete Reference

Complete katakana chart with all 46 base characters, variants, combination characters, long vowel mark, loanword spelling rules, and common vocabulary examples.

japanesekatakanawriting-systemsloanwordslanguage-learning
设计 (shèjì) — to design; design

HSK 5 | verb / noun | to plan and create; a plan or design

hsk-5vocabularyb2
竞争 (jìngzhēng) — to compete; competition

HSK 4 | verb/noun | to strive against others for the same goal or resource

hsk-4vocabularyb1
积累 (jīlěi) — to accumulate; to build up

HSK 4 | verb / noun | to gradually accumulate or build up over time

hsk-4vocabularyb1
Lesson 14: Prefixes

Sindarin word-building with prefixes: directional, negative, intensifying, and stative prefixes with 40+ examples from attested names.

sindarinvocabularyprefixesintermediate
Lesson 21: Conditional & Subjunctive

Sindarin conditional mood using aen and the subjunctive: expressing hypothetical situations, wishes, and uncertainty.

sindaringrammarconditionalsubjunctiveintermediate
成熟 (chéngshú) — mature; ripe; well-developed

HSK 4 | adjective/verb | fully developed, either physically or mentally

hsk-4vocabularyb1
Lesson 12: Work & Colleagues

Talk about your job, workplace, and colleagues in Chinese with natural professional vocabulary.

hsk-2lessona1
英语 (Yīngyǔ) — English language

HSK 1 | noun | English language

hsk-1vocabularya1
舆论 (yúlùn) — public opinion

HSK 5 | noun | public opinion, public discourse, media opinion

hsk-5vocabularyb2
提高 (tígāo) — to improve

HSK 3 | verb | to raise, improve, or enhance a level or standard

hsk-3vocabularya2
目 — Kanji Reference

目 (eye): 5 strokes, JLPT N5. On: モク、ボク. Kun: め.

japanesekanjin5writing
Lesson 30: Mixed Mutation

Sindarin mixed mutation: the third mutation type triggered by definite prepositions — the complete change table, all triggering constructions, and worked examples.

sindaringrammarmutationsmixed-mutationadvanced
负债 (fùzhài) — to be in debt; debt; liabilities

HSK 5 | verb / noun | to owe debts; liabilities on a balance sheet

hsk-5vocabularyb2
猫 — Kanji Reference

猫 (cat): 11 strokes, JLPT N5. On: ビョウ. Kun: ねこ.

japanesekanjin5writing
培育 (péiyù) — to breed; to nurture

HSK 5 | verb | to breed, to nurture, to cultivate (plants, organisms, or people)

hsk-5vocabularyb2
专业 (zhuānyè) — professional; specialized

HSK 4 | adjective/noun | relating to a specific field of expertise

hsk-4vocabularyb1
Lesson 4: Past Events

Talk about what happened using the completion marker 了, negate past actions with 没有, and use 刚才 for recent events.

hsk-2lessona1
〜次第で / 〜次第だ / 〜次第 — JLPT N2 Grammar

Master the two distinct uses of 〜次第: 'depending on' (conditional) and 'as soon as' (sequence), a critical N2 exam distinction.

japanesegrammarn2jlpt
HSK 8 Vocabulary (~1,800 New Words)

HSK 8 vocabulary reference: advanced C2-level words in specialist academic disciplines, technology, and professional domains.

hsk-8vocabulary
〜ならでは — JLPT N1 Grammar

N1 grammar pattern 〜ならでは: expressing uniqueness or exclusivity — 'only possible with ~, uniquely characteristic of ~, something only ~ can offer.'

japanesegrammarn1jlpt
兴趣 (xìngqù) — interest

HSK 3 | noun | a feeling of curiosity or enjoyment toward something

hsk-3vocabularya2
内容 (nèiróng) — content / substance

HSK 3 | noun | the material or substance contained within something

hsk-3vocabularya2
整合 (zhěnghé) — to integrate, to consolidate

HSK 6 | verb | to bring together disparate elements into a unified whole

hsk-6vocabularyc1
N4 Kanji: 首 (Neck, Head, Chief)

JLPT N4 kanji 首 — readings, vocabulary, stroke order, mnemonic, and common confusion pairs.

japanesen4jlptkanjilanguage-learning
授权 (shòuquán) — to authorize; authorization

HSK 4 | verb/noun | granting official permission or power to someone

hsk-4vocabularyb1
〜かもしれない — Japanese Grammar

〜かもしれない: JLPT N4 grammar pattern. Usage, structure, examples, and comparison with similar patterns.

japanesegrammarn4probability
请 (qǐng) — please / to invite

HSK 1 | verb, adverb | please, to invite, to treat someone

hsk-1vocabularya1
整合 (zhěnghé) — to integrate, to consolidate

HSK 5 | verb | to bring separate elements together into a unified, coherent whole

hsk-5vocabularyb2
Lesson 1: Expert Academic Writing

Mastering the full academic register for publication-standard Chinese scholarly writing.

hsk-8lessonc2
办公室 (bàngōngshì) — office

HSK 3 | noun | a room or building used for work

hsk-3vocabularya2
出发 (chūfā) — to set off

HSK 3 | verb | to depart, set off, or start a journey

hsk-3vocabularya2
大约 (dàyuē) — approximately; about; roughly

HSK 4 | adverb | indicating an estimate rather than an exact figure

hsk-4vocabularyb1
管 (guǎn) — to manage / to bother with

HSK 3 | verb | to manage, to be in charge of; to bother with, to concern oneself with

hsk-3vocabularya2
首 (shǒu) — song; poem (measure word)

HSK 2 | measure word | counts songs and poems as complete compositions

hsk-2vocabularya1
深刻 (shēnkè) — deep; profound; incisive

HSK 4 | adjective | going beyond the surface to reveal essential truth or insight

hsk-4vocabularyb1
减少 (jiǎnshǎo) — to reduce / to decrease

HSK 3 | verb | to make something smaller in amount or number

hsk-3vocabularya2
Lesson 18: Verbs — Past Tense

Sindarin past tense formation: strong past (vowel change + nasal infixion) for primary verbs and weak past (-ant suffix) for A-stem verbs, with all 6 persons.

sindaringrammarverbspast-tenseintermediate