How to Find Duplicate Number From Continuous Array? I got asked this very question a long time ago at an on-site interview. It is supposed to be one of the…
Posts tagged as “Array”
How to generate all permutations of an array or string? This is quite the popular question in interviews… In fact, I personally got asked to generate all permutations of an…
Hello again everyone. It has been quite a while since I last wrote something. Well work and life have been busy lately. Therefore I have not had much time for…
After my last DP problem, I thought I would try another one. In this problem we are asked to find the longest common subsequence of chars between two words. I…
Today I thought I would take a look at a small interview question with a small gimmick: In an unsorted array of numbers that occurs an even number of times…
When I first saw this question I got quite intrigued and a bit #mindflabergasted. This sounds like something you could get asked on interviews. A very interesting question that can…
Well well, it has been a while since i last wrote something (a week I think?), mainly because my shoulder got dislocated last weekend, while snowboarding… but fear not, there…