hello friends, given an expression we have to remove the
unwanted brackets in that expression.
Eg : (a+b) ---> a+b
(a+b)*(c)-----> (a+b)*c. Please mail me if you know
the logic. My mail id is : email@example.com.
Thank you in advance :-)
I am developing a web application using google map api.I
want to update the map inside the div control within update
panel. I got other controls updated but map doesn't get
updated.I do not not want to update map whenever unnecessary
controls are fired at server side.How could it be achieved?
Given a table of the form:
Product Sold on
There are 30 products and 10,000 records of such type. Also
the month period during which sales happened is given to u.
Write the program to display the result as:
Product Month No. of copies
A January 12
A February 15
A March 27
B January 54
B February 15
B March 10
C January 37
Definition of priority queue was given. We have to implement
the priority queue using array of pointers with the
priorities given in the range 1..n.
The array could be accessed using the variable top. The list
corresponding to the array elements contains the items
having the priority as the array index.
Adding an item would require changing the value of top if it
has higher priority than top.
Extracting an item would require deleting the first element
from the corresponding queue.
The following class was given:
void put(int item, int priority); // inserts the item with
the given priority.
int get(int priority); // extract the element with the
int count(); // returns the total elements in the priority
int isEmpty(); // check whether the priority queue is empty
We had to implement all these class functions.
An array of size 5X5 is given to us. The elements from 1 to
25 are to be inserted in the array, such that starting from
a particular position for an element i, the next element
i+1can be inserted only at the mentioned positions (u,v),
and if these all positions are occupied then it returns
giving a count of how many positions have been occupied in
(u,v) = (x+/-3 , y)
(u,v) = (x , y+/-3)
(u,v) = (x+/-2 , y+/-2).
Example: if the starting element is 1 with the given
positions (1,2), then next element 2 can be placed at any
one of the positions marked with *.
_ _ _ _ _
1 _ _ _ *
_ _ _ _ _
_ _ * _ _
* _ _ _ _
advance the focus to next consecutive fields when Enter Key
why nlogn is the lower limit of any sort algorithm?
Which framework is best in php among Smarty, Cakephp,
Joomla, Drupal, Zend or Something else...? If any then Why?
How can restrict
user to type upto
8 characters in
textbox in php?
Set up procedure for generating a wire frame display of a
polyhedron with the hidden edges of the object drawn with
code to detect versions of different browsers like internet
explorer, netscape, mozilla, opera etc
Code for Small C++ Class to Transform Any Static Control
into a Hyperlink Control?
Create a class called Accounts which has data members like
ACCOUNT no, Customer name, Account type, Transaction type
(d/w), amount, balance
If transaction type is deposit call the credit(int amount)
and update balance in this method.
If transaction type is withdraw call debit(int amt) and
Pass the other information like Account no,name,Account
Type through constructor.
Call the show data method to display the values.
Can we change the validator-rules.xml for our own
validations in struts??
How can you relate the function with the structure? Explain
with an appropriate example.
how to track links visited in google using iframes
Code for Two Classes for Doing Gzip in Memory?
develop a program to calculate and print body mass index for
Algorithm A performs 10n2 basic operations and algorithm B
performs 300 lg n basic operations. For what value of n does
algorithm B start to show its better performance?
Plrase send project in vb.net on hotel management.