#data-structures
Read more stories on Hashnode
Articles with this tag
Using the two-pointer technique to remove a node in a linked list. · Problem statement Given the head of a linked list, remove the n-th node from the end...
A simple implementation of a hashmap · Problem statement Design a HashMap without using any built-in hash table libraries. Implement the MyHashMap...
Problem statement Given a string path, which is an absolute path (starting with a slash '/') to a file or directory in a Unix-style file system,...
Problem statement Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the...
Problem statement Given a reference of a node in a connected undirected graph. Return a deep copy (clone) of the graph. Each node in the graph...
Problem statement Given string num representing a non-negative integer num, and an integer k, return the smallest possible integer after removing k...