IBM Interview Question

nothing diffiult. vey basic concepts were asked.