java.lang.Object
g2201_2300.s2246_longest_path_with_different_adjacent_characters.Solution

public class Solution extends Object
  • Constructor Details

    • Solution

      public Solution()
  • Method Details

    • longestPath

      public int longestPath(int[] parent, String s)