Basic things you should know, or be familiar with.

Mindsets:

- Designing testcases with good quality is a very useful skill. And it demands practice.
- Examine your code against one typical case manually. You will solve problems faster with less bugs. Don’t get fooled by TDD.
- Assign logic meanings to your key variables. This would help to reduce bugs.

Algorithms & Skills:

See all basic problems:

- LintCode: Word Sorting
- LintCode: Valid Array
- LintCode: Take the element and query the sum
- LintCode: Swap Two Integers in Array
- LintCode: Student Level
- LintCode: Student ID
- LintCode: String to Integer
- LintCode: Sort Integers
- LintCode: Simple Calculator
- LintCode: Second Max of Array
- LintCode: Same Number
- LintCode: Reverse Array
- LintCode: Reverse 3-digit Integer
- LintCode: Rearrange
- LintCode: Radar Detection
- LintCode: Prime Product
- Lintcode: Number Pair Statistics
- LintCode: Middle of Linked List
- LintCode: Max of 3 Numbers
- LintCode: Lowercase to Uppercase II
- LintCode: Leftmost One
- LintCode: K Decimal Addition
- LintCode: Judging Triangle
- LintCode: Island City
- LintCode: Interval Search
- LintCode: Insert Node in Sorted Linked List
- LintCode: Input Stream
- LintCode: Implement Queue by Circular Array
- LintCode: Hex Conversion
- LintCode: Generate ArrayList with Given Size
- LintCode: Function Runtime
- LintCode: Friend Request
- LintCode: Find Node in Linked List
- LintCode: Digital Problem
- LintCode: Deliver The Message
- LintCode: Delete Characters
- LintCode: Data Segmentation
- LintCode: Count Linked List Nodes
- LintCode: Convert Linked List to Array List
- LintCode: Convert Array List to Linked List
- LintCode: Coin Problem
- LintCode: Char to Integer
- LintCode: Binary Tree Maximum Node
- LintCode: Big Business
- Leetcode: X of a Kind in a Deck of Cards
- Leetcode: Word Pattern II
- Leetcode: Word Pattern
- Leetcode: Word Ladder
- Leetcode: Wiggle Sort II
- Leetcode: Verify Preorder Serialization of a Binary Tree
- Leetcode: Validate Binary Search Tree
- Leetcode: Valid Word Abbreviation
- Leetcode: Valid Sudoku
- Leetcode: Valid Parentheses
- Leetcode: Valid Palindrome II
- Leetcode: Valid Palindrome
- Leetcode: Valid Anagram
- Leetcode: Unique Paths
- Leetcode: Unique Morse Code Words
- Leetcode: Uncommon Words from Two Sentences
- Leetcode: Two Sum IV – Input is a BST
- Leetcode: Two Sum
- Leetcode: Twitch Words
- Leetcode: Trim a Binary Search Tree
- Leetcode: Triangle Judgement
- Leetcode: Transpose Matrix
- Leetcode: Top K Frequent Words
- Leetcode: Top K Frequent Elements
- Leetcode: Toeplitz Matrix
- Leetcode: To Lower Case
- Leetcode: Third Maximum Number
- Leetcode: Swap Nodes in Pairs
- Leetcode: Summary Ranges
- Leetcode: Sum Root to Leaf Numbers
- Leetcode: Sum of Left Leaves
- Leetcode: Subsets
- Leetcode: Subdomain Visit Count
- Leetcode: Subarray Sum Equals K
- Leetcode: Student Attendance Record I
- Leetcode: Strobogrammatic Number
- Leetcode: String to Integer (atoi)
- Leetcode: String Compression
- Leetcode: Sort List
- Leetcode: Sort Colors
- Leetcode: Sort Characters By Frequency
- Leetcode: Sort Array By Parity II
- Leetcode: Sort Array By Parity
- Leetcode: Smallest Range I
- Leetcode: Sliding Window Maximum
- Leetcode: Sliding Puzzle
- Leetcode: Single Number
- Leetcode: Simplify Path
- Leetcode: Similar RGB Color
- Leetcode: Shortest Word Distance
- Leetcode: Shortest Distance to a Character
- Leetcode: Shortest Distance in a Plane
- Leetcode: Set Mismatch
- Leetcode: Serialize and Deserialize BST
- Leetcode: Sentence Similarity
- Leetcode: Second Minimum Node In a Binary Tree

More Resources:

See more blog_posts.

Original URL: https://code.dennyzhang.com/review-basic

Connect with Denny In LinkedIn Or Slack

Share It, If You Like It.