Log n lugai ki comparison