Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Why does accessing an Array element take O(1) time?
Blog

Why does accessing an Array element take O(1) time?

by Rubin|Published June 22, 2022

An array is a linear data structure. In an array, the operation to fetch a value takes constant time i.e., O(1).  Let us see why… Read More

The post Why does accessing an Array element take O(1) time? appeared first on GeeksforGeeks.

You may also like

Flickering and flashing laptop screen during charging
Published February 16, 2020

Flickering and flashing laptop screen during charging

I have a Lenovo Flex 14 that has started exhibiting some unusual behaviour during charging – when the screen is blank (regardless […]

Magento 2.4 Installation issue (setup not working)
Published July 25, 2021

Magento 2.4 Installation issue (setup not working)

I have tried to install magento 2.4 using below commands composer create-project –repository-url=https://repo.magento.com/ magento/project-community-edition m24 bin/magento setup:install –backend-frontname=”admin” –db-host=”localhost” –db-name=”m24″ –db-user=”root” –db-password=”password” […]

How to use custom product attribute in sorting option with search criteria builder for magento 2?
Published December 20, 2021

How to use custom product attribute in sorting option with search criteria builder for magento 2?

I have created one custom product attribute(bestseller). Now I want to sort by custom product attribute(bestseller) using search criteria builder sort by […]

On clicking at the submit, nothing happens. Have created extension.php in model and resource model and, collection,php inside Extension. Kindly help
Published June 20, 2021

On clicking at the submit, nothing happens. Have created extension.php in model and resource model and, collection,php inside Extension. Kindly help

/Submit.php/ **<?php namespace EaglerocketCustomquoteControllerIndex; use MagentoFrameworkAppActionContext; use MagentoFrameworkViewResultPageFactory; use EaglerocketCustomquoteModelExtensionFactory; use MagentoFrameworkControllerResultFactory; use MagentoFrameworkAppActionAction; class Submit extends Action { protected $resultPageFactory; protected […]

Interesting

  • Excel using cached data for linked cells
  • How can I recover DuckDuckGo bookmarks with only access to its internal folder?
  • How do I configure GnuPG in MSYS2?
  • S3 bucket duplication that is complete and perfect
  • How to reproduce xf86-input-synaptics touchpad behaviour with Wayland/libinput?
  • vnstat seems to only read config on initial start
  • FFmpeg live encoding with fixed 6s latency buffer (SDI to libx264 to ASI)
  • Disable incoming IP addresses without DNs resolution in apache using fail2ban without HostnameLookups

Post navigation

  • Previous post Check if given Morse Code is valid
  • Back to post list
  • Next post Which data structure is used by Map?
——————-
  • Excel using cached data for linked cells
  • How can I recover DuckDuckGo bookmarks with only access to its internal folder?
  • How do I configure GnuPG in MSYS2?
  • S3 bucket duplication that is complete and perfect
  • How to reproduce xf86-input-synaptics touchpad behaviour with Wayland/libinput?
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme