Skip to content
CodeMarvels
All's the Code !
  • Home
  • Privacy Policy
  • About

Category: Algorithms

Algorithms

Subset Sum Problem (Part II)

Posted on September 29, 2013 by saurabh / 0 Comment

Given a set of numbers,our task is to find the number of subsets that sum to a particular value. Example- Set of numbers- {1,3,2,5,4,9} Sum=9 Subsets that sum t...

Algorithms

Subset Sum Problem

Posted on September 29, 2013 by saurabh / 0 Comment

Given a set of positive integers and a value sum,the task is to find if there is a subset with sum equal to the given value. Example- Given set of numbers- {3,3...

Algorithms

Doubly Linked Lists

Posted on September 10, 2013 by saurabh / 0 Comment

A doubly linked list is a linked linear data structure,each node of which has one or more data fields but only two link fields known as left link (LLINK) and ri...

Algorithms

Linked Lists

Posted on September 10, 2013 by saurabh / 0 Comment

Linked list is one of the fundamental,simplest and most common data structures in C programming language.A linked list is a data structure consisting of a group...

Algorithms

All Permutations

Posted on September 9, 2013 by saurabh / 0 Comment

Given a string,the task is to print all the permutations of the string. A permutation is a rearrangement of the elements of an ordered list S.A string of length...

Algorithms

Path Finding

Posted on August 30, 2013 by saurabh / 0 Comment

Given an undirected,unweighted graph and two vertices u and v,the task is to find the path between these two vertices.u can be considered as the source vertex a...

Algorithms

Longest path in a tree

Posted on August 26, 2013 by saurabh / 0 Comment

Given an unweighted and undirected tree,the task is to find the length of the longest path (from one node to another) in that tree.The length of a path in this ...

Algorithms

Applications of DFS

Posted on August 26, 2013 by saurabh / 0 Comment

One of the applications of DFS is to find the number of connected components in a graph.In graph theory, a connected component of an undirected graph is a sub-g...

Algorithms

Longest Common Subsequence

Posted on August 9, 2013 by saurabh / 0 Comment

Given two sequences,the task is to find the length of longest sub-sequence present in both of them. A sub-sequence is a sequence that appears in the same relati...

Algorithms

Activity Selection Problem

Posted on August 5, 2013 by saurabh / 2 Comments

Activity selection problem is an example of greedy algorithm.Greedy algorithms look for simple, easy-to-implement solutions to complex, multi-step problems by d...

Posts navigation

1 2 3 Next »

Recent Posts

  • Fix : Docker node down after restart
  • IP Telephony – bit rates of audio formats, and other notes
  • Fix: Cannot start container Subnet sandbox join failed error from docker
  • React Ajax call on load gives : “Error: Should not already be working.”
  • Fix : The repository ‘http://archive.ubuntu.com/ubuntu disco-backports Release’ no longer has a Release file.

Categories

  • Algorithms
  • Android Development
  • BoshServlet
  • C++ projects
  • Code Philosophies
  • Conversational AI
  • Machine Learning
  • Miscellaneous
  • Notes
  • Society
  • Technology

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2021 CodeMarvels
Powered by WordPress | Theme: Graphy by Themegraphy