Data structures and Algorithms Topic wise collection of data structures and algorithms problems and their solutions Topics Strings Arrays Logical - Basic Strings Print Right Angled Triangle Pattern Print Hollow Diamond Pattern Arrays Sum of array elements Rotation of matrix Diagonal Traversal of Matrix Sum of two elements of an array equals to given number Spiral Traversal of Matrix Number of subarrays having sum exactly equal to k Product a Array Puzzle Finding Missing Number Logical - Basic Trailing Zeros in Factorial of a given number LCM and HCF