Codilime Interview Question

Q: How linux manages RAM memory in running multiple threads