Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
75% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
4 Commented Posts
0 Endorsements
Ranked #2K
~76.2K People Reached
Favorite Tags
c++ x 12
java x 1
Member Avatar for rupali

Very carefully, I hope! Why don't you start by learning how to compute time complexity for algorithms, in general.

Member Avatar for jamie_13
2
49K
Member Avatar for Alex Edwards
Member Avatar for kinger29

Sign-extending means the value of the most significant bit of the 16-bit integer (the sign bit, for signed 16-bit integers) is used to fill the 16 higher bits. [code]0abcdefghijklmno => 00000000000000000abcdefghijklmno 1abcdefghijklmno => 11111111111111111abcdefghijklmno[/code] This means that if your 16 bits represent a signed integer, your 32-bit value will represent …

Member Avatar for trololo
0
11K
Member Avatar for Michael27

I think you're talking more about C# datatypes than you are about object oriented programming. Here is a page I made about object oriented programming: [url]http://srh.is/linkables/oop.html[/url]

Member Avatar for Michael27
0
148
Member Avatar for Bankai Hikari
Member Avatar for kansurr
Member Avatar for Shanuka

What does it mean for a project to be related to IT? Please give examples of projects that are and aren't considered "related to IT".

Member Avatar for Rashakil Fol
0
132
Member Avatar for DefConBandit
Member Avatar for serkan sendur
Member Avatar for TheBuzzer
Member Avatar for philmetz

What trickleup process are you talking about? heapify builds the two child heaps and then trickles the root node into one of them. Your real problem is that you aren't thinking recursively.

Member Avatar for Rashakil Fol
0
2K
Member Avatar for mattlew62
Member Avatar for dickersonka
0
155
Member Avatar for Q8iEnG

Why don't you start by making a timeline of prominent programming languages and major developments in their set of features. Then think about what problems these features were trying to solve, and where they got these features from.

Member Avatar for nathonn
0
143
Member Avatar for chunalt787

Bubbling down doesn't take O(n) time, where n is the number of nodes in the heap. Think again. If you want to find a specific element in the heap, you have to traverse the tree. For finding the k'th smallest element in O(k) time, I don't know off the top …

Member Avatar for shrughes
0
85
Member Avatar for shopnobhumi

You say [icode]rand()[/icode] and it returns a random number between 0 and RAND_MAX. That's how you use it. You can call [icode]srand(something)[/icode] to initialize the random number generator -- where [icode]something[/icode] is a relatively unpredictable value, such as the current time.

Member Avatar for skatamatic
0
824
Member Avatar for pduregi

y:f(x)->x+1 is, um "nonstandard" notation. (Meaning: Where the heck did you come up with that?) The lambda calculus notation for a function such as that would be \x.x+1 where \ is meant to be the lambda character (but I don't have a unicode keyboard handy).

Member Avatar for shrughes
0
173
Member Avatar for volscolts16

What makes you say a full adder has three outputs? Your problem could be related to the fact that all your inputs and outputs in that picture you've posted seem to have the same name.

Member Avatar for shrughes
0
175
Member Avatar for kenji
Member Avatar for jhonnyboy
Member Avatar for dbwalters

Is this some kind of trick question? What is stopping you from trying out the different values of N and seeing the answer?

Member Avatar for aashish.raina
0
110
Member Avatar for Stefano Mtangoo
Member Avatar for ardila
Member Avatar for Freaky_Chris
0
146
Member Avatar for kido16

I would test their flight ability by folding them up into a nonstandard paper airplane and dropping them out the window. To be specific, I would scrap the idea of sequence diagrams altogether; if your design is so complicated that it needs sequence diagrams, you're relying too much on state-modifying …

Member Avatar for shrughes
0
101
Member Avatar for Kanvas

What is 'device' supposed to be? I don't think you should be using inheritance for this problem. It's very weird to see the base class receiving the child class as an argument, especially to insert. There's no hope of getting real help if you don't paste real code. You probably …

Member Avatar for sidatra79
0
191
Member Avatar for panpanf

[QUOTE=jbennet;716619]The key parts of most compilers are written in C itself, or in ASM.[/QUOTE] Bullshit.

Member Avatar for dmanw100
0
233
Member Avatar for gbengazzee

Your chance of good advice about Fortran and BASIC materials are low; they are not very commonly used languages any more. A good recommendation about algorithms can't be given without knowing how much experience you have.

Member Avatar for Salem
0
67
Member Avatar for mo16

You don't need any mathematical knowledge to start a computer science degree, aside from the ability to do obvious algebra, like being able to tell that x = z - y if you know that x + y = z. What is required (to be [i]good[/i] at CS) is just …

Member Avatar for Denniz
0
138
Member Avatar for gp32765
Member Avatar for cknapp

One way to clean this up is to avoid letrec. Instead, write [code](define (quicksort L) (define (split piv li return) ...) (if (null? L) L ...))[/code] Another thing is that godawful quasiquote notation. You could also clean it up by having split take two parameters in place of return, and …

Member Avatar for cknapp
0
1K
Member Avatar for DaveCachia
Member Avatar for shrughes
0
71