摘要: Rectangle Area (M) 题目 Find the total area covered by two rectilinear rectangles in a 2D plane. Each rectangle is defined by its bottom left corner and 阅读全文
posted @ 2020-06-26 07:05 墨云黑 阅读(131) 评论(0) 推荐(0) 编辑
摘要: Game of Life (M) 题目 According to the Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British 阅读全文
posted @ 2020-06-26 06:14 墨云黑 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Sudoku Solver (H) 题目 Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must satisfy all of the following rules: E 阅读全文
posted @ 2020-06-26 03:48 墨云黑 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Valid Sudoku (M) 题目 Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: Each row mu 阅读全文
posted @ 2020-06-26 02:33 墨云黑 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Search Insert Position (E) 题目 Given a sorted array and a target value, return the index if the target is found. If not, return the index where it woul 阅读全文
posted @ 2020-06-26 01:56 墨云黑 阅读(67) 评论(0) 推荐(0) 编辑
摘要: Find First and Last Position of Element in Sorted Array (M) 题目 Given an array of integers nums sorted in ascending order, find the starting and ending 阅读全文
posted @ 2020-06-26 01:49 墨云黑 阅读(54) 评论(0) 推荐(0) 编辑