InterviewBit Problems   Arrange II : Solved

About the Arrange II : Solved category (1)
Java easy to understand (1)
Recursive o(A*B) solution (3)
Python Solution (Top-Down Approach) O(n*B) Time Complexity (1)
C++ solution top-down approach (1)
Memoization Method (1)
Top-down DP approach with Time Complexity( stable * numhorses * numhorses) and Space complexity(numhorses) (2)
Why is this solution wrong (1)
Easier solution than editorial (4)
Easy and space O(n) solution and time complexity is O(stables * horses * horses) (1)
Given tutorial is too complex to understand. Here is an extremely simple solutio (1)