If data Structures & Algorithm,Problem Solving Makes You excited & Gives You Pleasure the you can Post your question solution and comments . Happy Coding

Owner: wgpshashank

Listed in: Academics

Language: English

Tags: Data Structure, Algorithms,, Dynamic Programming, Linked List, Binary Trees

### Site Statistics

Unique Visitors Today:

0

Page Views Today:

0

Unique Visitors this Week:

9

Page Views this Week:

12

Unique Visitors this Month:

408

Page Views this Month:

490

Total Unique Visitors:

153,422

Total Page Views:

220,856

Total Hits Out:

122

### Latest Blog Posts for Cracking The Code

- Find firstNon repeating character in string in one passon Jul 14, 2016import java.util.LinkedHashMap;public class FirstNonRepeated { public static void main(String[] args) { LinkedHashMap<Character, Integer> linkedHashMap = new LinkedHashMap<>(); String str = "allergicToBitches"; for...
- Given: an array x of N elements, sorted in ascending order and an integer a Try to find a in x. 1. if a is in x: return its position 2. if a is not in x: return the position, where to insert a in x, such that x remains sortedon Nov 24, 2014 in Binary Search imoNote: Question is pretty simple but there are lots of test cases to cover if you find any test case is not working , feel free comment.import java.util.*;import java.lang.*;import java.io.*;/* Name of the class has to be "Main" only if the class is p...
- Given a element, find the strictly greater element in sorted array - 1st post for 2k14on Apr 2, 2014 in Binary SearchE.g. if array is // [ a, c, d, h, k, l, l, l, o, u, x, z ]//if given m -> o// if given k -> limport java.util.*;import java.lang.*;import java.io.*;/* Name of the class has to be "Main" only if the class is public. */class Ideone{ public...
- Given a stream of characters, find the first non-repeating character from stream. You need to tell the first non-repeating character in O(1) time at any moment.on Dec 9, 2013 in Google Interview...
- iven a stream of characters, find the first non-repeating character from stream. You need to tell the first non-repeating character in O(1) time at any moment.on Dec 9, 2013 in Google Interview...
- iven a stream of characters, find the first non-repeating character from stream. You need to tell the first non-repeating character in O(1) time at any moment.on Dec 9, 2013 in Google Interview...
- iven a stream of characters, find the first non-repeating character from stream. You need to tell the first non-repeating character in O(1) time at any moment.on Dec 9, 2013 in Google Interview...
- Suppose u have a square matrix of 0s and 1s only ... find the longest path of 1s available in the matrix and return that .. you can only move right and down ...on Dec 1, 2013 in Goldman Sachs InterviewFor e.g. for the below matrix 0 0 0 1 1 1 1 1 0 1 0 1 1 1 0 0 0 1 0 0 1 1 1 1 1 The path is1th -- [ 1, 0]2th -- [ 1, 1]3th -- [ 2, 1]4th -- [ 2, 2]5th -- [ 3, 2]6th -- [ 4, 2]7th -- [ 4, 3]8th -- [ 4, 4]The...
- Given an integer N, print numbers from 1 to N in lexicographic order , You are not allowed to use any library functionson Dec 1, 2013 in Bloomberg LLP...
- find the sum of array elements after kth iterationon Dec 1, 2013 in Amazon Interview Binomial Coefficientfor example if array is ar[]=4 6 8 3 6} then below will be the sum after k=0 to 3rd iterationsAfter 0th iteration, arr[ ]={4,6,8,3,6}. Sum of all elements of the array = 27After 1st iteration, arr[ ]={-2,-2,5,-3}. Sum of all elements of the array = -...

Loading Comments...

Comments

{ds_PageTotalItemCount} commentcomments

{pvComments::date}

{pvComments::comment}