Recent questions tagged algorithm-challenges

1 1 vote
1 1 answer
333
333 views
 Considering above binary tree, what will be the inorder traversal$\text{BADCEGFH}$$\text{GHFEDCBA}$$\text{BACDEGFH}$$\text{GHFDEBCA}$
0 0 votes
0 0 answers
332
332 views
0 0 votes
0 0 answers
401
401 views
3 3 votes
2 2 answers
1.7k
1.7k views
A system uses $FIFO$ policy for page replacement.It has $4$ page frames with no pages loaded,to begin with.The system first accesses $50$ distinct pages in some order and...
3 3 votes
2 2 answers
6.1k
6.1k views
Given an array of $n$ elements find the maximum continuous sum in it. For example consider the below array of $n=6$.23 4 -10 2 15 1Answer is 35.
1 1 vote
0 0 answers
731
731 views
Write an object oriented code for representing boolean expressions and then a function for checking the equivalence of two boolean expressions.
0 0 votes
0 0 answers
2.1k
2.1k views
Given an arithmetic expression involving *, + only write an object oriented code for its representation and evaluation
1 1 vote
1 answers 1 answer
4.5k
4.5k views
According to me first we sort the array in O(nlogn) time and then in O(k) time , find the product , so total time complexity is O(nlogn) , so am I right or can it be done...
2 2 votes
1 answers 1 answer
3.4k
3.4k views
You are given a number lock of 4 digits and it accepts a serial input. What should be the minimum length of an input string so that the lock is guaranteed to open assumin...
To see more, click for the full list of questions or popular tags.