Programming and Computer Science Forum

Join the expert discussion on programming topics. Topics like computer algorithms, data structures, A.I., systems, databases, communications, security.

Sub-forums

8.9K threads

Threads

Solve Towers of Hanoi: An Algorithm Example w/ Recursion

  • mathmari
  • · Replies 25 ·
Replies
25
Replies
4

Fortran Understanding Intrinsic 'Fraction' Function in Fortran

  • PaulDirac
  • · Replies 1 ·
Replies
1

Describe a language accepted by a pushdown automata.

  • JamesBwoii
  • · Replies 4 ·
Replies
4

Bioinformatics project to help find cure for ALS

  • rmattila
  • · Replies 2 ·
Replies
2

C/C++ CodeBlocks output window help in C++

  • certainly
  • · Replies 23 ·
Replies
23

How do I place my image on top right corner of my web page?

  • Math10
  • · Replies 2 ·
Replies
2

Is Computer Science Derived from Mathematics?

  • noman.rasheed
  • · Replies 16 ·
Replies
16

Worst-case running time of algorithm

  • mathmari
  • · Replies 2 ·
Replies
2

[C] The usage of ? and : when cleaning up recursive code

  • STEMucator
  • · Replies 39 ·
2
Replies
39
Replies
3

Writing an Algorithm to Check Depth of Leaves in an Ordered Tree

  • evinda
  • · Replies 65 ·
3
Replies
65

What are the parameters for the printf function in the C language?

  • Maged Saeed
  • · Replies 2 ·
Replies
2

Finding Depth & Height of Node w/ Key $r$ in $\text{AVL tree}$

  • evinda
  • · Replies 15 ·
Replies
15

C/C++ [C++] Any suggestions on how to clean up this procedure?

  • Jamin2112
  • · Replies 3 ·
Replies
3

How many comparisons are required?

  • mathmari
  • · Replies 1 ·
Replies
1

How can we add a node in a tree?

  • evinda
  • · Replies 40 ·
2
Replies
40

Places a complete newbie can learn coding?

  • Theoneandonly99
  • · Replies 5 ·
Replies
5

What programming language should I learn for a game app?

  • Math10
  • · Replies 16 ·
Replies
16

Divide Binary Search Tree at Key k: Algorithm & Analysis

  • evinda
  • · Replies 10 ·
Replies
10

Polynomial Arithmetic in Lisp: How to Begin?

  • JamesBwoii
  • · Replies 37 ·
2
Replies
37

Finding Min. Element in Sequence: Algo & Steps

  • evinda
  • · Replies 2 ·
Replies
2

C/C++ C++ Vector Resize: Counting Down to the Test

  • ineedhelpnow
  • · Replies 1 ·
Replies
1

C/C++ Adding Vectors in C++: Example Code for Summing Elements with an Offset Amount

  • ineedhelpnow
  • · Replies 1 ·
Replies
1

Proving Correctness of Heap Building Algorithm

  • evinda
  • · Replies 1 ·
Replies
1

Deleting Leaf Nodes from an Ordered Binary Tree

  • evinda
  • · Replies 2 ·
Replies
2

How do you draw a binary tree using pre-order and in-order traversal?

  • evinda
  • · Replies 14 ·
Replies
14

This is the algorithm of Quicksort

  • evinda
  • · Replies 1 ·
Replies
1

HTML/CSS What text editor should I use for HTML5?

  • Math10
  • · Replies 6 ·
Replies
6

What is the purpose of the MERGESORT algorithm?

  • evinda
  • · Replies 7 ·
Replies
7

Computing Binary Tree Sums without Globals/Statics

  • evinda
  • · Replies 4 ·
Replies
4

Sorting $8$ Players in $24$ Hours: Is it Possible?

  • mathmari
  • · Replies 1 ·
Replies
1

Determine if the string is in L(G)

  • mathmari
  • · Replies 2 ·
