Delta Encoding Compression
Description
In this problem, you will implement a simple form of lossless compression known as delta encoding. Given a list of integers, your task is to compute the delta encoded list. Delta encoding stores the differences between consecutive elements in the input list, starting with the first element as it is. For example, given a list [10, 20, 15], the delta encoded format would be [10, 10, -5]. The input list will contain up to 100,000 integers ranging from -10^9 to 10^9. You need to efficiently compute the delta encoded list and return it. This challenge tests your ability to manipulate lists and understand simple compression methods.
Input Specification
A list of integers where the length of the list does not exceed 100,000. Each integer is between -10^9 and 10^9.
Output Specification
A list of integers representing the delta encoded version of the input list.
Starter Code
def solve(input):
pass