algorithm tag

168 questions


1 answers
48 views
0
Why is the cosine similarity result different from what you thought?

I'm a beginner in programming.While studying cosine similarity, the results show a high value despite the obvious difference in data entered.The comparison between A and B shows a reasonable value of ...

2 years ago

3 answers
90 views
0
About the addressing method.

About the addressing method.Direct Addressing MethodINDEX ADDRESSING SYSTEMBase addressing methodRelative Addressing MethodIndirect Addressing MethodRegister Addressing MethodImmediate Addressing Meth...


1 answers
95 views
0
Conditional substitution of numbers into a two-d

I want to save the given numbers in two dimensions.For example, if a sequence {3,12,4,1,5,8} is given, the first digit 3 is inserted into array 1, the second digit 12 is larger than 3, so it is insert...

2 years ago

1 answers
143 views
0
Understanding the Process of Formula Transformation

This is about the formula below.I don't understand the process of transforming from the formula above to the formula below and the mathematical properties.I'm ashamed that I'm not good at math, but I'...

2 years ago

4 answers
118 views
0
Understanding Password Hash Methods, Compatibility, and Matching Methods for Login Systems

I have a question about the login system.I understand the security and usage of encoding passwords using hash functions instead of encryption.I also understood that it is done several times by adding ...

2 years ago

1 answers
107 views
0
Please tell me the code for determining the collision between a rectangle and a circle.

I'd like to write a program for determining the collision between a rectangle and a circle in a 2D game, so please tell me how to calculate it.Let the center of the rectangle be P0, half the width be ...


2 answers
45 views
0
About Nesting Swift Playground While Statements

I've been learning from swift playgrounds several times.I typed the cord as shown in the picture, and it went smoothly to the red jewel, but it didn't stop at the jewel square, so I just passed by.Is ...

2 years ago

1 answers
43 views
0
How to remove the periphery of singularities when plotting a graph of a function

Consider drawing a graph of a function that is positively represented by the form y=f(x) on the (x,y) plane.However, let's say we plot only in the range x_min xx xx_max.To be simple, you can change x ...

2 years ago

2 answers
108 views
0
I want to sort a consolidated list that shares two or more nodes.

Is there a way to sort the two ascending concatenated lists that share the last few nodes into one concatenated list in ascending order?For example, -900->120->200->230 \ 452->700 ...


1 answers
44 views
0
Can someone solve level 12 of this logic game

I run into this game and manage to solve level one to even but not possible to solve level twelve, I think it is recursive algorithm, sorry if this is not question for this site :)Here is the linkhttp...

2 years ago
« - 7 - »

© 2024 OneMinuteCode. All rights reserved.