/Problem-Solutions

Solutions for some CP problems and some data structures and algorithms

Primary LanguageC++

Problem-Solutions

Contains Solutions for the following Problems.

  1. Sherlock And Valid String https://www.hackerrank.com/challenges/sherlock-and-valid-string

  2. The Grid Search https://www.hackerrank.com/challenges/the-grid-search

  3. Fibonacci Modified https://www.hackerrank.com/challenges/fibonacci-modified

  4. Chief Hopper https://www.hackerrank.com/challenges/chief-hopper

  5. Breadth First Search: Shortest Reach https://www.hackerrank.com/challenges/bfsshortreach

  6. Predicting House Prices(Multiple Linear Regression) https://www.hackerrank.com/challenges/predicting-house-prices

  7. Breaking Sticks https://www.hackerrank.com/contests/world-codesprint-12/challenges/breaking-sticks

  8. Coin Change https://www.hackerrank.com/challenges/coin-change/problem

  9. Learning Languages http://codeforces.com/problemset/problem/277/A


And some Data structures and Algorithms:

  1. Trie

  2. Segment Tree

  3. Fenwick Tree

  4. Backtracking number of paths in grid

  5. DP Coin

  6. DP Longest Bitonic Subsequence (nlogn)

  7. Fast expo (Fibonacci)

  8. Sieve of Eratosthenes

  9. Bitset (Number of Grids)