Technology/hot-posts

Recent posts

View all
(i) Code for inserting and removing elements at the start and end of a doubly and circular linked list. (ii) Using templates, write code to push and pop elements, check Isempty and Isfull, and return the top element in stacks.
In O(n) time complexity, find the frequency of elements in a given array.
Code implement power function in O(log n) time complexity
Code and analyse to compute the greatest common divisor (GCD) of two numbers.
Design and implement a simple inventory control system for a small video rental store.
Hashtable was part of the original java.util and is a concrete implementation of a Dictionary. However, Java 2 re-engineered Hashtable so that it also implements the Map interface. Thus, Hashtable is now integrated into the collections framework. It is similar to HashMap, but is synchronized. Like HashMap, Hashtable stores key/value pairs in a hash table. When using a Hashtable, you specify an object that is used as a key, and the value that you want linked to that key. The key is then hashed, and the resulting hash code is used as the index at which the value is stored within the table.