Data Structure By DS

I found it difficult to find many data structures puzzles, questions and problem in 100s of websites, so thought of writing and consolidating in a single place. This would help me to refer it any time and others can also if they like it. I have contributed as well as referred code from various websites where other has contributed.

Sunday, January 25, 2015

Find The Maximum Multiplication In An Given Array

For e.g.
Input:
 {6,7,-8,9,8,-7,6};
Output:
  Maximum Product: 72


Posted by Deepak Singhvi at 9:31 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Puzzles

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Deepak Singhvi
View my complete profile

Blog Archive

  • ►  2023 (2)
    • ►  June (2)
  • ►  2019 (6)
    • ►  June (1)
    • ►  May (2)
    • ►  April (3)
  • ►  2016 (2)
    • ►  July (2)
  • ▼  2015 (23)
    • ►  February (2)
    • ▼  January (21)
      • Blocking Queue Using ReentrantLock To Do Operation...
      • Sorting Using Reversing Array Element ( PanCake So...
      • Search Value Into Two Dimensional Sorted Array
      • Find The Maximum Multiplication In An Given Array
      • Find The Largest Sum Of Contiguous Integers In The...
      • Find The Next Greatest Element In Array
      • Find If Sum Of Any Three Elements Is Equal To Give...
      • Find Sub-String Of A String
      • Find Kth Non Repeating Character
      • Find If Array Elements Are Consecutive
      • Convert To Sorted Array Using Decrement or Delete
      • Longest Common Subsequence
      • Find Kth Largest Element
      • Intersection Of Unsorted Arrays
      • Selection Sort
      • Insert a node into the circular list
      • Quick Sort
      • Insertion Sort
      • Find Maximum Sum In Binary Tree Path
      • Binary Search Tree
      • Breadth First Search

Search This Blog

Simple theme. Powered by Blogger.