My Codes and Solutions to coding interview problems on LeetCode, AlgoExpert, Educative and other interview preparation websites
-
Updated
Feb 7, 2022 - C++
My Codes and Solutions to coding interview problems on LeetCode, AlgoExpert, Educative and other interview preparation websites
Back end array, declared as ordinary byte array (8-bits). But internal datastructure managed as a 'collection' of bit-subarrays:
Finding n disjoint subarrays from an array. Project @ Design and Analysis of Algorithms
A function that takes two arrays main Array and sub Array (along with their sizes from user) and finds how many times sub Array occurs in main Array. C++ code.
A program that applies some functions on sparse matrices. First addition between two sparse matrices and secondly finding any 2x2 sub-matrix in which the sum of all 4 elements are greater than a variable c.
While learning C++ one must come accross these important programs , thus it is a short gist which will help you in the journey of learning C++
Largest Sum Contiguous Subarray
An integer array is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the same.
Add a description, image, and links to the subarray topic page so that developers can more easily learn about it.
To associate your repository with the subarray topic, visit your repo's landing page and select "manage topics."