Pregunta de entrevista de Optum

Sample question: 1.check whether the equation has balanced paranthesis. 2.difference between procedural programming and object oriented programming. 3.indexes in dbms 4.remove duplicate from string 1. 5.A 4×4 cube is painted black. It is cut into 3 pieces. Now how many piece would have black colour in it after cutting?