Replies
2

Was Facebook made with the following programming languages?

  • Math10
  • · Replies 7 ·
Replies
7

Python Having some trouble with a little bit of Python Homework:

  • Spencero94
  • · Replies 2 ·
Replies
2
Replies
1

Creating List $L_3$ from $L_1,L_2$ w/ $O(n_1+n_2)$ Complexity

  • evinda
  • · Replies 7 ·
Replies
7

Fortran Program in FORTRAN which calculate the detection efficiency

  • inesnoussa
  • · Replies 4 ·
Replies
4

Difference Between courseGrades[i] and courseGrades.at(i)

  • ineedhelpnow
  • · Replies 8 ·
Replies
8

C/C++ Possible title: How to Print All Elements of a Vector Using a For Loop in C++

  • ineedhelpnow
  • · Replies 2 ·
Replies
2

Checking if a Binary Tree is Full: A Hint

  • evinda
  • · Replies 1 ·
Replies
1

Finding Depth of Perfect & Complete Binary Trees

  • evinda
  • · Replies 1 ·
Replies
1

How Can You Calculate Bus Arrival Times Using Excel?

  • ramonjosegn2014
  • · Replies 1 ·
Replies
1

How to Efficiently Merge a Sorted List and a Pre-Order Sorted Tree?

  • evinda
  • · Replies 1 ·
Replies
1

Verifying Sequence of Push/Pop Ops in a Stack

  • evinda
  • · Replies 2 ·
Replies
2

What Are the Complexity and Operations of a Static Queue?

  • evinda
  • · Replies 9 ·
Replies
9

Python How Can I Implement a Three-Variable Advection Equation in Python?

  • leonmate
  • · Replies 1 ·
Replies
1

C/C++ How to Define the Missing Function in a Dog License Number Program?

  • ineedhelpnow
  • · Replies 8 ·
Replies
8

What are the memory requirements for the Pop and Push algorithms in C?

  • evinda
  • · Replies 11 ·
Replies
11

Can anyone help me reverse a list in Lisp without using the reverse function?

  • JamesBwoii
  • · Replies 7 ·
Replies
7

Inserting Nodes After Q: Let's Double Check!

  • evinda
  • · Replies 4 ·
Replies
4

Definition of an operating system

  • spaghetti3451
  • · Replies 7 ·
Replies
7

What Magazines should a Computer Science Student read

  • 22990atinesh
  • · Replies 4 ·
Replies
4

In which case will the command be executed?

  • evinda
  • · Replies 7 ·
Replies
7

C/C++ C++ Classes: Print and Update Person's Kids

  • ineedhelpnow
  • · Replies 2 ·
Replies
2

Drawing Trees Through MATHHELPBOARDS: Pre-Order, In-Order, Post-Order

  • evinda
  • · Replies 13 ·
Replies
13

Using a Sentinel Value to Find an Element in a List

  • evinda
  • · Replies 4 ·
Replies
4

Multiplication of two n-bit numbers

  • mathmari
  • · Replies 6 ·
Replies
6

Java How to Adapt the Nelder Mead Algorithm for a Custom Function in Java?

  • a.mlw.walker
  • · Replies 6 ·
Replies
6

What happens when a null pointer is passed into a recursive function?

  • evinda
  • · Replies 9 ·
Replies
9

How do I create multiple web pages?

  • Math10
  • · Replies 8 ·
Replies
8

Fortran [FORTRAN] Assigning bad values in arrays

  • Matterwave
  • · Replies 13 ·
Replies
13

Computer Information System Program

  • Henry R
  • · Replies 5 ·
Replies
5

Equivalent RAM Program: Hints to Show Complexity $O(T^2(n))$

  • mathmari
  • · Replies 9 ·
Replies
9

Is it Possible? - Running a Program with Data Structures in Separate Files

  • mathmari
  • · Replies 6 ·
Replies
6

