14 Topics

Member Avatar for
Member Avatar for victorkvarghese

Hii, Can anyone provide me the python code for finding a number that is stored in a file . The file contains 1 lakh numbers!! And i want a python code that searches the file and find the desired element!!!! Both linear search and binary search!! i'm a python beginner!!!! …

Member Avatar for slate
0
3K
Member Avatar for gerta_1
Member Avatar for t2nator

This is a topic we didn't cover in class so I am lost on what is going on, any pointers would be greatly appreciated: ~Given the following numbers ... 25 72 122 ... and given the following hashing function ... hashvalue := (i*i) mod 97 ... and using Linear Probing, …

0
132
Member Avatar for nah094020

Ok guys i have a few questions about implementing a gneric hash table using linear probing. Ok first, i need to make an entry class Entry<K,V> then An Entry <K,V> table array but since its gneric must initiatied elsewhere my question is how does the class entry work , from …

Member Avatar for NormR1
0
2K
Member Avatar for Anonymous123

I have an assignment to write a program in Java to implement the Natural Correspondence Algorithm for converting a linear list into a binary tree. The program should process its inputs in two steps: (a) It first builds a tree for a given input list (b) It then traverses the …

Member Avatar for Anonymous123
0
272
Member Avatar for christine.j

So, I've been assigned to write a program that reads the wind-tunnel test data, that of which is called the "tunnel.dat" in my program, and then allows the user to enter a flight-path angle. If the angle entered is within the bounds of the data set, the program would need …

Member Avatar for raptr_dflo
0
1K
Member Avatar for michaelzip

Hi. Can you help me how to balance a chemical equation using linear algebra. I know how to do it on a piece of paper using the usual method of balancing. I just don't get the principle how to do it on the other method. Please give me a step …

Member Avatar for michaelzip
0
254
Member Avatar for sikelesS

Hi there, first post! First off, I apologise for asking such a basic question, but I am new to Java (done VB before..) and was wondering if you could please help me out with a little problem I'm having! I have a method that reads data from a text file, …

Member Avatar for Slimmy
0
189
Member Avatar for CSWalls

[B]Hi guys!!... I am just looking for some startup guidance with a program I am supposed to write.. it goes like this ->[/B] A program which compares these three hashing methods: 1) open addressing with linear probing, 2) open addressing with quadratic probing, and 3) separate chaining. Input will come …

Member Avatar for CSWalls
0
206
Member Avatar for incubus9x9

Hey guys!! first off please dont tell me to google it, iv already done my searching with google and various text books lol ... Ok So i understand how to find numbers in a linear search by inputting 10 numbers and searching. Now i need to do the same except …

Member Avatar for Taywin
0
3K
Member Avatar for devin2203

Hi all Am trying to Truncate the end of a linear list in java. so that: [CODE] // reduce the size of the list to s by removing all elements // with indices greater or equal to s; return the number of removed // elements; // for example, if the …

Member Avatar for devin2203
0
454
Member Avatar for Mushida

Sorry but I'm having a problem whit this function that is meant to let me edit records in a binary file. After I enter what I want to change an attribute to the file remains unchanged. [CODE]void updateStudent(fstream & file) { S students; long lenth; char snum[10]; char editChoice = …

Member Avatar for Mushida
0
195
Member Avatar for flyingcurry

We have an assignment to write a program finding the nth Fibonacci number. On the web, there are some standard mathematical equations for this, but that would just defeat the purpose of this assignment if I use those formulas. I have my current code down here(with some sketchy back up …

Member Avatar for coil
0
1K
Member Avatar for vishalkhialani

Hi, Has anyone animated a complext svg file ? I would like to know your experience ? Browser support? Time It Took ? Anything unexpected ? if possible a link on ur work would be great. Appreciate it. Vishal

0
113

The End.