DNS (Domain Name System)

From the network protocols earlier, we are aware of what a DNS is. If not, a small recap. DNS is, in simpler words, the phonebook of the Internet. It is known that websites are stored on the servers and they are parsed when the client requests for it. Every website has its unique IP address […]

Linear Search

Linear search or a sequential search is a method used to find an element in a list or an array. It searches for the element sequentially i.e. one after other until the required element is found. Algorithm: Input the no. of elements in which the number has to be searched. Now, read the list of elements. Input the element to search for. Using a loop, search for the element in the list of elements. Exit loop. Stop. Pseudo Code: Code in Java: Time Complexity: Best case: When the […]