Algorithms icon indicating copy to clipboard operation
Algorithms copied to clipboard

SSOC'23 Triangular Number

Open tarunvyshnav777 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Triangular Number evaluation is missing in the algorithm.

Describe the solution you'd like A number is termed as triangular number if we can represent it in the form of triangular grid of points such that the points form an equilateral triangle and each row contains as many points as the row number, i.e., the first row has one point, second row has two points, third row has three points and so on. The starting triangular numbers are 1, 3 (1+2), 6 (1+2+3), 10 (1+2+3+4).

triangular-numbers

I can add both brute force and optimal solutions.

I can code in all four languages. @Kumar-laxmi Assign this issue to me under SSOC 2023.

tarunvyshnav777 avatar Jun 09 '23 13:06 tarunvyshnav777

@Kumar-laxmi sir kindly assign me this issue under ssoc 2023 , I can code it and give an optimized solution

Soumya6Tiwari avatar Jun 10 '23 03:06 Soumya6Tiwari

Stale issue message

github-actions[bot] avatar May 31 '24 16:05 github-actions[bot]