Switch Sign of a Number
We make use of bit manipulation to solve this problem. using a NOT operator.
Switch Sign of a Number
Core language
Errors & fixes
Apache Kafka
Relational
NoSQL & caching
Errors & fixes
Course · javahandbook.com
Oracle Interview Mastery
200 questions · 19 chapters
View course →Interview courses
We make use of bit manipulation to solve this problem. using a NOT operator.
Switch Sign of a Number