Member Avatar
Hello. I want to submit a code stuff with an explanation. It is not a valid code. Someone can help me to find error? <code> ** ** ...
by kouty in Software Development ()
Member Avatar
Implement the following class.the class has two instance variables num for the fraction numerator and den for the fraction denominator. public class Fraction implements Comparable<Fraction> public Fraction(int num, int den) // initialize instance variables public int den() // returns the denominator public int num() // returns the numerator public Fraction …
by Vinolia in Programming ()
Member Avatar
Hi im trying to learn software engineering at home but m confused about two things should i learn coding 1st or learn algorithms 1st i already started learning coding but some people said that i should learn algorithms 1st then i started looking for algorithms courses online but most of …
by Ghost0s in Programming ()
Member Avatar
How to calculate time complexity of any algorithm or program .... need help on this..
by rupali in Computer Science ()
Member Avatar
Dear all, I need the code for counting sort algorithm but I try this code but is not working ...
by Diellza in Software Development ()
Member Avatar
Hi! I want to know how artificial intelligence system(s) work(s)? I want to know whether artificial intelligence depends upon software i.e special type of software having special algorithms or it depends upon special type of hardware having characteristics like human brain cortex and neuron system or both of them(software and …
by oanahmed in Computer Science ()
Member Avatar
I am trying to develop the genetic algorithm to solve Traveling Saleman problem and part of my challenge is to generate random tours long enough and write a fitness function to evaluate the cost incurred for each of the random tour. I have attempted to write the following. My objective …
by Pavan_5 in Software Development ()
Member Avatar
**hello peeps and geeks, i am missing the MinSpanningTree function here.. any help please? need to fill up the function to get a) Minimum spanning tree cost for the graph b)Spanning tree path for the graph. E.g in matrix or adjancency list. ** #include <iostream> #include <ctime> // For time() …
by electrodelic in Software Development ()
Member Avatar
I would like to propose a link thread for posting listings of sites on CS topics not tied to a specific language. Two that come to mind as being relevant to some of the more common questions would be the , and the similarly themed but less established . would …
by Schol-R-LEA 996 in Computer Science ()
Member Avatar
Hello, I've got a question about a project in my operating systems class. The task was to create a program that lets the user choose a variety of cpu scheduling algorithms and simulates them with random data or data from a file. I've already done it for first come first …
by Kyle777w in Software Development ()
Member Avatar
At the moment I am trying to decide which book to buy, there are many that I think would be very interesting, but some are most likely beyond me. The books in my list, along with my thoughts on them are: Concrete Mathematics (I believe this is probably too advanced …
by pwolf 14 in Computer Science ()
Member Avatar
alright guys so am havign trouble finding a way to search for seats that are toghether, my pgram consists of a theater with 20 x 10 seats, i have created a seatSelection class and the theater file which has the main. Ok so heres a sample output of how it …
by nah094020 in Software Development ()
Member Avatar
Hello, What is the best way to check my code? I have written a program that counts the swaps required to sort an integer array using the Bubble, Selection, Insertion and Quick sort methods. How can I be absolutely certain that my swap counts are correct? Will someone take a …
by HankReardon in Software Development ()
Member Avatar
Hey guys, I'm trying to understand how radix sort works in C++ : I've looked over the C++ implementation from wikipedia: The portion I'm having trouble with is the accumulation and transfer parts (commented above). What's the point in the accumulation step, and how does the transfer portion work? Can …
by Duki 552 in Software Development ()
Member Avatar
Hi everyone, I'm learning C# at the moment and really enjoying it. I'm wondering though how I can develop my own algorithms. do I need to read on data structures and algorithms? Is there a book for all programming languages so you can apply the knowledge to basically any programming …
by rotten69 20 in Software Development ()
Member Avatar
Hi I have a CS class assinment that invloves solving a word search puzzle with a brute force string matching algorithm. I have made a lot of head way in getting the four search methods to work, however when I search for words that end along the edges of the …
by Kyle Willett in Software Development ()
Member Avatar
What is the running time for the following recursive function: Can someone please explain step by step on how I would figure this out. My attempt is that I only care about the if statement and int mid here (i think). "If" would be a simple n and would "int …
by FUTURECompEng in Computer Science ()
Member Avatar
Hello all, I'm having trouble getting google to give me anything useful because I don't know the name of the algorithm I'm looking for. This image shows different ways of connecting two points together, A is just plain lines, C is bezier curves but what is the algorithm that is …
by sciwizeh 62 in Computer Science ()
Member Avatar
I am currently working on kind of multi-graph structure. The thing is that two graphs are needed for my application which span the same vertices but with two distinct set of edges (i.e., a multi-graph). The first graph is a binary search tree, while the second graph must be general …
by mike_2000_17 2,649 in Computer Science ()
Member Avatar
i am looking for information source on an algorithm for parametric surfaces design in 3d. i just need advice on how to go about it. the language used for the algorithm is not a matter but rather the idea on how the algorithm is to be is of paramount importance. …
by tendaishava in Computer Science ()
Member Avatar
Hello! I just want to ask you guys if anyone can help me reedit my program from BFS to DFS. I know how BFS works but i can't figure it out how to write the sintax. So i would please ask you guys if you could help me out. Heres …
by minghags in Software Development ()
Member Avatar
Today on Google News' Top Stories front page you could find plenty of coverage of the ruling allowing the "jailbreaking" of iPhones as well as some discussion of the soon to be released update of the Android operating system and continued skepticism about Microsoft's upcoming Phone 7. Just above most …
by EricMack 25 in Search Engine Strategies ()
Member Avatar
I see that there are many questions here regarding complexity analysis, specifically regarding the Big-O notation of algorithms. I will attempt to shed some light on the subject. I will start with an introduction, after which I will go over some common complexities and last we will solve a few …
by apines 116 in Computer Science ()
Member Avatar
Every day on his way home, little Billy passes by his great aunt Clara Mitchum's house. Generally he stops in for a chat with his aunt and sometimes he asks for some lollies. When he does, she generally gives him some, but then adds now don't be asking for any …
by aphide in Computer Science ()
Member Avatar
Let me first describe my situation. I have a list of Hex values, which are called BaseID. They are chosen such that logical OR between any number of them will give you a unique ID which is called FinalID. That is, my BaseID values are as follows. BaseID = { …
by sachintha81 17 in Software Development ()
Member Avatar
Hello. I have tried numerous string permutation methods, and they work, but not for what I need. I need to permute a string such that I don't get any reversals: abcd abdc acbd acdb adbc adcb * bacd badc bcad bcda * see how these are reversals of each other? …
by davetheant in Software Development ()
Member Avatar
I am looking for computer algorithm that not in my directory codewordblog.blogspot.com. please inform me your suggestions........
by anwaryp in Computer Science ()
Member Avatar
Ok guys i am suppose to simulate an atm machine declare a variable to store the acct balance there shud be three options 1. if the user choses option 1, print balance 2. If the user choses option 2, ask the user to enter amt they want to withdraw. accept …
by Renzeeks in Computer Science ()
Member Avatar
Design a program using psuedocode to accept :name, gross salary, personal status, number of children (50employees) Calculate and print: name, gross salary, income tax for all Rules: personal allowance $12000 single person $23,000 married. child allowance $1000 per child. Taxabl;e income gross salary- personal allowance and child allowance. Income tax …
by Renzeeks in Computer Science ()
Member Avatar
Hi ,There I hope you can help me with this I need a Java algorithm to help me find how much % is string A relevant to String B Example : String A =&gt; Java ,C++ ,C# ,Assembly String B =&gt; java ,c++ then Result should be =&gt; 50% relevant …
by Gata_Salvaje in Software Development ()