在给定的英语句子中找到最长的单词。
这是一个样本英文句子，用于测试查找最长单词的算法。
Algorithm: 
1. Split the sentence into individual words.
2. Iterate through each word and compare its length with the length of the longest word found so far.
3. If the current word is longer than the longest word found so far, replace it as the new longest word.
4. After iterating through all words, return the longest word found.
 
Example:

Sentence: "This is a sample English sentence to test the algorithm for finding the longest word."

Longest word: "algorithm" (length of 9)