Comments (3)
Thanks, In my first commit, I have thrown an exception when a negative integer is encountered. I'll try and add the negative integer support in a subsequent commit.
from 30-seconds-of-java.
Hi @iluwatar , I wish to work on this. How do you want the negative integers to be handled? Throw an exception, gracefully display the two's complement representation of a negative number?
from 30-seconds-of-java.
Great @sendhilkumara, go ahead. To your question, I think either way works. Actually, we could provide two different implementations. One for unsigned integers and one for signed.
from 30-seconds-of-java.
Related Issues (20)
- Need help with Chinese translation HOT 2
- Add instructions how to contribute to this repository
- Create CI build HOT 2
- Upgrade Checkstyle HOT 2
- Add Array Algorithms HOT 6
- I would like to add some bit-manipulation concepts. HOT 11
- Add new solutions to fibonacci and factorial HOT 4
- Add find mean, median and sum to the arrays section HOT 2
- Need help with Korean translation HOT 2
- Upgrade to Java 17
- Windows build fails: 86 tests completed, 2 failed HOT 8
- HttpPostSnippetTest.testHttpPost failing HOT 1
- O(1) space palindrome check
- Add BinarySearch Algorithm HOT 1
- Provide Search Bar HOT 3
- Would like to add some more math snippets HOT 5
- Improvement in CycleSort algorithm HOT 2
- Improve bubble sort algorithm performance HOT 3
- Add Table of Contents HOT 3
- Improvement to mode algorithm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 30-seconds-of-java.