How will you search an element in sorted 3D Array ? ( Sorted in all the 3
directions )
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email
Hi
Is your crawler script in python or shell script?
Thanks
Amit Jain
On Fri, Jul 20, 2012 at 6:02 AM, Nandita Raman nandita.rama...@gmail.comwrote:
Hello,
I am working on a unix machine. and i have the crawler script with me. The
task i need to do is, update my database (by creating a
@ashish jain :then what for aaab..
From: ashish jain ashishjainco...@gmail.com
To: algogeeks@googlegroups.com
Sent: Thursday, July 19, 2012 9:48 PM
Subject: Re: [algogeeks] Programming Problem
if from the string s.. a binary search tree (with higher value
Any thought?
On Tue, May 15, 2012 at 11:46 AM, Amit Jain aj201...@gmail.com wrote:
Hi All
How can we get first D digits of N to the power N ?
P.S. N is of order 10^18 (^ : Power) and D = N
Thanks
Amit Jain
--
You received this message because you are subscribed to the Google Groups
@piyus khanna---
while forming a BST with aaab and removing duplicates if a charcter occur
once ..
so for aaab
first make a node for 'a'.
and ignore next two a's as they are already on the BST. next is 'b'.
make 'b' as root and 'a' on the right side..
and use inorder parsing to get 'ba' as the
Can't we simply hash all the characters in an array and then print the
occurrence of each character in lexicographically decreasing order? This
way, it'll have all unique characters, will be the longest possible string
and will be derivable from s.
int hash[26] = {0};
hash all inputs using :-
Compare the element with the first([0][0]) and the last element([n-1][n-1])
of each 2D array to pin down the 2D array it *might* be present in.
After that you can follow this approach :
http://www.geeksforgeeks.org/archives/11337
If it's not present in that 2D, move on and search for the next
@sanjay: what about Bus error..?
On 7/18/12, Sanjay Rajpal sanjay.raj...@live.in wrote:
Segmentation fault occurs when you try to access a memory which doesn't
belong to your program.
You are trying to cast a memory location of one byte to 4 byte(assuming
size of long int to be 4). It is
Book: Data Structures And Algorithms Made Easy: Data Structure And
Algorithmic Puzzles
Author: Narasimha Karumanchi
ISBN: 0615459811
ISBN-13: 9780615459813, 978-0615459813
Binding: Paperback
Publishing Date: 2011
Publisher: CareerMonk Publications
Edition: 2ndEdition
Number of Pages: 484
Hello,
i am working on a code that has to return timestanp and size of the file.
the code i am using - my $mtime = (stat($file))[9];
but when i execute it in the cmd line, it says - Use of uninitialized value
in stat at /usr/lib/perl5/5.8.8/File/stat.pm line 49
I am very new to perl
i am using perl crawler script.
On Thu, Jul 19, 2012 at 11:11 PM, Amit Jain aj201...@gmail.com wrote:
Hi
Is your crawler script in python or shell script?
Thanks
Amit Jain
On Fri, Jul 20, 2012 at 6:02 AM, Nandita Raman
nandita.rama...@gmail.comwrote:
Hello,
I am working on a unix
@algo bard : Why dont you use binary search in your first step (while
comparing first and last element of 2d array)
On Fri, Jul 20, 2012 at 4:25 PM, algo bard algo.b...@gmail.com wrote:
Compare the element with the first([0][0]) and the last
element([n-1][n-1]) of each 2D array to pin down the
On Fri, Jul 20, 2012 at 11:02 PM, sarath prasath prasathsar...@gmail.comwrote:
Book: Data Structures And Algorithms Made Easy: Data Structure And
Algorithmic Puzzles
Author: Narasimha Karumanchi
ISBN: 0615459811
ISBN-13: 9780615459813, 978-0615459813
Binding: Paperback
Publishing Date:
Above users banned for violating group policy. NO MORE POSTS ON THIS
THREAD.
Saurabh Singh
B.Tech (Computer Science)
MNNIT
blog:geekinessthecoolway.blogspot.com
On Fri, Jul 20, 2012 at 11:39 PM, suresh kumar mahawar
suresh.mahawar1...@gmail.com wrote:
On Fri, Jul 20, 2012 at 11:02 PM,
On Sat, Jul 21, 2012 at 12:19 AM, Nandita Raman
nandita.rama...@gmail.comwrote:
i am using perl crawler script.
On Thu, Jul 19, 2012 at 11:11 PM, Amit Jain aj201...@gmail.com wrote:
Hi
Is your crawler script in python or shell script?
Thanks
Amit Jain
On Fri, Jul 20, 2012 at 6:02 AM,
15 matches
Mail list logo