codeagon

CodeAgon 2020 By CodeNation Innovation Labs (CNIL)

Software Development Engineer Recruitment (Full Time and Internship 2021)Register Now
Find maximum product of two integers in an array

Metro Land Festival – HackerRank Problem/Solution

Metro Land is a country located on a 2D Plane. They are having a summer festival for everyone in the country...
Find maximum product of two integers in an array

Find maximum product of two integers in an array

Find maximum product of two integers in an array
Find maximum product of two integers in an array

Find maximum length sub-array having equal number of 0s and 1s.

Find maximum length sub-array having equal number of 0s and 1s.
Find maximum product of two integers in an array

Find maximum length sub array having given sum

Find maximum length sub array having given sum
Find maximum product of two integers in an array

Find duplicate element in a limited range array

duplicate element in array
Find maximum product of two integers in an array

Sorting binary array in linear time

sort binary array in linear time
Find maximum product of two integers in an array

Print all sub-arrays with sum 0.

print all sub-arrays with 0 sum
Find maximum product of two integers in an array

Check if subarray with 0 sum exists or not .

subarray with 0 sum in array
Find maximum product of two integers in an array

Find pair with given sum in an array

pair with given sum in array
attendance

Let Me Attend – Your own Attendance Tracker

Keeping track or managing attendance for students in colleges or universities is a way more easier and fun with LetMeAttend.
algorithms

Greedy Approach vs Dynamic Programming

Greedy method of solving problems involves a predefined procedure to follow to obtain the result.
openmrs

OpenMRS – The Medical Record System

The Medical Record System
hashing in c

What is hashing in data structures?

Hashing is basically used for searching a key in an array.
count sort

Count sort in C

Count sort is index based sorting algorithm. It is much faster than comparison based sorting technique but takes a lot more space.
merge-sort

Merge sort in C

We assume each element of the list/array as a separated list. Each single element is sorted by default so we merge down pair of elements using the merging two sorted arrays method.
quick-sort

Quick Sort in C

Quick sort in C C++The popular oneAlso known as Selection-exchange sort, and Partition-exchange...
selection-sort

Selection sort in C

Start from the first element and iterate the array to find smallest element and swap first and that element.
insertion-sort

Insertion Sort in C

Consider first element of the array as sorted then loop through remaining elements and perform insertion like inserting an element is done in a sorted array.
bubble-sort

Bubble Sort in C

Bubble sort is one of the comparison based sorting algorithm.
sorting

Criteria for sorting analysis in Data Structures

Number of comparisons Number of swaps Adaptive behaviour - Checking if the data structure is already sorted or completely unsorted Stable - Maintaining order of duplicate values in sorted data structure Extra memory - Space Complexity
circular-linked-list

Circular Linked List

Circular linked list is similar to simple linked list, the main difference is that the last node points to the first node and not to null.
doubly linked list

Doubly Linked List in C/C++

A doubly linked list is similar to simple linked list, the main difference is that a doubly linked list node has one extra pointer pointing to previous node.
linked-list

Linked List In C/C++

Each node requires two data types, an int, char, float etc data type to store the value and a pointer to the next node to store the address of the node to which this node is pointing to.
array-abstract-data-type

Array as an Abstract Data Structure C/C++. (ADT)

We require a pointer to an array create it dynamically of inputed size from the user and a length of array till elements are present.
2d-array-c

Implementation of 2D array in C

An array can be created in a matrix form with n number of rows and m no of columns by using the concept of multi dimensional array.
increase-array-size-c

How to increase size of an array in C/C++ after declaration

Create a new array pointer and copy the contents of previous array pointer to this new array pointer and free/delete the previous pointer.

Basics of Array Data Structures in C/C++.

Basics of Array Data Structures in C/C++. Arrays are collection of elements stored in continuous memory locations.

Heap and heap sort

Introduction to heapHeap are complete binary tress. By complete, I mean each node except the leaf...

OOPS Lab Programs – DTU

Program 1 - Power FunctionProgram 2 - 2D PointsProgram 3- 4 Function CalculatorProgram 4-Phone Number ClassProgram 5-Meters/Centimeter to...