Skip to content

LoveliniRawat/AdventCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Algorithm

https://adventofcode.com/2017/day/1

Steps

Step 1:

CQU ,front = 0 , rear = CQU.size - 1 , sum  = 0

Step 2:

if front != Rear + 1

Step 3:

if front == front + 1
sum = sum + CQU[front + 1]

Step 4:

front = front + 1

Step 5:

Repeat step 2 to 4

About

algorithm for problem solving

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages