Quantcast
Channel: Coding Interviews – Notebook
Browsing latest articles
Browse All 2 View Live

Reverse Words in a String

Reversing words in a string is a popular coding interview question. Here what is meant by reversing words in a string is something like this. Input string:     "My name is rajind and i am a believer"...

View Article


The Maximum-Subarray Problem

What is meant by the maximum sub-array problem is that we want to find the non-empty, contiguous sub-array of an array whose values have the largest sum. Following is a divide & conquer solution...

View Article
Browsing latest articles
Browse All 2 View Live