Skip to main content

Questions tagged [problem-solving]

Problem solving encompasses a number of techniques known as algorithms, heuristics, root cause analysis, etc.

0 votes
2 answers
168 views

Conceptual approach to identifying duplicates

I'm not sure if this is the right stack exchange site for this, or maybe this is more of a reddit question, but don't rake me over the coals for asking. Happy to go post on another corner of the ...
hyphen's user avatar
  • 109
7 votes
1 answer
2k views

Algorithm for floor tiling

I'm looking for an algorithm for placing tiles of different sizes within a complex area (all 2D) as randomly but efficiently as possible. I know the different dimensions of the tiles provided and the ...
Component 10's user avatar
-1 votes
2 answers
135 views

How to measure how "changy" something is? [closed]

I need to think of a way to model how one thing is more "changy" than another. Say I need to index a news website's different news sections with some web crawler. I want to prioritise ...
user avatar
0 votes
4 answers
660 views

The problem of letting the receiver instead of the sender generate an ID

Lately I've encountered a similar problem in a few different circumstances, and every time it has required quite a bit of extra code to work around it. The problem I'm talking about is the one where ...
Magnus's user avatar
  • 415
1 vote
0 answers
209 views

Rectangle packing / Bin packing with multiple frames

I have multiple rectangular frames, with different fixed heights. The width should be minimized and there is a maximum width. Then there are many different smaller rectangles. These should be packed ...
Wombosvideo's user avatar
1 vote
1 answer
217 views

Which class of problems is this?

I’m working on a problem which I will try my best to describe: You have a stack of 5 blocks: labelled A, B, C, D and E. You also have a set of rules giving points if certain conditions are met, for ...
Sam Kennedy's user avatar
7 votes
1 answer
656 views

Smallest Rubik's cube state representation

I'm trying to determine what is the fewest number of bits I need to represent the state of a Rubik's cube. (EDIT: I am assuming the cube is a valid Rubik's cube that has not been altered and only ...
J Price's user avatar
  • 89
0 votes
1 answer
138 views

How to identify rules satisfying a certain condition based on events

I am working on a microservice, in an event driven world, where I have tens of 1000s of rules configured which depend on data type A, B, C, D and so on. As soon as an event arrives I want to be able ...
Harshdeep's user avatar
3 votes
2 answers
256 views

How to manage cart details across various devices

Recently I was asked in a interview to implement to e-commerce site . One of the requirement was to maintain cart details across various devices .(i.e) if user adds a book from his iPhone , and when ...
user3878073's user avatar
0 votes
1 answer
189 views

How to resolve multiple user serve on multiple location appointment booking system

I'm trying to build an appointment system but at one point I stuck Problem: I define available slots for the next 7 days with help of a cron. I have multiple users serve service more than one ...
Devratna's user avatar
  • 103
-2 votes
1 answer
212 views

a valid ranking algorithm for facebook posts

I'm creating a website which will collect posts from facebook's pages to show to the users posts they are interested in (as my graduating project). I'd like to be able to rank the posts that contain ...
Mohammed Nosirat's user avatar
1 vote
2 answers
183 views

Determining resource exhaustion beforehand

I guess this is a problem solving question but I am out of ideas, don't really know where else I can resort for help, and I need to solve this problem. Essentially we have a set of consumers and a ...
dabadaba's user avatar
  • 2,266
2 votes
1 answer
1k views

How to reverse engineer URL routes from a bulk of HTTP requests/responses

I am building a web application crawler that crawls for HTTP requests (GET, PUT, POST, ...). It is designed for one specific purpose; bug bounty hunting. It enables pentesters to insert exploit ...
Tijme's user avatar
  • 31
2 votes
2 answers
309 views

Trying to teach a high school student Dynamic Memory Allocation - what are the best ways to do so?

Copied from stack overflow due to feedback So I want to teach someone how to do dynamic memory allocation using the block padding model. What that means is every memory block is prefixed and ...
user64742's user avatar
  • 145
3 votes
1 answer
279 views

Practices for navigating uncertainty in software design

Background: So I'm trying to create my first game engine for learning purposes. After looking up a few articles I was able to design the beginning portions of my engine to at least get me going. My ...
Jason's user avatar
  • 469

15 30 50 per page
1
2 3 4 5 6