Pregunta de entrevista de Fujitsu

How do you check if two numbers are equal without using comparators?

Respuestas de entrevistas

Anónimo

23 oct 2019

About your question if you are working with c/c++ you could write a substraction statement that substracts one number from other and put that statement in a condition block of an if statement. As the if statement will use the result of the substraction to compare it to as zero itself and you do not need to write any comparators. For other languages if you find any answers please note it here as a comment.

Anónimo

16 oct 2020

!(a^b)

Anónimo

19 ene 2021

It's essential to demonstrate that you can really go deep... there are plenty of followup questions and (sometimes tangential) angles to explore. There's a lot of Software Engineer(Internship) experts who've worked at Fujitsu, who provide this sort of practice through mock interviews. There's a whole list of them curated on Prepfully. prepfully.com/practice-interviews