logic
How Can I Speed Up This Anagram Algorithm
I am making a mobile app to find anagrams and partial matches. Mobile is important because there is not a whole lot of computational power, and efficiency is key.[详细]
2023-03-17 00:56 分类:问答Comparing keywords in a page or CSV file: PHP ? Bash?
I have a series of keywords in an HTML web page - they are comma separated so I could get them to CSV, and would like 开发者_Go百科to know which ones are NOTin another CSV file displayed as an html we[详细]
2023-03-16 15:54 分类:问答Calculating value based on weighted percentage chance
I am writing a program in which I need to get a random value based on weighted chances and am having real difficulty.An example of what I need to do:[详细]
2023-03-16 14:51 分类:问答PHP - Alternating email selection based on a set schedule
Ok, Here is the situation, I am looking for some general input on the logic of this class. The purpose of this class is to: query a schedule database for employees that are currently working, and sele[详细]
2023-03-16 13:23 分类:问答Efficient way to do unions and intersections in mySQL
I have a mySQL table with columns: name and label. If a person, \"Bob\" has the labels \"cool\",\"funny\", and \"childish\", my table would have the corresponding rows: (Bob, cool), (Bob, funny), and[详细]
2023-03-16 05:42 分类:问答Prolog returns a list instead of several possible strings
answer(\"Yes\"). answer(\"No\"). 开发者_StackOverflow社区answer(\"Variable = value\"). receive(A) :- answer(A).[详细]
2023-03-14 10:20 分类:问答Implementing logic from text
I have a program which recieves inputs in the form of text for example : IF (A.4.1-1/1 OR A.4.1-1/2) AND A.4.4-1/9 AND (A.4.4-1/12 OR A.4.4-1/13 OR A.4.4-1/14 OR A.4.4-1/15) THEN R ELSE N/A[详细]
2023-03-14 07:15 分类:问答How to modify include file in jsp page without showing blank content
I am a开发者_C百科 beginner with jsp servlets, and I need some help having my page not show up blank when I make changes. I am trying to include the the code from a donate-box.jsp into the layout of t[详细]
2023-03-14 06:51 分类:问答how to implement c# code/logic based on decision tree?
i have big decision tree with many Yes/No questions. i need implement some code with c# and go trough this tree and get unique id as return.[详细]
2023-03-13 07:14 分类:问答What is wrong with my program logic
Please help me find the defect in my logic. I have two variables named \"prev\" and \"next\"...What i am basically doing is reading the data from my database every 5s and printing it out using Websync[详细]
2023-03-13 06:38 分类:问答