Latest Updates
Question:Program to find maximum profit in a stock numbers, basically they will give a list…
Question:Program to convert an integer number to wordsexample : input 4721 , output : four…
Simple data compression algorithm
1 Min Read
Question:write a program for simple data compression algorithm Example: data = [1,2,3,4,0,0,0,3,4,6,0,0,0,21,2,3]out = [1,2,3,4,”3×0″,4,6,”2×0″,21,2,3] Logic:Initialize…
Question:Second largest number complete solutionexample : [22,3,4,5,6,11,3,33] output should be : 22 I know this…
Question:Calculate the minimum number of swaps necessary to make a string balanced Logic:Initialize sum =…
Question:Program to find maximum profit in a stock numbers, basically they will give a list…