Top "Computer-science" questions

Computer science (CS) is the science behind programming.

Is booth multiplication algorithm for multiplying 2 positive numbers?

Is booth algorithm for multiplication only for multiplying 2 negative numbers (-3 * -4) or one positive and one negative number (-3 * 4) ? …

algorithm hardware computer-science multiplication
Why are both little- and big-endian in use?

Why are both little- and big-endian still in use today, after ~40 years of binary computer-science? Are there algorithms or storage …

computer-science endianness
Prerequisites Needed to Read Books on Neural Networks (and understand them)

I've been trying to learn about Neural Networks for a while now, and I can understand some basic tutorials online, …

math computer-science artificial-intelligence neural-network
Should I commit all my computer science homework assignments to GitHub?

After reading a community wiki on Quora, I decided it would be good to start experimenting with GitHub. I thought, "…

github computer-science plagiarism-detection
How do I implement graphs and graph algorithms in a functional programming language?

Basically, I know how to create graph data structures and use Dijkstra's algorithm in programming languages where side effects are …

functional-programming computer-science graph
What is the importance of 1's complement and 2's complement in Binary

I'm trying to learn binary number system and almost very new. I just finished some chapter on binary number conversation,…

c binary computer-science number-systems
What does "level of indirection" mean in David Wheeler's aphorism?

I've read this quote in a book: There is no problem in computer science that can't be solved using another …

computer-science indirection
NP-Complete VS NP-Hard

I am trying to understand the difference between NP-Complete and NP-Hard. Below is my understanding An NP-Hard problem is one …

algorithm computer-science np-complete np np-hard
Why Two's Complement?

I'm writing a tutorial to teach kids (ages 9 to 13) about programming. I started with computers themselves, they don't have that …

computer-science twos-complement
Missing number(s) Interview Question Redux

The common interview problem of determining the missing value in a range from 1 to N has been done a thousand …

c++ math computer-science complexity-theory