From 77ce121afa08ccf3aaa05c0f6f3e2a9e183ccc34 Mon Sep 17 00:00:00 2001 From: manish7392 <59735587+manish7392@users.noreply.github.com> Date: Wed, 26 May 2021 10:32:52 +0530 Subject: [PATCH] Update deterministic_finite_automaton.py --- 07_DynamicProgramming/deterministic_finite_automaton.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/07_DynamicProgramming/deterministic_finite_automaton.py b/07_DynamicProgramming/deterministic_finite_automaton.py index e602ece..4d2a100 100644 --- a/07_DynamicProgramming/deterministic_finite_automaton.py +++ b/07_DynamicProgramming/deterministic_finite_automaton.py @@ -43,7 +43,7 @@ # Integer N denotes you have to count how many distinct strings of length N the given DFA accepts. # Constraints # 1 ≤ K ≤ 50 -# 1 ≤ N ≤ 104 +# 1 ≤ N ≤ 10^4 # # Example : # @@ -93,4 +93,4 @@ def automata(self, A, B, C, D, E): return answer % (10 ** 9 + 7) -# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # \ No newline at end of file +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #