Tagged articles
algorithm interview
11 articles · Page 1 of 1
This article explains the core principles of quick sort, why its divide‑and‑conquer strategy relies on a good pivot choice, how deterministic pivots can degrade performance on nearly sorted data, and provides a complete randomized Python implementation suitable for interview coding sessions.
Divide and ConquerPythonQuick Sort
0 likes · 6 min read

This article explains why caching is crucial, walks through the classic interview question of implementing an O(1) LRU cache, and provides a complete Python solution using a hash table combined with a doubly linked list, including complexity analysis, common pitfalls, and alternative approaches.
LRU cachealgorithm interviewdoubly linked list
0 likes · 11 min read

This article walks through a step‑by‑step interview scenario where a candidate solves the classic Two Sum problem, starting with a naïve nested‑loop approach, then improving it using a hash‑map to achieve linear time complexity, and discusses edge cases and code refinements.
JavaTwo Sumalgorithm interview
0 likes · 7 min read

This guide from an Alibaba Mama algorithm team member outlines the six focus areas—recruitment emphasis, interview stages, concise résumé writing, pre‑interview setup, in‑interview conduct, and typical assessment topics such as machine‑learning fundamentals and ad‑system knowledge—to help candidates secure offers.
AlibabaInterview PreparationResume Writing
0 likes · 8 min read

The article shares an interviewer's perspective on algorithm hiring, outlining five assessment dimensions—fundamentals, knowledge depth, breadth, business understanding, and communication—providing concrete question examples, a coding challenge, and practical communication tips to help candidates succeed.
BERTalgorithm interviewcommunication skills
0 likes · 9 min read

This guide breaks down algorithm interview essentials into data‑structure fundamentals, complexity analysis, and core algorithmic thinking, highlighting the most frequent topics and offering a structured learning path plus a recommended book to help candidates prepare efficiently and boost their offer chances.
Complexity Analysisalgorithm interviewcoding interview
0 likes · 6 min read

This guide breaks down the essential data structures, complexity analysis, and algorithmic thinking needed for software engineering interviews, highlights the 80% of topics that dominate most tests, and recommends a systematic study roadmap and a comprehensive book to boost interview success.
Complexity AnalysisLeetCodealgorithm interview
0 likes · 6 min read

This article dissects a ByteDance interview algorithm that asks for optimal partitioning of a sequence, derives the underlying GBDT split‑gain formula, and shows how to reduce the naïve O(n²) computation to O(n) using the variance‑gain trick employed by LightGBM.
GBDTLightGBMalgorithm interview
0 likes · 6 min read


21CTODec 3, 2017 · Fundamentals
The author shares a detailed, step‑by‑step account of preparing for and succeeding in multiple Silicon Valley software engineering interviews, covering personal motivation, interview types, practical tips, and a concrete study plan to help others secure similar offers.
Behavioral InterviewInterview Preparationalgorithm interview
0 likes · 13 min read

This guide presents a comprehensive checklist of actions to take and avoid before, during, and after a technical interview, covering preparation, self‑introduction, problem clarification, coding strategy, post‑coding review, and closing questions to help candidates perform confidently and efficiently.
Interview Preparationalgorithm interviewchecklist
0 likes · 6 min read


21CTOApr 12, 2017 · Fundamentals
This article reviews common sorting algorithms—including bubble, selection, insertion, quick, heap, shell, merge, counting, bucket, and radix sorts—explaining their principles, time and space complexities, typical use cases, and providing complete Java implementations with illustrative examples and diagrams to help readers master them for interviews and practical development.
Complexity AnalysisSorting Algorithmsalgorithm interview
0 likes · 27 min read
