We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82e2132 commit 920852aCopy full SHA for 920852a
DynamicProgramming/BoardPath
@@ -1,4 +1,29 @@
1
+package DynamicProgramming.BoardPath;
2
+/*
3
+* this is an important Algo in which
4
+* we have starting and ending of board and we have to reach
5
+* we have to count no. of ways
6
+* that help to reach end point i.e number by rolling dice
7
+* which have 1 to 6 digits
8
9
+Test Case:
10
+here target is 10
11
+
12
+int n=10;
13
+ startAlgo();
14
+ System.out.println(bpR(0,n));
15
+ System.out.println(endAlgo()+"ms");
16
+ int[] strg=new int [n+1];
17
18
+ System.out.println(bpRS(0,n,strg));
19
20
21
+ System.out.println(bpIS(0,n,strg));
22
23
24
25
26
+*/
27
public class BoardPath {
28
public static long startTime;
29
public static long endTime;
0 commit comments