Robust And Efficient Algorithms For Federated Learning And Distributed Computing