Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Posts tagged algorithms

For questions related to designing algorithms (clearly defined steps that provide an abstract solution to a problem).

This tag doesn't have a detailed wiki yet.

60%
+1 −0
Q&A Generating combinations of elements, which are themselves sequences of the same length, where the elements have no value in common at any position

This question is adapted from a question I just helped fix up on Stack Overflow. I'm giving a different motivating example which I think will make it clearer what the requirements are and why a n...

2 answers  ·  posted 29d ago by Karl Knechtel‭  ·  last activity 29d ago by Karl Knechtel‭

80%
+6 −0
Q&A How do I find disjoint sets in a dataset

I have a dataset of car bookings like this: car_id user_id 1 1 2 1 1 2 3 3 1 2 3 3 In this dataset, two separate groups/sets of cars and users...

2 answers  ·  posted 1y ago by andreas‭  ·  edited 1y ago by matthewsnyder‭

23%
+1 −8
Q&A How to efficiently remove every occurrence of one string inside another

I have two strings and want to remove every occurrence of the second string inside the first one starting from the beginning of the first string and as if each occurrence was removed immediately. ...

1 answer  ·  posted 3y ago by dumplings‭  ·  edited 2y ago by __blackjack__‭

22%
+0 −5
Q&A Why do you need virtual machines in these examples? [closed]

I added the numbering. It's a virtual machine. Basically, it's one or more computers pretending to be one or more computers. Believe it or not, this is incredibly useful. Say you have som...

0 answers  ·  posted 4y ago by TextKit‭  ·  closed 4y ago by Alexei‭

Question algorithms
27%
+1 −6
Q&A How can I combine every (number) of pictures and create multiple panorama images, just once? [closed]

Pre-suppose I have pictures numbered 1 to 400. I want to simultaneously combine every 4 pics in 1, so that I end up with 100 collages. Picture 1-4, 5-8, 9-12 ... will be combined. Indubitably it's...

0 answers  ·  posted 4y ago by TextKit‭  ·  closed 4y ago by Alexei‭

Question algorithms
83%
+8 −0
Q&A How do I find the order that yields the shortest path?

The Problem I have a path optimization problem that in some ways reminds me of the Traveling Salesman Problem, but differs in some key respects. I have a group of items that need to be used by a m...

1 answer  ·  posted 4y ago by matthewb‭  ·  edited 4y ago by matthewb‭

Question algorithms
77%
+5 −0
Q&A Search tree supporting efficient bulk sequential insert

For holding ordered sets of keys, there are well-known data structures (the red-black tree, for example) that support O(log(n)) lookup and insertion algorithms. Of course this means that there triv...

0 answers  ·  posted 4y ago by r~~‭  ·  edited 4y ago by r~~‭