The admission of Alabama as a slave state was the main point of controversy that led to the Missouri Compromise. After Alabama wanted to be part of the Union by being a slave state, the number of free state to slave state became equal to 11. This angered the free states and the members of the Congress that were in favor of slavery free states. The only way to stop the coming civil war was the Missouri Compromise. If Missouri was admitted as the slave state then the balance of equality would tilt towards the slave states and this would result in a big clash. To stop this from happening, the Missouri Compromise was the middle path that was chosen.
The answer is: i need to get points so the explanation because yus s
It’s not really that confusing..
Let s(i),k denote the substring s(i)s(i+1)...s k. Let Opt(k) denote whether the sub-string s1,k can be segmented using the words in the dictionary, namely (k) =1 if the segmentation is possible and 0 otherwise. A segmentation of this sub-string s1,k is possible if only the last word (say si k) is in the dictionary theremaining substring s1,i can be segmented.
Therefore, we have equation:Opt(k) = max Opt(i) 0<i<k and s(i+1),kis a word in the dictionary
We can begin solving the above recurrence with the initial condition that Opt(0) =1 and then go on to comput eOpt(k) for k= 1, 2. The answer correspond-ing to Opt(n) is the solution and can be computed in Θ(n2) time.