Category

Array

Category

Edit distance is a way of quantifying how dissimilar two strings are to one another by counting the minimum number of operations required to transform one string into the other.

Given an array of elements and sum. The program should displays the array elements which combinations equal to sum.Write a program to give two sums from the array.

Write a program to display interval between lower range and higher range elements.

There are two sorted arrays A and B of size M and N respectively. Find the median of the two sorted arrays. Write a program to implement median of Two Sorted Arrays.

Break a string of characters of length n into a sequence of valid words. Assume that there is a data structure that tells you if a string is a valid word in constant time.