HP Inc. interview question

Easy DSA questions Java basics spring boot