Brave Software Interview Questions

137 interview questions shared by candidates

Make a class BigInteger that takes as input a very long character string ( out of scope of long). The class should have the following functions: add(BigInteger other) //should perform this + other, and return this subtract(BigInteger other)// should perform this - other, and return this multiply (Biginteger other) // should perform this * other and return this
avatar

Software Developer

Interviewed at Brave Bison

3.4
15 Dec 2012

Make a class BigInteger that takes as input a very long character string ( out of scope of long). The class should have the following functions: add(BigInteger other) //should perform this + other, and return this subtract(BigInteger other)// should perform this - other, and return this multiply (Biginteger other) // should perform this * other and return this

You are given an integer list coins representing coins of different denominations and an integer amount representing a total amount of money. Return the fewest number of coins that you need to make up that amount. If that amount of money cannot be made up by any combination of the coins, return {}. You may assume that you have an infinite number of each kind of coin. Example 1: Input: coins = [1, 5, 6, 9, 15], amount = 31 Output: {15:2, 1:1} Example 2: Input: coins = [1, 5, 6, 9, 15], amount = 100 Output: {15:6, 9:1, 1:1}
avatar

Data Engineer

Interviewed at Brave AI Lab

4.7
24 Mar 2023

You are given an integer list coins representing coins of different denominations and an integer amount representing a total amount of money. Return the fewest number of coins that you need to make up that amount. If that amount of money cannot be made up by any combination of the coins, return {}. You may assume that you have an infinite number of each kind of coin. Example 1: Input: coins = [1, 5, 6, 9, 15], amount = 31 Output: {15:2, 1:1} Example 2: Input: coins = [1, 5, 6, 9, 15], amount = 100 Output: {15:6, 9:1, 1:1}

Viewing 1 - 10 interview questions

Glassdoor has 137 brave software interview questions and reports at brave software. Prepare for your interview. Get hired. Love your job.