Recent activity by aayushranjan01

14 answers
3
A list of $n$ strings, each of length $n$, is sorted into lexicographic order using the merge-sort algorithm. The worst case running time of this computation is$O (n \log...
4 answers
4
Given below are two finite state automata ( $\rightarrow$ indicates the start state and $F$ indicates a final state)$$\overset{Y}{\begin{array}{|l|l|l|}\hline \text{} & ...
2 answers
5
I want to know the best way through which we can find transitive closures of any relation ? Please let me know.
1 answer
6
Below DFA is accepting above regular language but it is accepting null also....can anyone please give correct DFA
2 answers
7
time complexity questionSum=0 for(i=1; i<=n;i++) { for(j=1;j<=i;j++) { if(j%i==0) { for(k=1;k<=n;k++) { sum=sum+k; } } } }
2 answers
9
What will be output of following program?#include<stdio.h>int main(){ int a = 320; char *ptr; ptr =( char *)&a; printf("%d ",*ptr); return 0;}(A) 2(B) 320(C) 64...
4 answers
11
Minimum state Finite Automata recognizing the language corresponding to following Regular Expression(0*10+1*0)(01)* a)3 b)4 c)2 d)5Also please show Finite Automata for it...