Advertisement

900 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%!

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Algorithms Solutions: 1 - 25 of 243
 
I need a matrix multiplication algorithm using loops. Let i = row #; Let j = column #; outcome = A x B So I would want something like: The for loop order doesn't matter.
How do I change a given expression in infix notation to prefix and postfix notations using a stack?? Step by step?? What would be the state of the stack during the process?? lets say the ne...
Hello experts, please tell me 1. what is difference between Linear and Non Linear Data Structures ? Linear are - Array, Linked List, Stack, Queue Non Linear are - Tree, Graph 2. In which...
Hi to All, How can I send SMS message to a mobile phone from PC with GSM Mobile , my GSM Mobile is Sony Ericsson (W200i), please help me ASAP. Thanks in advanced, A.R. Rafiee
Hi, I have a tricky question. I need an algorithm to calculate the inverse tangent (tan ^ -1) for a specific floating-point x (-inf < x < inf). It has to converge fast or at least there must b...
Hi Experts, I just want to calculate working time and days between two days. ex: (Start date - End Date) - (Week end days in period)
for graph type problems I've been using an adjacency matrix. But now I'm dealing with an adjacency list type problem. It seems to me that the most natural way to implement the list is to u...
I am trying to work with reflection and am trying to create a helper method for my unit tests to print out all the properties of an object.  Some objects have nested collections - of type ILis...
i want to sort a linked list which algorithm should be used and why such that sorting takes place with least complexity.
Does anyone have Strassen's algorithm for matrix multiplication ? in C
I am trying to solve a problem involving a series of items I, that I want to reorder to a given final order F. The only valid reordering operation is the "flipping" of adjacent items. Thus the...
What is the difference between NP,NP-HARD,NP-COMPLETE ? please explain this with an example
Given a Binary Search Tree, write a program to print the kth smallest element without using any static/global variable. You cant pass the value k to any function also.
Hi Experts, I would like to know the exact meaning of O(n), Space and Time, Complexity of Algorithm. Also, I would like to know the formula/approach for calculating the above said three for...
I have a piece of cipher text, and I need to write a Java program to decrypt it, but I'm unsure how to. I know that you need to do a frequency analysis, and then cross reference with a diction...
Hey experts, I'm stuck and I need your help! I've been working on some code for the last few months to identify and measure some basic shapes in imported .DXF drawings so I can price them w...
Hi I'm wondering if you could give me a hand with an algorithm. I need to write a algorithm for generating combinations from n number of sets (of integers). I can write code that will...
I'm developing a client server application using Sockets in asp.net (c#).  I've got the client and server already communicating.  The communication protocal I use is simple, and is in this for...
Hi, i have a 3000 word wordlist saved as a .txt file and I want to sort every word in it alphabetically and then write then in alphabetical order into a new .txt file. I already know how to...
I need to calculate number of payments given interest, beginning principle and payment amount. I've been looking all over the web and I can find plenty of formulas for calculting payment amoun...
I'd like to produce a contour plot from irregularly spaced data. For example, consider the temperature map from USA Today; see this link then click the temperature map: http://www.usatod...
anybody know anything about generating barcode checksums? i'm trying to calculate the check sum for Code 128-B, which is Mod 103 this link:      http://www.code128barcodes.com/Code-128-ch...
Hello, I am searching for a good explanation and some pseudocode maybe for an algorithm that can be used to display a realtime animation of liquid. I have looked into the following (methods...
I am confused about how the size of the data type vary based on different processors? I found some thread discussing this topic already but I stil didn't quite understand about it. I mak...
Hi, Is there someone who can give me an Algorithm I can use to implement the classic 'Horse Jump' on a chessboard ? Description: On a chessboard (say 8x8), 1 piece (horse) is placed on...