abt algoritham complexity Programming Software Development by deepakkrmehta hello sir sir i am doing data structure using c but sir i have some problems in how to get algoritham complexity.please tell me which site contain full detail on algoritham complexity although i have read full chapter but some little bit confusion so plz sir thanx from deepak kr. Efficient search algoritham in c++ Programming Software Development by can-mohan Hi , I need to implement efficient search algoritham for comma separated list of MSISDN's that needs to … want to implement this in c++ . Can anybody suggest what algoritham wiil be best suited for the same as here searched… A* algoritham Programming Software Development by chinni1201 hi guys,, can anyone post the entire coding for A* algoritham using heuristic functions..u hav to use java langauge.. Re: abt algoritham complexity Programming Software Development by nattylife [URL=http://www.cprogramming.com/tutorial/computersciencetheory/algorithmicefficiency1.html]click here[/URL] Re: abt algoritham complexity Programming Software Development by Ancient Dragon [QUOTE=deepakkrmehta]hello sir [/QUOTE] I realize you mean well, but there are a few women here too. And this isn't the Navy where both men and women officers are called "Sir". No need to be so stiffly formal on any of these forums. :D Re: Efficient search algoritham in c++ Programming Software Development by mike_2000_17 The standard solution to this is to use an associative container to store the list of numbers. One obvious option is to use `std::set` which relies on a binary search tree and will achieve look-up times of `O(log(N))`, as is typical of binary search trees. In your case, however (numbers and millions of records), it might be more appropriate to use … Re: Efficient search algoritham in c++ Programming Software Development by can-mohan Thanks for your replay. I have two question to you. (1) what should be strategy to design a good hashing function. (2) Is it possible to use well design Hash function with unordered_set as unordered_set will have its own hash function . Re: Efficient search algoritham in c++ Programming Software Development by mike_2000_17 > (1) what should be strategy to design a good hashing function. I am not an expert on hashing functions. The basic idea is that it should be a good way to map all the numbers you are storing to a compact and non-clashing set of numbers. The standard containers will use a basic one-size-fits-all hashing function. For example, if you are storing… Re: A* algoritham Programming Software Development by peter_budo Nope, please read announcement on top of the section "[URL="http://www.daniweb.com/forums/announcement9-2.html"]We only give homework help to those who show effort[/URL]" for_each usage with map in c++ Programming Software Development by can-mohan … predicate function cmp_str can't be used with for_each algoritham while using this algoritham with map. #include <iostream> #include <… time and complexity Programming Computer Science by xraaz how much time this algoritham takes in theta notation a <---- 0 for i <------1 to n do for J <........ 1 to i do for k <-------j to n do a = a+1 how to select the data's from database as random Programming Web Development by dskumar_85 … to 1000 and more by using asp.net c#,any algoritham is there to select the question's in random ? or… How to program under linux Programming Software Development by fuzzyrose …","NTAT"}; public fcfs() { super("fcfs scheduling algoritham"); con = getContentPane(); k= Integer.parseInt(JOptionPane.showInputDialog("Enter… Re: Some Data Structure Problem Programming Software Development by zigpy_siva hi a) Sorting algoritham must work for a wide range eg if i give 3 values like 1,2,3 it is ok but what if i give values 25,520,1000...... b) Order Meanse ?????(i am also new) Re: True Random Number Generator Programming Software Development by kelechi96 The point is not to use an algoritham to generate random numbers it it to generate TRUE random numbers forinsance the radiation around you is argubly random and the sound waves genereated around you are seemingly random so using sound could i not generate random numbers ! Re: Banker's Algorithm in C Programming Software Development by baluobs i want bankers algoritham Re: Banker's Algorithm in C Programming Software Development by invisal [QUOTE=baluobs;985530]i want bankers algoritham[/QUOTE] I am greatly disappointed. Re: Translate an algorithm to C program Programming Software Development by dhaval gajjar dear sit/ madam, i want all algoritham & flowchat of c programming Re: Array problem... Programming Software Development by C.Cen … that there would be some way to make a sorting algoritham using only what we learned or else why would he… Re: Can anyone help me optimize the following ray distribution method please? Programming Software Development by crishjeny … more R&D for ray distribution method for single algoritham Re: time complexity of algorithm Programming Computer Science by umesh sevra what is the time complexity of algoritham? Re: diamond of numbers Programming Software Development by uzair.tabassumwahla and i want algoritham Re: Best way to find High quality baklinks Digital Media Digital Marketing Search Engine Strategies by WilliamJohn9 As per the latest algoritham, To get the **high quality backlinks**, we need to check … Re: segmentation fault in hash implementation Programming Software Development by can-mohan Hi, It is not inefficient algoritham as i am implementing like hash["abcd"]=hash["cbda"] so all the combination must have the same key value .apart from this i didn't understand about your resolution as not sure where are you pointing out the error in implementation. Re: What is the best backlinks types ? Community Center Meta DaniWeb by ManuMahajan After google penguien update High DA backlinks imacts on seo . But after 2012 the algoritham is changed and if the backlink provided website not realated content of your website then the link is not valuable Re: for_each usage with map in c++ Programming Software Development by rubberman Well, your last for_each() statement doesn't do anything. Neither does your last std::cout << '\n'; other than output a newline just before you terminate the program. Why not use std::endl instead? Also, what is the output of the statement before the loop where you display the size of the map? Finally, what exactly is your problem? Re: for_each usage with map in c++ Programming Software Development by tinstaafl Biggest problem I can see, is that you are trying to pass a binary function to the for_each function that is expecting a unary function. That's besides the syntax error(semi-colons instead of commas), typing error(2 p's in employee) and missing reference(#include <algorithm>). Also when using an object like that you need and instance:… Re: for_each usage with map in c++ Programming Software Development by can-mohan Thanks for your answer. I want to print the all the keys in sorted (ascending order) manner through for_each with help of compstr function. apart from this is it possible to print the values as well in sorted manner of associative container. In current implementation i am copying both key and value separately in vector and performing the sort … Re: for_each usage with map in c++ Programming Software Development by tinstaafl I think you may be over thinking this a bit. A map is already sorted by its keys. Basically all you need to do is print it out. You can still use the for_each if you want: struct prt_pairs { void operator()(pair<string ,int> pr) { cout << "Index - " << setw(15) <… Re: for_each usage with map in c++ Programming Software Development by can-mohan but it doesn't seems to be possible if we sort the values instead of keeping them in vector. not sure it is possible because i need both (key and value) pair in sorted manner. key will be by default sorted but values not :(