All Questions

19771 questions


1 answers
336 views
0
Want to know how React separates existing operations into custom hooks

Learn how to create custom hooks using the created counting function.I am currently learning React and learned how to use the useState in components.Next, I would like to create a custom hook for the ...

1 years ago

1 answers
376 views
0
Letcode Problem 19.Remove Nth Node From End of List answer.

I have a question about Python's substitution rules regarding the answers shown below. https://leetcode.com/problems/remove-nth-node-from-end-of-list/solutions/1164537/short-simple-one-pass-solution-w...

1 years ago

1 answers
383 views
0
If you try to substitute the type specified in type script, the array will not be accepted.

I write code in vsocde with vue3 and typescript.If you try to move the value from obj to itemObj after specifying the type with the following code, you get an error:typeObj={ Timeline: { Items—ItemsOb...

1 years ago

1 answers
378 views
0
I have a question about Java code.

import java.util.Arrays;public class hellojava { public static void main(String[] args) { int[] arr1 = new int[7]; int sum=0,sum1=0, sum2 = 0; int a, b, c, d, e, f, g; int i,j; int count = 0; for (a...

1 years ago

1 answers
321 views
0
I'm trying to match two different data with Python, but I don't know which method to use.

It's the same machine, but there's two data collected from different sensors (I'll call it A, B). Both data were collected in seconds.There is one column that collected the same information from the A...

1 years ago

1 answers
374 views
0
Let me ask you a basic question about servlet response.(T)

String data = <html>; data += <body>; data += ID: + id; data += <br>; data += Password: + pw; data += </body>; data += </html>; out.print(data);I don't understand ...

1 years ago

1 answers
502 views
0
In C/C++, if only variable definitions are used, is it Nil?

We are currently running ALDS1_8_A.It's a two-minute search tree.The answer codes are as follows:In the insert function, x is the current comparison node, y is the parent node, and z is inserted.I thi...

c++ c
1 years ago

1 answers
330 views
0
How to Process After ShowDialog

In powershell, click If you do $form.ShowDialog(), the process will stop completely.How do I process Write-Host hoge one second after ShowDialog?Shall we?When I used Show() instead of ShowDialog, the ...

1 years ago

1 answers
296 views
0
Cannot install in Homebrew on ARM processor error on M1

brew install neovimrunning Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)!Please create a new installation in/opt/homebrew using one of theAlternative Installs from: ...

1 years ago

1 answers
400 views
0
My Japanese is garbled when I connect to mysql from python

When I tried to create python and mysql containers using docker and connect python to mysql and display the table in fetchall, the Japanese was garbled.When you enter the mysql container and view it d...

1 years ago
« - 30 - »

© 2024 OneMinuteCode. All rights reserved.