Galois put forward the theory of groups and rings in order to solve the problem of finding the roots of algebraic equations (because this problem was the core problem of algebra at that time). But the epoch-making discovery of group and ring theory quickly changed algebra. It can be said that wherever contemporary algebra is involved, they will inevitably be encountered.
For its role in the computer field, how can I say it? If it is just code, it may not be necessary, but it should be enough to learn some discrete mathematics or something. But the development of the new algorithm should still have many functions. But you see, I can answer your question, which shows that I come from mathematics. Although I am also interested in computers, I don't know much about computers except solving equations numerically. Let me talk about my views for your reference.