Interview question - Given an array find four elements such that A + B = C + D

Problem Statement:Given an array A of integers, find the index of values that satisfy A + B = C + D, where A,B,C & D are integers values in the array.Note:1) Return the indices `A1 B1 C1 D1`, so that A[A1] + A[B1] = A[C1] + A[D1] A1

Understanding Hash Tables

This article is regarding the basic understanding of a relatively complicated topic in Computer Science - Hash Tables. I have prepared this article keeping in mind to provide a basic and conceptual overview of the hashing mechanis