Kind of. When I was doing LeetCode, I tried to give myself an additional challenge by implementing in a "functional taste", that is, to make heavy use of immutable data structures and Java Stream API (I mostly used Java at the time). That did help me a bit in writing better functional code in general.
The bigger benefit to me, however, was that I got more confident during the interviews.
The bigger benefit to me, however, was that I got more confident during the interviews.