The power of a given number obtained by multiplying the number with itself for a specified number of times. For a given number a, calculate the nth power where n is any number n > 0, a > 0 Example: Func(2, 5) = 5th power of 2 = 32

```
private double Power(double a, double n)
{
double mult = 1;
for(int i = 1; i <= n; i++)
{
mult = mult * a;
}
return mult;
}
```

**How it works:**

```
mult=1, i = 1
n = 5, a = 2
mult = 1 * 2 = 2
mult=2, i=2
n=5, a=2
mult=2 * 2 = 4
```

and so on..

Loops • Added 8 months ago

Compute and generate a compressed string for a given string containing repetitions

Loops
Strings

Find all possible natural numbers below a given limit such that a3+b3 = c3+d3

Loops

Find all the pairs in a given ordered set of numbers whose sum is equal to a given input sum

Loops

Find all the pairs in a given unordered set of numbers whose sum is equal to a given input sum

Loops

Sort the given unordered set of Binary digits

Loops
Sorting

Role-based Access Control in AWS - Assuming Roles and accessing via ASP.NET Core

AWS
ASP.NET Core

Top 10 LINQ methods we use in our everyday C# Development

C# Concepts

Implementing a Worker Service in ASP.NET Core

ASP.NET Core

Understanding Time Complexity and Big O notation in Algorithms

Algorithms

Creating ASP.NET Core Microservices in AWS using SAM and CloudFormation

AWS
ASP.NET Core