Read numbers and print them in sorted order

  • mathmari
  • · Replies 8 ·
Replies
8

What are signed and unsigned chars?

  • adjacent
  • · Replies 9 ·
Replies
9

Minimal number of successful communication

  • mathmari
  • · Replies 1 ·
Replies
1

Which node satisfies this property?

  • evinda
  • · Replies 20 ·
Replies
20

Questions about *.a files on windows

  • hzp
  • · Replies 10 ·
Replies
10

Fortran Error 6404 when running fortran code in visual studio

  • snow.ball
  • · Replies 7 ·
Replies
7

C/C++ C++: Global replacement of a character within a string

  • ineedhelpnow
  • · Replies 3 ·
Replies
3

What else do I need to learn besides Objective-C?

  • Math10
  • · Replies 7 ·
Replies
7

Fortran A specification statement cannot appear in the executable section (fortran)

  • Hercuflea
  • · Replies 11 ·
Replies
11

Program to compute the factorial of n

  • mathmari
  • · Replies 28 ·
Replies
28

Separating a List: What to Do After Deallocating?

  • mathmari
  • · Replies 1 ·
Replies
1

C/C++ Compiler error do to too much "constness" in my C++ program?

  • Jamin2112
  • · Replies 5 ·
Replies
5

The advantage of modular arithmetic, e.g. cyclic groups?

  • nomadreid
  • · Replies 7 ·
Replies
7

Converting Recursion into Loops for Computing n^n

  • mathmari
  • · Replies 15 ·
Replies
15

Program that accepts inputs of the form 1^n 2^{n^2} 0

  • mathmari
  • · Replies 15 ·
Replies
15

Find First Free Position in Array in $O(\log n)$ Time Complexity

  • mathmari
  • · Replies 36 ·
2
Replies
36

Transfer data from memory to register / register to memory?

  • vead
  • · Replies 5 ·
Replies
5

Fortran [Fortran] How to open .hdf5 file extension

  • sketos
  • · Replies 1 ·
Replies
1

Show that $S(m)=\Theta(m^2)$ by Induction

  • evinda
  • · Replies 28 ·
Replies
28

Why Software/IT/Coding Jobs are payed higher?

  • koolraj09
  • · Replies 4 ·
Replies
4
Replies
3

Fortran Why am I getting a Fortran runtime error when trying to print more values?

  • Matterwave
  • · Replies 12 ·
Replies
12

Python Python code using Process class

  • fred_91
  • · Replies 2 ·
Replies
2
Replies
4

HTML/CSS Ok, I need a new thread for my HTML processing program

  • Jamin2112
  • · Replies 2 ·
Replies
2

Modify Triangle Program #2 - Enter Valid Sides for Area

  • ineedhelpnow
  • · Replies 15 ·
Replies
15

What are finance systems programmed in?

  • Jarfi
  • · Replies 6 ·
Replies
6

Creating Free iOS Apps: Requirements and Mac Necessity

  • Math10
  • · Replies 4 ·
Replies
4

Fortran [FORTRAN]Compiler if statements

  • Matterwave
  • · Replies 11 ·
Replies
11

Proving $g(n)$ is $O(f(n))$ with given inequalities

  • mathmari
  • · Replies 15 ·
Replies
15

C/C++ C++ function to split a string by whitespace, ignoring any whitespace in quotes

  • Jamin2112
  • · Replies 15 ·
Replies
15

What are some good websites for learning programming languages?

  • Math10
  • · Replies 3 ·
Replies
3

C/C++ Does This 'for' Loop in C++ Cause an Error?

  • ineedhelpnow
  • · Replies 2 ·
Replies
2

FTP Port 21: Client/Host Usage & Alternatives

  • tmt1
  • · Replies 2 ·
Replies
2

C/C++ Reversing Vector in C++: Which Loop is Correct?

  • ineedhelpnow
  • · Replies 3 ·
Replies
3