coding-test tag

6 questions


1 answers
432 views
0
I wonder if it's irrelevant to use BFS!

The questions are as follows!There is an ice mold of N×M size. The part with the hole is marked as 0 and the part with the partition is marked as 1.If the perforated parts are attached up, down, left,...

1 years ago

1 answers
369 views
0
Why is the first Phonkemon question correct?

def solution(nums): answer = 0 l = int(len(nums) / 2) nums_set = len(set(nums)) if l < nums_set: answer = l elif l > nums_set: answer = nums_set else: answer = l return answerThis is Phonke...

1 years ago

1 answers
249 views
0
Python error question TypeError: 'builtin_function_or_method' object is not writable

def solution(sizes): answer = 0 # The smallest of the horizontal gyrings, the smallest of the verticals, # When you change the horizontal and vertical, if the value is less than the max of the changed...

2 years ago

1 answers
366 views
0
Python Cote Question

def solution(n): answer = [] # First, pull out all the mineral water, and then leave only the few of the mineral water. for i in range(2,n+1): if n%i == 0: answer.append(i) for i in answer: cnt = 0...

2 years ago

1 answers
108 views
0
Coding test available library?

I heard that companies are introducing a lot of coding tests these days.In an environment where tests are performed, whether online or offline, I wonder how the package (library) is limited.For exampl...

2 years ago

1 answers
84 views
0
Baekjun KOI Elementary School No. 14696 Ttakji Nori Conditional Question.

Hello, everyoneBaekjun KOI Elementary School 14696 When it's a draw, I want to print out the result of D, but I think it's because of return, so how can I pick the result of the draw? And I think my m...

2 years ago

© 2024 OneMinuteCode. All rights reserved.