Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by saptarshiDey
1
votes
2
answers
1
BFS traversal path
What will be the path from A-H if BFS is used in the following graph?
What will be the path from A-H if BFS is used in the following graph?
862
views
asked
Feb 1, 2019
Algorithms
graph-algorithms
algorithms
breadth-first-search
+
–
0
votes
0
answers
2
A language is cfl or not
L = {a^(p+q) b^(p+q) a^p , p,q>=0} Which one of the following is true about L? L is a regular L is CFL but not regular L is not a CFL
L = {a^(p+q) b^(p+q) a^p , p,q>=0}Which one of the following is true about L?L is a regularL is CFL but not regularL is not a CFL
538
views
asked
Jan 22, 2019
Theory of Computation
theory-of-computation
context-free-language
regular-language
+
–
0
votes
1
answer
3
Time Complexity of Code snippet
What will be the worst case time complexity for the following code segment? int count=0,N; for(i=0;i<N*2;i++){ for(j=0;j<i/3;i++){ for(k=0;k<j*j;k++){ count++; } } } Options: O(N^4) O(N^3) O(N^2) O(N)
What will be the worst case time complexity for the following code segment?int count=0,N; for(i=0;i<N*2;i++){ for(j=0;j<i/3;i++){ for(k=0;k<j*j;k++){ count++; } } }Option...
8.2k
views
asked
Jan 3, 2019
Algorithms
time-complexity
algorithms
asymptotic-notation
+
–
0
votes
0
answers
4
Complementary Number Systems
If N = 670 in base 9 system. Then find the radix complement of N.
If N = 670 in base 9 system. Then find the radix complement of N.
1.1k
views
asked
Nov 28, 2018
Digital Logic
number-system
number-representation
digital-logic
+
–
1
votes
1
answer
5
Complementation of a Language of a L
If L is any Language and L' be its complement. L is CFL. Which of these two statements is true: 1. For any value of L, L' is not in CFL 2. There exists atleast one value of L for which L' is not in CFL
If L is any Language and L' be its complement. L is CFL. Which of these two statements is true:1. For any value of L, L' is not in CFL2. There exists atleast one value of...
281
views
asked
Oct 31, 2018
Theory of Computation
theory-of-computation
context-free-language
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register