• BigData
  • Introduction
  • Java
    • Concurrency
      • 原子变量类
      • 并发算法
      • LockSupport
      • AQS
      • ReentrantLock解析
      • StampedLock
      • 同步辅助类Exchanger
      • 同步辅助类Phaser
      • 并发面试题
      • BankAccount
      • ProducerConsumer
      • Philosopher
      • 线程池(一)
      • 线程池(二)
      • Lock Optimization
    • Java IO
      • New File API in Java 7
    • Netty
    • G1 Collector
    • JDK8 Metaspace
    • Performance Tuning
  • Algorithms
    • BitFiddling
      • Single Number II
      • Single Number III
      • Reverse Bits
      • Number of 1 Bits
      • Bitwise AND of Numbers Range
      • Maximum Product of Word Lengths
      • Max Binary Gap
      • Convert Integer A to Integer B
      • Update Bits
      • Single Number IV
      • Binary representation of a real number
      • Flipping bits
      • Power of Two
      • Power of Four
    • Arrays
      • Equi3
      • Find the Duplicate Number
      • Next Permutation
      • Previous Permuation
      • Pascal's Triangle
      • Longest Consecutive Sequence
      • Read N Characters Given Read4 I
      • Missing Ranges
      • Minimum Size Subarray Sum
      • Local Minimum of an array
      • Maximum Subarray
      • Shortest Word Distance
      • Flatten 2D Vector
      • Find the Celebrity
      • Majority Element II
      • Majority Number III
      • Game of Life
      • Flip Game
      • Sparse Matrix Multiplication
      • Increasing Triplet Subsequence
      • Recover Rotated Sorted Array
      • Subarray Sum II
      • Intersection of Two Arrays
      • Shuffle an Array
      • Summary Ranges
      • Rotate Function
      • Find All Duplicates in an Array
      • Find All Numbers Disappeared in an Array
    • Matrix
      • Rotate Image
      • Spiral Matrix
      • Spiral Matrix II
      • Set Matrix Zeroes
      • Search a 2D Matrix
      • Search a 2D Matrix II
      • Best Meeting Point
      • Maximum Black Subsquare
      • Matrix Zigzag Traversal
      • Submatrix Sum
      • Number of Islands
      • Valid Word Square
    • String
      • Longest Palindromic Substring
      • ZigZag Conversion
      • String to Integer (atoi)
      • Longest Common Prefix
      • Implement strStr()
      • Count and Say
      • Multiply Strings
      • Add Binary
      • Text Justification
      • Valid Palindrome
      • Reverse Words in a String
      • Compare Version Numbers
      • Encode and Decode Strings
      • Longest Substring Without Repeating Characters
      • Additive Number
      • Shortest Palindrome
      • Valid Anagram242
      • Reverse String
      • Reverse Vowels of a String
      • Replace Words
      • Judge Route Circle
      • One Edit Distance
      • Valid Anagram
      • Integer to English Words
      • Ransom Note
      • Convert a Number to Hexadecimal
      • Add Strings
    • LinkedList
      • LRUCache
      • Add Two Numbers
      • Swap Nodes in Pairs
      • Rotate List
      • Remove Duplicates from Sorted List II
      • Copy List with Random Pointer
      • Reverse Nodes in k-Group
      • Linked List Cycle
      • Linked List Cycle II
      • Reorder List
      • Reverse Linked List II
      • Intersection of Two Linked Lists
      • Remove Linked List Elements
      • Palindrome Linked List
      • Delete Node in a Linked List
      • Odd Even Linked List
      • Plus One Linked List
      • Split Linked List in Parts
      • Linked List Components
      • Interval List Intersections
    • Stack
      • ReversePolishNotation
      • Binary Search Tree Iterator
      • Closest Binary Search Tree Value II
      • Longest Valid Parentheses
      • Simplify Path
      • Min Stack
      • Symmetric Tree
      • Verify Preorder Sequence in Binary Search Tree
      • Verify Preorder Serialization of a Binary Tree
      • Max Tree
      • Flatten Nested List Iterator
    • Queue & Heap
      • Sliding Window Maximum
      • Zigzag Iterator
      • Find Median from Data Stream
      • Merge k Sorted Lists
      • Sliding Window Median
      • Trapping Rain Water II
      • Moving Average from Data Stream
    • Binary Tree
      • Binary Indexed Trees
      • Range Sum Query 2D - Mutable
      • Count of Smaller Numbers After Self
      • Segment Tree
      • Recover Binary Search Tree
      • Binary Tree Preorder Traversal
      • Implement Trie (Prefix Tree)
      • Add and Search Word - Data structure design
      • Maximum Depth of Binary Tree
      • Construct Binary Tree from Preorder and Inorder Traversal
      • Construct Binary Tree from Inorder and Postorder Traversal
      • Same Tree
      • Minimum Depth of Binary Tree
      • Balanced Binary Tree
      • Flatten Binary Tree to Linked List
      • Populating Next Right Pointers in Each Node
      • Populating Next Right Pointers in Each Node II
      • Binary Tree Maximum Path Sum
      • Sum Root to Leaf Numbers
      • Binary Tree Upside Down
      • Different Ways to Add Parentheses
      • Binary Tree Longest Consecutive Sequence
      • Lowest Common Ancestor of a Binary Tree
      • Subtree Check
      • Serialize and Deserialize Binary Tree
      • Find Duplicate Subtrees
    • Binary Search Tree
      • Unique Binary Search Trees
      • Unique Binary Search Trees II
      • Contains Duplicate III
      • Closest Binary Search Tree Value
      • Inorder Successor in BST
      • Validate Binary Search Tree
      • Convert Sorted Array to Binary Search Tree
      • Convert Sorted List to Binary Search Tree
      • Largest BST Subtree
    • Math
      • Get spiral index from location
      • Factorial Trailing Zeroes
      • Fast Power
      • 实现两个数相加不用四则运算
      • Number of Digit One
      • Majority Number
      • Majority Number II
      • Majority Number III
      • Ugly Number
      • Super Ugly Number
      • Palindrome Number
      • Integer to Roman
      • Divide Two Integers
      • Permutation Sequence
      • Valid Number
      • Gray Code
      • Fraction to Recurring Decimal
      • Excel Sheet Column Title
      • Excel Sheet Column Number
      • Rectangle Area
      • Add Digits
      • Nim Game
      • Bulb Switcher
      • Power of Three
      • Next largest palindrome
      • Self Crossing
      • Shuffle Array
      • Counting Bits
      • Integer Break
    • Hash Map
      • Group Shifted Strings
      • Valid Sudoku
      • Group Anagrams
      • Minimum Window Substring
      • Palindrome Permutation
      • Isomorphic Strings
      • Substring with Concatenation of All Words
      • 4Sum
      • Happy Number
      • Max Points on a Line
      • Longest Substring with At Most Two Distinct Characters
      • Shortest Word Distance II
      • Strobogrammatic Number I
      • Word Pattern
      • Bulls and Cows
      • Number of Islands II
      • Print Binary Tree Vertically
      • Unique Word Abbreviation
      • Number of Connected Components in an Undirected Graph
      • Line Reflection
      • Implement Magic Dictionary
    • Dynamic Programming
      • Best Time to Buy and Sell Stock III
      • Best Time to Buy and Sell Stock IV
      • Best Time to Buy and Sell Stock with Cooldown
      • Regular Expression Matching
      • Unique Path I
      • Climbing Stairs
      • Minimum Path Sum
      • Edit Distance
      • Scramble String
      • Largest Rectangle in Histogram
      • Maximal Rectangle
      • Maximum Subarray II
      • Maximum Subarray III
      • Longest Increasing Continuous Subsequence
      • LongestIncreasing Continuous Subsequence II
      • Decode Ways
      • Interleaving String
      • Distinct Subsequences
      • Palindrome Partitioning
      • Palindrome Partitioning II
      • Word Break
      • Word Break II
      • Maximum Product Subarray
      • Dungeon Game
      • House Robber
      • House Robber II
      • Maximal Square
      • Paint House
      • Paint House II
      • Paint Fence
      • Perfect Squares
      • Range Sum Query 2D - Immutable
      • Burst Balloons
      • Coin Change
      • Longest Common Subsequence
      • Longest Common Substring
      • Backpack
      • Backpack II
      • Coins in a line
      • Coins in a Line III
      • Post Office
      • Stock Maximize
      • Android Unlock Patterns
    • Sorting
      • Maximum Gap
      • The Skyline Problem
      • Merge Intervals
      • Insert Interval
      • Sort Colors
      • Meeting Room II
      • Wiggle Sort II
      • H-Index
      • First Missing Positive
      • The Smallest Difference
      • Count of Range Sum
      • Nuts & Bolts Problem
      • Subarray Sum Closest
      • Top K Frequent Elements
    • Binary Search
      • Median of Two Sorted Array
      • Search in Rotated Sorted Array
      • Search for a Range
      • Search Insert Position
      • Pow(x, n)
      • Sqrt(x)
      • Find Minimum in Rotated Sorted Array
      • Find Minimum in Rotated Sorted Array II
      • Find Peak Element
      • Count Complete Tree Nodes
      • Smallest Rectangle Enclosing Black Pixels
      • Longest Increasing Subsequence
      • Kth Largest Element in an Array
      • Kth smallest elment in sorted Matrix
      • Triangle Count
      • Wood Cut
      • Find Peak Element II
      • Russian Doll Envelopes
      • Valid Perfect Square
      • Guess Number Higher or Lower
      • Find Right Interval
    • BackTracking
      • Flip Game II
      • Letter Combinations of a Phone Number
      • Generate Parentheses
      • Sudoku Solver
      • Combination Sum
      • Combination Sum II
      • Combination Sum III
      • Combinations
      • Permutations
      • Permutations II
      • All Permutations of String
      • Word Search
      • Word Search II
      • Word Pattern II
      • Restore IP Addresses
      • Word Ladder II
      • N-Queens
      • N-Queens II
      • Subsets
      • Subsets II
      • Factor Combinations
      • Generalized Abbreviation
      • Permutation Index
      • Permutation Index II
    • Depth-First Search
      • Strobogrammatic Number II
      • Strobogrammatic Number III
      • Palindrome Permutation II
      • Path Sum
      • Binary Tree Right Side View
      • Count Univalue Subtrees
      • Expression Add Operators
      • Remove Invalid Parentheses
      • Longest Increasing Path in a Matrix
      • Reconstruct Itinerary
      • K Sum II
    • Breadth-First Search
      • Binary Tree Level Order Traversal
      • Detect if a tree is complete binary tree
      • Word Ladder
      • Surrounded Regions
      • Clone Graph
      • Course Schedule
      • Topological order
      • Graph Valid Tree
      • Alien Dictionary
      • Walls and Gates
      • Minimum Height Trees
      • Shortest Distance from All Buildings
      • Nested List Weight Sum
    • Greedy
      • Wildcard Matching
      • Container With Most Water
      • Trapping Rain Water
      • Candy
      • Gas Station
      • Jump Game
      • Jump Game II
      • Remove Duplicate Letters
      • Create Maximum Number
      • Patching Array
      • House Robber III
    • Design
      • Peeking Iterator
      • Design Hit Counter
      • Design Phone Directory
  • Memory Limits
    • Word Count in a large file
    • Compute the K Closed Stars
    • Find an integer not among four billion given ones
    • How to detect duplicate documents in billions of urls
    • Find Duplicate Numbers
    • Design Tic-Tac Toe
  • 面经
    • VMWare
  • System Design
    • Key paradigms for Developing the clean Objected Oriented Code
    • What happened if you tap a URL at a browser?
    • Design A Parking System
    • OOD for a Restaurant
    • Design Elevator System
    • Design A Call Center
    • Design a tinyurl system
    • Design A Web Crawler
    • Design Rate Limiter做限流
    • Twitter News Feed Design
    • AutoComplete
    • Design a random ID generation system
    • Uber
    • Design A Cache System
    • Cinema Theatre Design
    • Design a distributed key-value store
    • 设计自动售货机
    • Pizza Booking
    • Design ATM Machine
    • Design a data structure
  • System Architecture
    • 一致性哈希
    • Architects Should Code: The Architect’s Misconception
    • WebChat
    • Stack Overflow
    • Search Engine
    • What To Do When Your Website Goes Down?
    • 秒杀架构设计
  • DataBases
  • Network
    • I\/O Models
    • Linux EPoll
    • The C10K problem
    • TCP ZeroWindow results in Connection Close
  • Probabilistic Data Structures
  • Spring
    • Spring Rest Consumer
    • Spring Boot
Powered by GitBook

DataBases

DataBases

References

  1. 13 Blog Articles on Database Design Best Practices and Tips
  2. The anatomy of Connection Pooling
  3. 保证分布式系统数据一致性的6种方案

results matching ""

    No results matching ""