![]() |
Given a number n, find sum of square of first n even natural numbers. Examples:
A simple solution is to traverse through n even numbers and find the sum of square. C++
Javascript
Javascript
Output : 816 Time complexity: O(1) since performing constant operations |
Reffered: https://www.geeksforgeeks.org
Mathematical |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 12 |