O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

Alg Repo Levels Paths

Pradhap Ganesan DS-Alg Inglês

Conteúdo do mapa

Alg Repo Levels Paths

  1. Path

    • Path Sum
      • Matrix
      • Array
      • Tree
        • root-to-leaf path adding up all, check equals to a sum.
          • if(nd == null) return false;      tsum += nd.val; if(nd.left == null && nd.right == null){ return tsum == sum ; } return pathSumRecur(nd.left, sum, tsum) || pathSumRecur(nd.right, sum, tsum);
        • Given a list of ascending three-digits integers representing a binary tree with the depth smaller than 5, you need to return the sum of all paths from the root towards the leaves.
          • If the depth of a tree is smaller than 5, then this tree can be represented by a list of three-digits integers. For each integer in this list: The hundreds digit represents the depth D of this node, 1 <= D <= 4.The tens digit represents the position P of this node in the level it belongs to, 1 <= P <= 8. The position is the same as that in a full binary tree.The units digit represents the value V of this node, 0 <= V <= 9.   Given a list of ascending three-digits integers representing a binary tree with the depth smaller than 5, you need to return the sum of all paths from the root towards the leaves.
        • Find Max path sum; In BT any sequence of nodes from some starting node to any node
  2. Compression

    • String Compression
      • compress(“a”) = "a" compress(“aaa”) = "a3" compress(“aaabbb”) = "a3b3" compress(“aaabccc”) = "a3b1c3"
    • Array Compression
  3. Word Processor

    • One String
      • Compare Self
        • Palindrome
        • Anagram
      • Path
    • Two String
      • Compare
        • S substr of B
    • String, Dictionary

Informações

Descrição
DS-Alg Mapa Mental sobre Alg Repo Levels Paths, criado por Pradhap Ganesan em 07-11-2019.
Criado por
Pradhap Ganesan
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?