8000 GitHub - SergiyLichenko/PracticeField: My solutions for computer science questions and problems
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SergiyLichenko/PracticeField

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

Table of Contents

  1. 0-1 Knapsack Problem
  2. Bursting Balloons to Maximize Value
  3. Coin Change (count number of ways)
  4. Min Number of Coins to Make a Given Value O(n) Space
  5. Min Number of Coins to Make a Given Value O(n^2) Space
  6. Total Number of Possible Binary Search Trees With N Keys
  7. Count Number of Ways to Reach the N'th Stair
  8. Cutting a Rod Problem
  9. Egg Dropping Puzzle
  10. Weighted Job Scheduling
  11. Kadane's Algorithm - Largest Sum Contiguous Subarray
  12. Largest Rectangular Area In a Historgram
  13. Longest Common Substring
  14. Longest Bitonic Subsequence
  15. Longest Increasing Subsequence
  16. Longest Palindromic Subsequence
  17. Matrix Chain Multiplication
  18. Max Profit Buy/Sell With K Transactions
  19. Max Size Rectangle With All 1s
  20. Min Edit Distance
  21. Min Cost Path
  22. String Interleaving Problem
  23. Optimal Strategy for a Game
  24. Box Stacking Problem
  25. Subset Sum Problem
  26. Palindrome Partitioning
  27. Optimal Binary Search Tree
  28. Max Sum Rectangle in a 2-D Matrix
  29. Max Sum for Not Adjacent Elements
  30. Word Wrap Problem
  31. Wild Card Pattern Matching
  32. Word Break Problem
  33. Min Number of Jumps to Reach the End
  34. Max Sum Increasing Subsequence
  35. Regular Expression Matching
  36. Longest Bitonic Subsequence
  37. Longest Common Subsequence
  38. Max Size Subsquare Matrix With All 1s
  39. Total Number of Ways
  40. Max Subsquare Matrix Surrounded by 'X'
  41. Range Sum Query in 2D Matrix in O(1) Time
  42. Total Number of Possible Binary Trees for a Given N

1. 0-1 Knapsack Problem

Problem statement grabilla g16892

Output:

grabilla h15384

Click here to view code

2. Bursting Balloons to Maximize Value

Problem statement grabilla h12352

Output:

grabilla g12920

Click here to view code

3. Coin Change (count number of ways)

Problem statement grabilla em6652

Output:

grabilla em1692

Click here to view code

4. Min Number of Coins to Make a Given Value

O(n) space solution

Problem statement grabilla em3260

Output:

grabilla g16292

Click here to view code

5. Min Number of Coins to Make a Given Value

O(n^2) space solution

Problem statement grabilla em3260

Output:

grabilla em7188

Click here to view code

6. Total Number of Possible Binary Search Trees With N Keys

Problem statement grabilla g14032

Output:

grabilla g12748

Click here to view code

7. Count Number of Ways to Reach the N'th Stair

Problem statement grabilla g15220

Output:

grabilla g17468

Click here to view code

8. Cutting a Rod Problem

Problem statement grabilla g16480

Output:

grabilla em8432

Click here to view code

9. Egg Dropping Puzzle

Problem statement grabilla g10380

Output:

grabilla g20104

Click here to view code

10. Weighted Job Scheduling

Problem statement grabilla em7212

Output:

grabilla g14052

Click here to view code

11. Kadane's Algorithm - Largest Sum Contiguous Subarray

Problem statement grabilla ya8044

Output:

grabilla g11612

Click here to view code

12. Largest Rectangular Area in a Historgram

Problem statement grabilla nly360

Output:

grabilla g17160

Click here to view code

13. Longest Common Substring

Problem statement grabilla g12636

Output:

grabilla g13852

Click here to view code

14. Longest Bitonic Subsequence

Problem statement grabilla g10500

Output:

grabilla em5260

Click here to view code

15. Longest Increasing Subsequence

Problem statement grabilla g10396

Output:

grabilla em1996

Click here to view code

16. Longest Palindromic Subsequence

Problem statement grabilla g10548

Output:

grabilla em8980

Click here to view code

17. Matrix Chain Multiplication

Problem statement grabilla em5592

Output:

grabilla ya7120

Click here to view code

18. Max Profit Buy/Sell With K Transactions

Problem statement grabilla g13516

Output:

grabilla g11404

Click here to view code

19. Max Size Rectangle With All 1s

Problem statement grabilla em8536

Output:

grabilla g12432

Click here to view code

20. Min Edit Distance

Problem statement grabilla g18600

Output:

grabilla g12816

Click here to view code

21. Min Cost Path

Problem statement grabilla ya8924

Output:

grabilla g11448

Click here to view code

22. String Interleaving Problem

Problem statement grabilla g14824

Output:

grabilla g11808

Click here to view code

23. Optimal Strategy for a Game

Problem statement grabilla em6816

Output:

grabilla g14540

Click here to view code

24. Box Stacking Problem

Problem statement grabilla p15272

Output:

grabilla hp9568

Click here to view code

25. Subset Sum Problem

Problem statement grabilla g11480

Output:

grabilla ya9080

Click here to view code

26. Palindrome Partitioning

Problem statement grabilla h11968

Output:

grabilla em3460

Click here to view code

27. Optimal Binary Search Tree

Problem statement grabilla h17516

Output:

grabilla em2728

Click here to view code

28. Max Sum Rectangle in a 2-D Matrix

Problem statement grabilla g10368

Output:

grabilla g12304

Click here to view code

29. Max Sum for Not Adjacent Elements

Problem statement grabilla em5572

Output:

grabilla g10764

Click here to view code

30. Word Wrap Problem

Problem statement grabilla g10904

Output:

grabilla em9292

Click here to view code

31. Wild Card Pattern Matching

Problem statement grabilla p12244

Output:

grabilla p15080

Click here to view code

32. Word Break Problem

Problem statement grabilla g12768

Output:

grabilla ya7668

Click here to view code

33. Min Number of Jumps to Reach the End

Problem statement grabilla p13448

Output:

grabilla p15060

Click here to view code

34. Max Sum Increasing Subsequence

Problem statement grabilla p14160

Output:

grabilla hp9920

Click here to view code

35. Regular Expression Matching

Problem statement grabilla h11408

Output:

grabilla h13376

Click here to view code

36. Longest Bitonic Subsequence

Problem statement grabilla em6700

Output:

grabilla nly636

Click here to view code

37. Longest Common Subsequence

Problem statement grabilla h12564

Output:

grabilla g16404

Click here to view code

38. Max Size Subsquare Matrix With All 1s

Problem statement grabilla em9500

Output:

grabilla g10784

Click here to view code

39. Total Number of Ways

Problem statement grabilla g11412

Output:

grabilla em9320

Click here to view code

40. Max Subsquare Matrix Surrounded by 'X'

Problem statement grabilla em3004

Output:

grabilla nly760

Click here to view code

41. Range Sum Query in 2D Matrix in O(1) Time

Problem statement grabilla g15312

Output:

grabilla g13672

Click here to view code

42. Total Number of Possible Binary Trees for a Given N

Problem statement grabilla g15708

Output:

grabilla em2516

Click here to view code

About

My solutions for computer science questions and problems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0