algorithm tag

168 questions


1 answers
38 views
0
Best Path Algorithm Question!

There is a starting point and an arriving point. Departing from the starting point, passing all the vertices, arriving at the arrival point DFS solved the problem of finding the shortest path.However,...

2 years ago

2 answers
48 views
0
This is a problem with the java algorithm.

https://www.hackerrank.com/challenges/30-linked-list/problemThis is the question above.First, you get the number of nodes, then you get the data value inside the nodeI think it's a matter of final out...

2 years ago

1 answers
105 views
0
I want to know how to test algorithms with Python

Hello, I'm a new student who started studying algorithms.I'm solving the Baekjun algorithm problem with Python.When there was no input value or one line, I used to test it by floating it on the consol...


1 answers
42 views
0
What is Demi doing?

I'm a college studentI came to this site by chanceAbout computer theory, including programming languages, from one to tenYou seem to know a lot.Are you a senior developer in your current job?I respect...

2 years ago

1 answers
112 views
0
Please recommend a good library for Java graph algorithms.

Is there anyone in the Java library who has used the graph algorithm? I found JGraph and wrote it. There are a lot of other things on Google. So I'm asking if there's a good library that you can use a...

2 years ago

1 answers
44 views
0
Is there a formula to get the solution in the picture without using a repeat statement?

I'm asking you this question because I want to save time while solving algorithm problems!When numbers are listed in a picture-like rule, is there a formula that allows you to figure out what number a...

2 years ago

1 answers
41 views
0
I don't know what algorithm to use for the number counter

You want to create a counter that increments the number. I want to create a counter similar to the current status of election counting. For example, we're going to count the number 15000. It's not tha...

2 years ago

1 answers
63 views
0
Find the maximum/minimum value in an array of primary types in Java

Writing a function that finds the maximum/minimum value of an array is a bit tedious, as follows::/** * * * @param chars * Maximum value in @returnchar array */private static int maxValue(char[] char...


2 answers
39 views
0
Python algorithm problem

https://programmers.co.kr/tryouts/850/introYou can see the problem if you go to the address here. It's this kind of problem.I'm going to find the biggest pattern that matches this problem from the ver...

2 years ago

1 answers
40 views
0
Problem that idf becomes negative when writing tf-idf algorithm

We're working on a simple code related to information retrieval.I'm using TF-IDF to make it, but I have a question as I got IDF.When obtaining an IDF, see the article that it is common to add 1 to the...

2 years ago
« - 15 - »

© 2024 OneMinuteCode. All rights reserved.