E. Count Paths Video : Count Paths Code : Count Paths Slides : Count Paths Blogs Blog : DP on Spanning Subgraphs Blog : DP on Induced Subgraphs Practice Contests Practice Contest 3 Practice Contest 1 Practice Contest 2 Code Downward Path with Only Last Vertex Black Paths with Terminal Black Vertices Count Paths Help If you need any help, you can ask me on : Youtube Comments Codeforces Blog Twitter Thread Discord Server