Category: Uncategorized

Exception while building flutter release

Here is the exception i was keep getting while running “flutter build appbundle” To identify what is causing issue, i commented all arguments inside android function of build.gradle then uncommented one by one and ran the command. Finally identified while adding below lines i am getting error, The problem here is, the gradle build is […]

BestSum Solution in Java

Problem Statement Write a function ‘bestSum(targetSum, numbers)’ that takes in a targetSum and an array of numbers as arguments. The function should return an array containing the shortest combination of numbers that add up to exactly targetSum. If there is a tie for the shortest combination, you may return any one of the shortest. Solution

HowSum Solution in Java

Problem Statement Write a function ‘howSum(targetSum, numbers)’ that takes in a targetSum and an array of number as an arguments. The function should return an array containing any combination of elements that add up to exactly the targetSum.If there is no combination that adds up to the targetSum, then return null If there are multiple […]