Content af db creid - HWzone Forums
adplus-dvertising
Skip to content
  • Create an account

by db creid

registered user
  • Number of messages

    431
  • Join

  • Recently visited

  • Days Won

    9

Anything posted by af db creid

  1. If the "base" is the primitive types, then yes, it still has the String and int and long. If the "base" is how to write code, then I'm sorry, but if you write in a job interview code with for for lo of C and new Runnable instead of lambda, then how to say, Leah I would get to work. The world has changed (even Java). Not to mention the ecosystem.
  2. I do not know the books, but my recommendation: do not learn numbers in Hebrew, and if you can, do not learn numbers at all. They tend to age very quickly.
  3. Go over the Microsoft article at Write C ++ extensions for Python - Visual Studio | Microsoft Docs.
  4. The simplest way is to communicate using stdin and stdout. But if you really want to, you can embed CPython in your application.
  5. And that's great for Nvidia. Both public relations and more money, which is better?
  6. IBM Creates First 2nm Chip (anandtech.com).
  7. First of all, the code will not work with some linked lists of different lengths. Second, a bit more idiomatic code would look this way: public static > List combineSorted (LinkedList ... lists) {List newList = new LinkedList (); for (LinkedList list: lists) {newList.addAll (list); } Collections.sort (newList); return newList; } But the simplest code is with the Java 8 Streams API: public static > List combineSorted (LinkedList ... lists) {return Arrays.stream (lists) .flatMap (List :: stream) .sorted () .collect (Collectors.toList ()); } And as for the complications: we add each list to the final list. K lists, each N members - total KN. Besides, we sort this list. Collections.sort () copies the list to an array (O (len)), then sorts it in TimSort (which is O (len * log () len))), and finally copies back to the list (again O (len)). Our len is K * N, so the total complexity is: O (K * N + K * N + K * N * log (K * N ) + K * N) = O (K * N * log (K * N))
  8. Yes but you copy it in fullName (), so you need to allocate enough memory. What is the error that appears?
  9. A. There's a button in the toolbar for the code, thanks. B. len () does not take into account the middle length. third. Does the file exist in the folder from which you are running the program? What is its content?
  10. And how long will it take for them to move to 2?
  11. What did you try? Where are you stuck?
  12. It is also recommended to attach a code, and try to clarify a little more.
  13. Two notes: a. A more idiomatic way to pass a character character is on a foreach loop: foreach (char ch in str) {bool b = char.IsDigit (ch); } Or of course LINQ if you have studied. B. char.IsDigit checks if the character is a Unicode digit, so for example the character ꯶ (code U + ABF6) will return true (it's 6 in some variant of Indian). If this is not possible, you can check for ASCII only: bool IsDigit (char ch) => '0' <= ch && ch <= '9';
  14. What have you tried and where do you get stuck?
  15. I will just add that you can also use the tar format that simply binds files
  16. Yes, I ask in general, because even Microsoft already uses (not only) Linux.
  17. by db creid

    Open a SIGNED file

    I meant in some programming language
  18. by db creid

    Open a SIGNED file

    in what language?
  19. Leak, that's what it is - a leak. Rumor of the removal of SGX in Rocket Lake - Intel Community.
  20. Why for the sake of the name that someone will use Windows Server?
  21. It is not possible to run two anti-viruses at the same time (or at least not worth it). And \ AVAST cancels the DEFENDER. It performs a scan once in a while, and you can also do it manually. Enter Windows Security in the settings and you can change the options.
×
  • Create new ...

At the top of the news:

new on the site