HintMD interview question

1.Number of Dice Rolls With Target Sum(Algorithm). 2.Difference between ArrayList vs Linked List 3.Best practices for developing the Rest API 4.In payment processing when call goes to connect API to complete card transaction. What you will do if transaction fail? How will handle this scenario? 5.How do you know your production app is failing/throwing error.