NIO Interview Question

1)How does logistic regression work 2)What is Gradient Boosting 3)Longest substring without repeating characters