SAP Interview Question

Basic Java Question , SQL (Index, PrimaryKey, Performance tuning), Java 8+ features, Algo- read all folders/subfolders in file, Reverse number,Fibonacci Series with best performance