文章 212
评论 2
浏览 124956
redis设计与实现系列1-SDS

redis设计与实现系列1-SDS

redis自己构建的一种名为简单动态字符串(simple dynamic string,SDS)的抽象类型。

String - 67. Add Binary

String - 67. Add Binary

Given two binary strings, return their sum (also a binary string).

Math - 50. Pow(x, n)

Math - 50. Pow(x, n)

Implement pow(x, n), which calculates x raised to the power n (xn).

String - 44. Wildcard Matching

String - 44. Wildcard Matching

Given an input string (s) and a pattern (p), implement wildcard pattern matching with support for '?' and '*'.

DFS&BFS - 37. Sudoku Solver

DFS&BFS - 37. Sudoku Solver

Write a program to solve a Sudoku puzzle by filling the empty cells.

Array - 36. Valid Sudoku

Array - 36. Valid Sudoku

Determine if a 9x9 Sudoku board is valid.

Array - 57. Insert Interval

Array - 57. Insert Interval

Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).

Nothing just happens, it's all part of a plan.