All Questions
6 questions
6
votes
7
answers
7k
views
How to avoid repeating "a==b" when comparing "condition a" and then "condition b" and then...?
For example, I have an object:
public class Obj{
public int a;
public float b;
public String c;
}
I need to find best "Obj": largest a and then largest b and then longest c:
int ...
0
votes
1
answer
69
views
Design a non replayable endpoint for a service
I am trying something out in Springboot and stuck with a weird issue where I want to send some data from my frontend (react app) to backend (SpringBoot) and make that request non replay able by users (...
4
votes
0
answers
14k
views
Design elevator system algorithm and classes? [closed]
Here are the main classes I can think off the top of my head. All business objects will follow the abstraction (implement interfaces). I have not mentioned interface names
to avoid verbosity. I have ...
-2
votes
1
answer
509
views
Program to look at the first say 5 characters of a word and return a string if that string is actually the first 5 characters of a word?
For example, say I have a string and it has the letters:
RDNAL
This is not an actual English word or it doesn't start an actual english word, so the program would skip this string and would avoid it....
-2
votes
1
answer
495
views
How to create a some kind of value for sentences? [closed]
I want to identify most matching sentence using some pattern. That means by using java algorithm I want to create identical value for each sentences.Each sentence when entering to that algorithm can ...
12
votes
8
answers
2k
views
Algorithm Vs Design [duplicate]
Possible Duplicate:
Is it essential to learn algorithms to be a real programmer?
This question is, perhaps, related mostly to web developers who, like myself, code enterprise applications and use ...