6,510 reputation
51838
bio website taxprodigy.com
location
age
visits member for 2 years, 3 months
seen 6 hours ago

1d
comment Getting the Max Age of a student using Class C++
Please also read Open letter to students with homework problems
2d
comment Sending Out Functions To Return Or To Die
@Doval Agreed (100%)
2d
comment Is the time complexity of this code snippet O(n)?
Why do you think it's O(n)?
2d
comment Sending Out Functions To Return Or To Die
See also Structured programming, especially the bit about 'early exit'
Dec
18
comment Using a push notification to trigger a fetch/pull for realtime updates?
What makes you think the push notifications are real time?
Dec
18
comment How can I encrypt or remove readability of source code before publishing it?
That doesn't sound very "collaborative"
Dec
18
comment Find the number of increasing Sequence of length K
Since you have working code, just get out a pencil & paper and walk through it by hand for a couple small values of N.
Dec
17
comment Algorithm to test file equivalence
What kind of files are these? Could you get a mismatch in a header yet still have what you'd consider to be the same data? Video, audio, & image files might fall into this category.
Dec
17
comment AJAX - What exactly does that encompass?
"I know AJAX" means you can defend that statement to the hiring manager when you make it past HR's filtering out all resumes that don't have 'AJAX' in them.
Dec
17
comment Strategies around Migrating ASP.NET MVP+WebForms to MVC
Possibly related: When is a BIG Rewrite the answer?
Dec
15
comment Algorithm for intersection of two convex polygons among set of m convex polygons in a plane
Please see Open letter to students with homework problems
Dec
11
comment Matching algorithms in context of data quality problems
An obvious additional date check would be age - any age over 90 or under 10 might merit additional review. A birth year of 1499 seems unlikely if it's for a living person.
Dec
10
comment Is it possible to have a keyed dictionary stored on disk?
Yes, it is possible. What do you have in mind?
Dec
10
comment Apostrophe in sql string how can I remove
See also Bobby-Tables for an explanation of sql injection and how to fix it.
Dec
9
comment Track a series of choices with a single number
Why do you want to do this? You can certainly map choices to bits, but you'll waste a lot of clock cycles (both yours and the CPUs) doing so. Saving memory isn't much of a concern these days. Picking the simplest to understand / easiest to maintain and modify solution is probably better in the long run than bit twiddling.
Dec
9
comment Excel-like column numbering
Why not create a 676 (26^2) element lookup array? That could be bad if you extend to 3 or more characters, but for 1 or 2 it would work.
Nov
28
comment Totalising and condensing data values from multiple arrays into a single array
On a totally unrelated note, you may wish to reconsider the variable names 'shwl', 'shwi', etc. Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live
Nov
26
comment Are there any widely accepted sets of standards/practices for secure coding?
Asking for off-site resources is another problem / reason for closing questions. Why do you need to update your standards? Put another way, what problem does updating your standards solve?
Nov
26
comment Are there any widely accepted sets of standards/practices for secure coding?
Why is asking a question on “best practice” a bad thing?
Nov
26
comment Finding repeated text in a string
There's a more general question Algorithm for finding automorphisms of a string in O(n) time that could solve this even if the text is repeated more than twice. I hesitate to call this a duplicate though.