algorithm tag

168 questions


2 answers
299 views
0
I want to shape the one-dimensional arrangement into a wooden structure.

I would like to have OriginalData with my ID and parent ID in the form of a tree structure.I want to convert inputDatas to the form resultI want to do recursive work, but I can't think of a good way.A...


2 answers
375 views
0
select the best breakdown of a set of products

I have a request to purchase the product from a customer.I'd like to change that product to the best set of products and buy it at the lowest price.Please let me know if you have a good algorithm.Exam...

1 years ago

2 answers
398 views
0
select the best breakdown of a set of products

I have a request to purchase the product from a customer.I'd like to change that product to the best set of products and buy it at the lowest price.Please let me know if you have a good algorithm.Exam...

1 years ago

1 answers
262 views
0
Understanding the Open Address Method Using Double Hash

I am currently running AIZU ONLINE JUDEGE ALDS1_4_C.Among them, I am learning how to open addressing using double hashing.Here's the code for open addressing:#include<stdio.h># include <strin...


1 answers
406 views
0
I'm trying to implement it like this using Python3 recursive function, but it's blocked, so I'm asking you a question!

It is a format with a netsted structure as shown below.example{ a: { a_a: [ { a_a_a: [ { a_a_a_a: { a_a_a_a_a: { value: first value, check: true } } }, { a_a_a_b: { a_a_a_b_a: { val...


2 answers
421 views
0
a program for solving ten puzzles with python

From WikipediaA ten puzzle (10 puzzles) is a game in which a four-digit number is regarded as four single-digit numbers, and 10 is made by using four rules of operation or the like.It is also called m...

2 years ago

1 answers
355 views
0
About SNS account value calculation algorithm

I'd like to discuss algorithms, but it's a little abstract.I'm not talking about pure programming technology. I don't know if it's a good question to ask here.(If it doesn't work, I'll turn it off.) I...

2 years ago

2 answers
318 views
0
a solution to a set quiz

Think of the following games:Suppose the alphabet 'A' to 'Z' is the whole set and one subset is given.This is called the answer.Players can make the following inquiries once per turn.Inquiry: One set ...

2 years ago

1 answers
274 views
0
ERROR: Objects of type 'close' cannot be partially substituted

We create a program that verifies the accuracy of machine learning algorithms using Bootstrap method.If you create the following code in text, read CSVdata in read.csv, and execute it as follows: >...

2 years ago

1 answers
100 views
0
Are there any algorithms that can be used to take as many widths as possible before and after the values?

Are there algorithms that can be used to take as many widths as possible before and after the values?For example, if the width is 15 based on the average value of 99 at this input, 981745849789075170I...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.