The Panama Canal was built by the US Army Corps of Engineers between 1904 and 1914 .