小小程序媛 |
|
||
得之坦然,失之淡然,顺其自然,争其必然 |
2015年10月4日
摘要:
题目Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character ‘.’.You may assume that ther... 阅读全文
2015年10月3日
摘要:
题目Given an absolute path for a file (Unix-style), simplify it.For example, path = “/home/”, => “/home” path = “/a/./b/../../c/”, => “/c” clic... 阅读全文
摘要:
题目Total Accepted: 67411 Total Submissions: 286086 Difficulty: Medium Implement int sqrt(int x).Compute and return the square root of x.分析不适用库... 阅读全文
2015年10月2日
摘要:
题目Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.分析N皇后问题,同LeetCod... 阅读全文
摘要:
题目The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n,... 阅读全文
2015年10月1日
摘要:
题目Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: ... 阅读全文
摘要:
题目Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally i... 阅读全文
2015年9月29日
摘要:
题目Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap aft... 阅读全文
2015年9月28日
摘要:
题目Given a string containing just the characters ‘(’ and ‘)’, find the length of the longest valid (well-formed) parentheses substring.For “((... 阅读全文
摘要:
题目Implement regular expression matching with support for ‘.’ and ‘*’.‘.’ Matches any single character. ‘*’ Matches zero or more of the preced... 阅读全文
|
Copyright © 2024 Coding菌
Powered by .NET 9.0 on Kubernetes |