7 kyu
Geometry Basics: Distance between points in 3D
422 of 762taw
Description:
This series of katas will introduce you to basics of doing geometry with computers.
Point
objects have x
, y
, and z
attributes. For Haskell there are Point
data types described with record syntax with fields x
, y
, and z
.
Write a function calculating distance between Point a
and Point b
.
Tests round answers to 6 decimal places. Tests in Haskell will not round.
Geometry
Fundamentals
Similar Kata:
Stats:
Created | Mar 30, 2017 |
Published | Mar 30, 2017 |
Warriors Trained | 1145 |
Total Skips | 13 |
Total Code Submissions | 1319 |
Total Times Completed | 762 |
Ruby Completions | 66 |
Python Completions | 422 |
JavaScript Completions | 246 |
Crystal Completions | 16 |
Haskell Completions | 93 |
Total Stars | 14 |
% of votes with a positive feedback rating | 87% of 194 |
Total "Very Satisfied" Votes | 153 |
Total "Somewhat Satisfied" Votes | 33 |
Total "Not Satisfied" Votes | 8 |
Total Rank Assessments | 12 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |