![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
深搜(初学)
Oo喵生oO
每个优秀的人,都有一段沉默的时光。那段时光,是付出了很多努力,却得不到结果的日子,我们把它叫做扎根!
展开
-
百练2815---城堡问题 数据结构初学小鲜肉 思路代码分享
百练2815 城堡问题: 数据结构初学小鲜肉一枚,第一次自己写出深搜题目,开个博客纪念一下,并分享一下解题思路,写的不好的地方请大家多多海涵,指出不足 题目描述如下: 2815:城堡问题 总时间限制: 1000ms内存限制: 65536kB 描述 1 2 3 4 5 6 7 ########################原创 2017-10-13 17:10:33 · 518 阅读 · 0 评论 -
POJ 1321 棋盘问题--数据结构初学小鲜肉
问题描述: 棋盘问题 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 51454 Accepted: 24873 Description 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或原创 2017-10-14 10:10:03 · 325 阅读 · 0 评论 -
LeetCode 494. Target Sum
Target Sum You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now you have 2 symbols + and -. For each integer, you should choose one from + and - as its new sy原创 2017-11-21 20:00:31 · 287 阅读 · 0 评论 -
Leetcode 113. Path Sum II
Path Sum II Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and sum = 22, 5原创 2017-11-22 20:13:28 · 283 阅读 · 0 评论