Intuit Interview Experience for Fresher SDE - Intern,
Aug 2019
This was a coding round in which two questions were asked. I solved first question fully and the second question partially.
Count of ways to distribute N items among 3 people with one person receiving maximum
Given an integer N, the task is to find the total number of ways to distribute N among 3 people such that:
Exactly one person gets the maximum number of items among all the 3 people.
Each person gets at least 1 item.
Given a matrix of ‘O’ and ‘X’, replace ‘O’ with ‘X’ if surrounded by ‘X’.