#

题解

  • Python算法题解:动态规划解0-1背包问题

    概述 背包问题(Knapsack problem)是一种组合优化的NP完全问题。问题可以描述为:给定一组物品,每种物品都有自己的重量和价格,在限定的总重量内,我们如何选择,才能使得物品的总价格最高

    作者:千锋Python唐小强
    2020-08-08 12:04:23
  • Lintcode31 Partition Array solution题解

    【题目描述】Given an array nums of integers and an int k, partition the array (i.e move the elements in "n

    作者:sun511230
    2020-07-26 04:01:26
  • JIS-CTF : VulnUpload 题解

    思路 1. nmap扫端口 2. WEB先查 robots.txt ,然后目录爆破 3. 留意文件中隐藏的内容 4. 查看/etc/中程序中的配置,找登陆凭证 Flag 1 爆破目录与文件,发现/fl

    作者:Owefsad
    2020-07-21 05:44:03
  • hdu 1028题解

    题意是把一个整数划分为多个整数的和的形式。递推递归的思路:用split[n,m]来表示把n分为若干个整数,其中最大的整数为m,那么分为以下几种情况: n

    作者:赵小小轩
    2020-07-18 04:11:46
  • Lintcode32 Minimum Window Substring solution 题解

    【题目描述】Given a string source and a string target, find the minimum window in source which will contai

    作者:sun511230
    2020-07-06 01:23:25
  • Lintcode33 N-Queens solution 题解

    【题目描述】The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two q

    作者:sun511230
    2020-06-25 10:39:10
  • Lintcode35 Reverse Linked List solution 题解

    【题目描述】Reverse a linked list.翻转一个链表【题目链接】http://www.lintcode.com/en/problem/reverse-linked-list/【题目解析

    作者:sun511230
    2020-06-05 22:53:50
  • Lintcode34 N-Queens II solution 题解

    【题目描述】Follow up for N-Queens problem.Now, instead outputting board configurations, return the total

    作者:sun511230
    2020-05-27 22:20:10