7.(15) Let PALINDROMEDFA = { <M> Mis a DFA, and for all s E L(M), s...
Let PALINDROMEDFA = { | M is a DFA, and for all s L(M), s is a palindrome }. Show that PALINDROMEDFA P by providing an algorithm for it that runs in polynomial time. Let PALINDROMEDFA = {<M> Mis a DFA, and for alls e L(M), s is a palindrome }. Show that PALINDROMEDFA E P by providing an algorithm for it that runs in polynomial time.
Let PALINDROME DFA = { <M> | M is a DFA, and for all s E L(M), s is a palindrome }. Show that PALINDROME DFA E P by providing an algorithm for it that runs in polynomial time.
Let REPEATTM = {<M> Mis a TM, and for all s E L(M), s = uv where u =v}. Show that REPEATTM is undecidable. Do not use Rice's Theorem.
8. (15) Let REPEATTM = { <M>M is a TM, and for all s € L(M), s = uv where u = v}. Show that REPEATM is undecidable. Do not use Rice's Theorem.
8. (15) Let REPEATTM = { <M> | M is a TM, and for all s L(M), s = uv where u = v }. Show that REPEATTM is undecidable. Do not use Rice’s Theorem. 7. (15) PALINDROIVIDACI vy provimo ETUS in polynomial time. 8. (15) Let REPEATTM = { <M>M is a TM, and for all s € L(M), s = uv where u =v}. Show that REPEATTM is undecidable. Do not use Rice's Theorem. ai
3. (15) ALLDFA = { <D> | D is a DFA with L(D) = {*}. Show that ALLDFA E P.
Let REPEATTM = { | M is a TM, and for all s L(M), s = uv where u = v }. Show that REPEATTM is undecidable. Do not use Rice’s Theorem. Let REPEATTM = { <M>M is a TM, and for all s E L(M), s = uv where u = v}. Show that REPEATM is undecidable. Do not use Rice's Theorem.
7. Let X1,... , Xn be iid based on f(x; 6) -22e-z?/e where x > 0. Show that θ=-yx? is efficient
For some n > 1, let T E End(Pn) be given by T(p) = p'. Show that T is not diagonalizable.
10. You are given a directed graph G(V, E) where every vertex vi E V is associated with a weight wi> 0. The length of a path is the sum of weights of all vertices along this path. Given s,t e V, suggest an O((n+ m) log n) time algorithm for finding the shortest path m s toO As usual, n = IVI and m = IEI.