Recent questions in Algorithm Challenges

0 votes
0 answers
1
Make Equal SubarrayProblem StatementYou are given two arrays (A and B) each of size N.You want to change A to B. Changing the i-th element of A to i-th element of B costs...
3 votes
2 answers
3
Given a linked list :1->2->3->4->5->6,make the following changes1->6->2->5->3->4What would be the most effiicient way to make this change?
2 votes
2 answers
4
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 votes
0 answers
5
Write an object oriented code for representing boolean expressions and then a function for checking the equivalence of two boolean expressions.
0 votes
0 answers
6
Given an arithmetic expression involving *, + only write an object oriented code for its representation and evaluation
0 votes
2 answers
7
Write a function (proper programming code) for multiplying two integers without using '*' operator and considering all corner cases.
1 votes
4 answers
8
Given an input string of length $n$, find the maximum length of the substring containing maximum $k$ unique characters. For example, for "abbcdaadcd" and $k=2$ answer wil...
3 votes
1 answer
9
How to generate permutation of a string? What will be the complexity?
2 votes
1 answer
12
To see more, click for the full list of questions or popular tags.