zl程序教程

[LeetCode]Path Sum

  • leetcode 刷题之路 66 Path Sum II

    leetcode 刷题之路 66 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 / \

    日期 2023-06-12 10:48:40     
  • [LeetCode]*124.Binary Tree Maximum Path Sum

    [LeetCode]*124.Binary Tree Maximum Path Sum

    【题目】 Given a binary tree, find the maximum path sum. The path may start and end at any node in the tree. For example: Given the below binary tree, 1 / \ 2 3 Return 

    日期 2023-06-12 10:48:40     
  • Leetcode: Path Sum III

    Leetcode: Path Sum III

    You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need to start or end at the root or a leaf, but it m

    日期 2023-06-12 10:48:40     
  • Leetcode: Path Sum II

    Leetcode: 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 / \

    日期 2023-06-12 10:48:40     
  • [LeetCode] Binary Tree Maximum Path Sum

    [LeetCode] Binary Tree Maximum Path Sum

    Given a binary tree, find the maximum path sum. The path may start and end at any node in the tree. For example:Given the below binary tree, 1 / \ 2 3   Return 6.

    日期 2023-06-12 10:48:40     
  • 【LeetCode】112. Path Sum

    【LeetCode】112. Path Sum

    Path Sum Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example:Given the below binary tree a

    日期 2023-06-12 10:48:40     
  • LeetCode || Minimum Path Sum

    LeetCode || Minimum Path Sum

    Minimum Path Sum  Total Accepted: 19916 Total Submissions: 63796My Submissions Question  Solution  Given a m x n grid filled with non-neg

    日期 2023-06-12 10:48:40     
  • [LeetCode] 1289. Minimum Falling Path Sum II 下降路径最小和之二

    [LeetCode] 1289. Minimum Falling Path Sum II 下降路径最小和之二

    Given an n x n integer matrix grid, return the minimum sum of a falling path with non-zero shifts. A falling path with non-zero shifts is a choice of exactly one e

    日期 2023-06-12 10:48:40