algorithm tag

168 questions


1 answers
44 views
0
I don't know how to solve this problem.

The problem is that there are three boxes called ab c. A is a box that can hold 1 kg. B is a box that can hold 1.3 kg. C is a box that can hold 1.6 kg. At this time, the values of boxes a, b, and c ar...

2 years ago

1 answers
45 views
0
Algorithmic problem: the number of cases where you have 3500 won of money and you can buy it at the supermarket without leaving any money behind

I have 3500 won of money, and I have to take this money and get the number of cases that I can buy at the supermarket without leaving any money behind.The menu includes cream bread, shrimp crackers, a...

2 years ago

1 answers
45 views
0
Python bigO question

def solution(number, k): num_s = str(number) answer = '' if k == 0: return number list1 = [] list_a = [] list_temp = [] for i in range(len(str(number))): list1.append(int(num_s[i])) num1 = len(list1...

2 years ago

1 answers
46 views
0
Binarysearch Problem Questions

In an ordered two-dimensional list, you want to use binary search to create an algorithm that outputs true if desired, and false if not.matrix = [ [1, 3, 5, 7], [10, 11, 16, 20], [23, 30, 34, 50]]def ...

2 years ago

1 answers
86 views
0
Is the initialization part included when calculating the loop-type time?

I'm a soldier who takes a data rescue class by himself.Honestly, I wonder why I'm asking this question myself,I'm asking you a question to get an answer.Suppose the for statement is as follows.for( i ...

2 years ago

2 answers
106 views
0
Python tkinter : Problems when dynamically creating a button and connecting the event handler for each button using Lambda.

i = 0for f in range(len(machh)): globals()['button{}'.format(f)] = tkinter.Button(frame, command = lambda : self.Match_Deep_Search(f) ) # Create buttons as large as the list def Match_Deep_Sea...


1 answers
45 views
0
Algorithm learning using Python KNN. Classifying handwriting.

Algorithm learning using Python KNN. Classifying handwriting. I'm in college, but the assignment is too difficult and I don't know anyone, so I'm asking you urgently.I'm sorry for posting this suddenl...

2 years ago

1 answers
59 views
0
Coding to place the array upside down using Java list's sublist

I wrote two functions that put the list upside down and turned them around to test them in the main function.It seems that certain numbers are constantly added to the arr list in functions created usi...

2 years ago
« - 17 -

© 2024 OneMinuteCode. All rights reserved.