Question: GO code Traingle Assembly! Description In a large ground, N students are instructed to stand in rows such that there are always k students in
GO code
Traingle Assembly!
Description
In a large ground, N students are instructed to stand in rows such that there are always k students in kth row ie student in row in row and so on You need to return the total number of rows that could maintain this pattern.
Constraints
N
Examples
Input:
Output:
Explanation:
students th row will require students but we have only left. So only rows could maintain the pattern.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
