array question

input an array & find position of its greatest element. using only

Page 1 of 1

5 Replies - 536 Views - Last Post: 18 March 2010 - 07:44 AM Rate Topic: -----

#1 shubham420  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 1
  • Joined: 18-March 10

array question

Posted 18 March 2010 - 02:23 AM

input an array & find positon of its greatest element . using only array
Is This A Good Question/Topic? -1
  • +

Replies To: array question

#2 PlasticineGuy  Icon User is offline

  • mov dword[esp+eax],0
  • member icon

Reputation: 281
  • View blog
  • Posts: 1,436
  • Joined: 03-January 10

Re: array question

Posted 18 March 2010 - 02:24 AM

Why people actually think we will do homework for them is a total mystery to me.

[rules][/rules]

This post has been edited by PlasticineGuy: 18 March 2010 - 02:27 AM

Was This Post Helpful? 1
  • +
  • -

#3 Guest_Tushar Gawande*


Reputation:

Re: array question

Posted 18 March 2010 - 02:44 AM

View Postshubham420, on 18 March 2010 - 01:23 AM, said:

input an array & find positon of its greatest element . using only array

Was This Post Helpful? -3

#4 Tapas Bose  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 23
  • View blog
  • Posts: 472
  • Joined: 09-December 09

Re: array question

Posted 18 March 2010 - 03:00 AM

View Postshubham420, on 18 March 2010 - 01:23 AM, said:

input an array & find positon of its greatest element . using only array

At first show your effort.

This post has been edited by Tapas Bose: 18 March 2010 - 03:00 AM

Was This Post Helpful? 0
  • +
  • -

#5 Guest_taylorc8*


Reputation:

Re: array question

Posted 18 March 2010 - 06:35 AM

Some people do this for fun.
No, I won't do your homework because you aren't paying me to, savvy?
Was This Post Helpful? 0

#6 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2246
  • View blog
  • Posts: 9,236
  • Joined: 18-February 07

Re: array question

Posted 18 March 2010 - 07:44 AM

View Postshubham420, on 18 March 2010 - 04:23 AM, said:

using only array


What does that even mean? Does that mean we can't use say a Linked List? Or a binary tree? Does it mean we can't use control structures? Functions?

I mean I like challenges where there are constraints on what you can do. Although I have already done the challenge of finding the maximum element in an array without using any control structures (actually I have done it twice because I worked with Anarion on it). Its a fun challenge and I highly recommend taking a stab at it!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1