• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to secondary sidebar

GoHired

Interview Questions asked in Google, Microsoft, Amazon

Join WeekEnd Online Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

  • Home
  • Best Java Books
  • Algorithm
  • Internship
  • Certificates
  • About Us
  • Contact Us
  • Privacy Policy
  • Array
  • Stack
  • Queue
  • LinkedList
  • DP
  • Strings
  • Tree
  • Mathametical
  • Puzzles
  • Graph

Kadane

Maximum sum contiguous subarray of an Array

December 25, 2017 by Dhaval Dave

Given an Array A with n integers both positive and negative, find the maximum sum contiguous subarray within A which has the largest sum

… Read More

Filed Under: Algorithm, Array, Interview Experience, Interview Questions, problem Tagged With: Array, Dynamic Programming, Kadane

Primary Sidebar

Join WeekEnd Online/Offline Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

Join WeekEnd Online/Offline Batch from 4-April-2020

WhatsApp us

Secondary Sidebar

Custom Search

  • How I cracked AMAZON
  • LeetCode
  • Adobe
  • Amazon
  • Facebook
  • Microsoft
  • Hacker Earth
  • CSE Interview

Top Rated Questions

Difference between a LinkedList and a Binary Search Tree BST

Find two non repeating elements in an array of repeating elements

Find position of the only set bit

Check Binary Tree is Binary Search Tree or not

Binary Tree in Java

There are N nuts and N bolts, u have to find all the pairs of nuts and bolts in minimum no. of iteration

Apriori algorithm C Code Data Mining

Given a sorted array and a number x, find the pair in array whose sum is closest to x

strtok()

Binary Tree Isomorphic to each other

Find min element in Sorted Rotated Array (Without Duplicates)

Skiing on Mountains Matrix

Max Sum in circularly situated Values

Daughter’s Age VeryGood Puzzle

N Petrol bunks or City arranged in circle. You have Fuel and distance between petrol bunks. Is it possible to find starting point so that we can travel all Petrol Bunks

System Design: Designing a LLD for Hotel Booking

Print Power Set of a Set

Maximum difference between two elements s.t larger element appears after the smaller number

Serialise Deserialise N-ary Tree

Coin Collection Dynamic Programming

Maximum path sum between two leaves

Find the smallest window in a string containing all characters of another string

Search element in a matrix with all rows and columns in sorted order

Find an index i such that Arr [i] = i in array of n distinct integers sorted in ascending order.

Level order traversal in Spiral form

Rectangular chocolate bar Create at least one piece which consists of exactly nTiles tiles

DFS (Depth First Search)

Inorder and Preorder traversals of a Binary Tree given. Output the Postorder traversal of it.

Given array of 0’s and 1’s. All 0’s are coming first followed by 1’s. find the position of first 1

Possible sizes of bus to carry n groups of friends

Copyright © 2026 · Genesis Framework · WordPress · Log in