-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm newbie in Functional Programming.
I have a huge neural network with thousands of neurons and every connection between neurons has its weight. I have to update these weights very often, several thousand times per learning session.
Is FP still applicable here? I mean in fp we can't modify variables…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Differentiate between a linear loop, quadratic loop, and a logarithmic loop. Please give a simple example of your own, in each case.
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I'm in the process of writing my own programming language which, thus far, has been going great in terms of what I set out to accomplish. However, now, I'd like to bootstrap some pre-existing data structures and/or objects. My problem is that I'm not really sure on how to begin.
When the compiler…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I have seen many questions on stackoverflow where dynamic programming technique can be used to make a exponential algorithm, a polynomial one. I have seen standard problems on dynamic programming. Is there a website or book that contains practice problems and solutions?
Thanks
Bala
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi All,
I got this homework. And have solved it in following way. I need your comments whether it is a good approach or I need to use any other data sturcture to solve it in better way.
public string ReturnCommon(string firstString, string scndString)
{
StringBuilder newStb = new…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The following is 2 different definitions of the problem:
How can I process 2 arrays so that I can keep the data of duplicate array[key] values.
I have arrays A and B.
I want to create array C with the children that their id/key values exist in both A and B arrays.
Thank you
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
input
23 3 4 4 42 n 23 0 9 9 n n n 3 9 9 x
//according to input,i should create int pointer arrays. pointer arrays
// starting from 1 (that is initial arrays is arrays[1].when program sees n ,it
// must be jumb to arrays 2
// the first int input 23 is num_arrays which used…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
input
23 3 4 4 42 n 23 0 9 9 n n n 3 9 9 x
//according to input,i should create int pointer arrays. pointer arrays
// starting from 1 (that is initial arrays is arrays[1].when program sees n ,it
// must be jumb to arrays 2
// the first int input 23 is num_arrays which…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
input
23 3 4 4 42 n 23 0 9 9 n n n 3 9 9 x
//according to input,i should create int pointer arrays. pointer arrays
// starting from 1 (that is initial arrays is arrays[1].when program sees n ,it
// must be jumb to arrays 2
// the first int input 23 is num_arrays which used…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm going through a Fortran code, and one bit has me a little puzzled.
There is a subroutine, say
SUBROUTINE SSUB(X,...)
REAL*8 X(0:N1,1:N2,0:N3-1),...
...
RETURN
END
Which is called in another subroutine by:
CALL SSUB(W(0,1,0,1),...)
where W is a 'working array'. It appears that a specific…
>>> More