Pergunta de entrevista da empresa Fujitsu

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

Respostas da entrevista

Sigiloso

23 de out. de 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.

Sigiloso

16 de out. de 2020

!(a^b)

Sigiloso

19 de jan. de 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