codebytes

Friday, March 1, 2019

Finding All Permutations of a given String

›
Problem: Find all permutations of a given string and display them in lexicographically increasing order. GFG Link:  https://www.geeksforge...

Using MergeSort to sort a LinkedList

›
Task: Sort a linked list using Merge Sort Algorithm. GFG Link:  https://www.geeksforgeeks.org/merge-sort-for-linked-list/ Why Merge Sor...
Sunday, February 3, 2019

Maximum sum such that no two elements are adjacent

›
Problem Statement : Given an array of numbers, find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence s...
Thursday, January 24, 2019

Rod Cutting Problem

›
Problem Statement: Given a rod of length n inches and an array of prices that contains prices of all pieces of size smaller than n. Determ...

Getting postorder traversal of a binary tree from inorder and preorder traversal

›
Problem Statement: Given inorder and preorder traversal of a binary tree, find its postorder traversal. GFG Link :  https://www.geeksforge...
›
Home
View web version
Powered by Blogger.