Skip to content

codereport/arithmetic-progression

Repository files navigation

This repo contains solutions to the Arithmetic Progression problem. It was coverd in this YouTube video (coming). It can be found:

It can be solved trivially if you have three algorithms:

Array Language Solutions

Language Solution
Jelly ṢIE
Uiua /↧⧈=⧈-⍆
Uiua =1⧻◴⧈-⍆
Kap 1=≢∪2-/∧
Kap ∧/2=/2-/∧
Dyalog APL ∧/2=/2-/⊂⍤⍋⍛⌷
BQN 1=·≠∘⍷·-´˘2↕∧
Dyalog APL 1=(≢∘∪2-/⊂⍤⍋⍛⌷)
BQN ∧´·=´˘2↕·-´˘2↕∧
J 1=[:#[:~.2-/\/:~
Jello sort deltas all_eq

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Contributors