TGViewer
Java | Тесты Java | Тесты @easy_java_tests · 5.47K subscribers
Post #2301 1.19K
🤔 Какая будет скорость доступа к элементу в LinkedList, который находится посередине?

Скорость — O(n/2), то есть линейная.
Коллекция должна пройти от начала (или конца) до нужного индекса.


Ставь 👍 если знал ответ, 🔥 если нет
Забирай 📚Базу Знаний
  • 👍 6
  • 🔥 1
More from @easy_java_tests
  1. Oct 17, 2026Post #3246
  2. Oct 17, 2026🤔 Что такое AutoCloseable и конструкция try-with-resources? AutoCloseable — это интерфейс…
  3. Oct 17, 2026Post #3244
  4. Oct 16, 2026Post #3243
  5. Oct 15, 2026Post #3242
  6. Oct 14, 2026Post #3241
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →