Data structure: Way of organizing data so we can efficiently use it.
Essential ingredients in creating fast and powerful algorithms.
Help to manage and organize data.
makes code cleaner and easier to understand.
Abstract data type: Is an abstraction of a data structure which provides only the interface to which a data structure must adhere to. Interface will not give any specifics to how something should be implemented or in what programming language.
ADT – Implementation(DS)
List – Dynamic Array, Linked list.
Queue – Linked List Based queue, Array based queue, Stack base queue
Map – Tree map, Hash map, Hash table
Computational complexity analysis:
How much time does this algorithm needs to finish the computation?
How much space does this algoritm needs to finish the computation?
Omega meta data
Big-O notation: Upper bound complexity of the worst case irrespective of the size of data(small data set or large data set)
n – The size of the input
Complexities ordered in from the smallest to largest.
Constant Time : O(1)
Logarithmic Time : O(log(n))
Linear time : O(n)
Linearithmic Time : O(nlog(n))
Quadric Time : O(nsquared)
Cubic Time : O(ncube)
Exponential Time : O(bpowern), b>1
Factorial Time : O(n!)
O(n + c) = O(n)
O(cn) = O(n), c > 0
f(n) = 7 log(n)3 + 15n2 + 2n3 + 8
O(f(n)) = O(n3) as n3 is the biggest value.
Each storage device in ESXi has a unique . Below are the list of useful commands in ESXi.
- esxcli storage nmp device list
- esxcli storage core device list -d
- esxcli storage core device smart get -d
- esxcli storage core path list
- esxcli storage core path list -d
If the host which is used to sign the certificate is having a timestamp which is lesser than GMT, the certificate can be used only after some time. The reason is openssl uses current time and add timezone as GMT.
hdparm –security-disable xxx /dev/sdb
Issuing SECURITY_DISABLE command, password=”xxx”, user=user
hdparm as of 6.2 features the PIO data security commands that enable the user to
lock and unlock IDE drives. These functions need CONFIG_IDE_TASK_IOCTL to be
Auto-negotiation is the feature that allows a port on a switch, router, server, or other device to communicate with the device on the other end of the link to determine the optimal duplex mode and speed for the connection.
Good article which helps you to know more about Auto Negotiation.