
Distance between two coordinates in kilometers
PHP adaptation of the haversine formula for measuring distance between locations

PHP adaptation of the haversine formula for measuring distance between locations

Nothing special — just a small script for collecting GitLab activity history
Return the string after making it good. The answer is guaranteed to be unique under the given constraints.
Given a string s, find the length of the longest substring without repeating characters.
Given two sorted arrays, return the median of the two sorted arrays.
Given a valid parentheses string represented as string s, return the nesting depth of s.
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list

A detailed answer to a popular question that I get asked every time my code is analyzed by co-workers
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.