Five animals: Lion, Tiger, Elephant, Giraffe, Zebra
1) Lion’s cage is not kept at the last and giraffe’s cage is not kept at the first.
2) Tiger’s cage was kept at the centre of the line.
3) Zebra’s cage was kept after Lion’s but before Tiger’s cage.
(This means Lions cage is kept at the first, then Zebra’s cage is kept and then Tiger’s cage is kept)
4) There was one cage kept between Tiger’s and Giraffe’s cage
(This implies that immediately after Tiger’s cage, elephant’s cage is kept, and the giraffe’s cage is kept at the last)
This is the final arrangement.
Hence, Giraffe’s cage is kept at the very last in the line.