Programming and Computer Science Forum

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

Threads

C/C++ Computing K^(2^N) mod 10^9+7 with large N

  • Saitama
  • · Replies 19 ·
Replies
19

What is the Time Complexity of These Binary Search Tree Functions?

  • evinda
  • · Replies 3 ·
Replies
3

Finding successor and predecessor nodes in a BST

  • evinda
  • · Replies 1 ·
Replies
1

List that contains only the elements of the one of the two given lists

  • evinda
  • · Replies 6 ·
Replies
6

What is the Efficient Way to Perform a Zig-Zag Traversal in a List?

  • evinda
  • · Replies 6 ·
Replies
6

How to Properly Implement the Delete() Algorithm for Linked Lists

  • evinda
  • · Replies 7 ·
Replies
7

Function Pop for a static stack

  • evinda
  • · Replies 7 ·
Replies
7

C/C++ How Should I Modify My C++ Code to Start Time Calculation from Zero?

  • physics=world
  • · Replies 3 ·
Replies
3

How do you program a Delta HMI A series?

  • Jean jean
  • · Replies 1 ·
Replies
1

Are these abbreviations common in programming/image processing?

  • Jun Kyoto
  • · Replies 8 ·
Replies
8

How Can I Compute Variable B from Variable A Using Inverse OR Operator?

  • Medicol
  • · Replies 3 ·
Replies
3

C/C++ [C++] When is it OK to forward declare templates?

  • Carno Raar
  • · Replies 4 ·
Replies
4

Java Where Can Beginners Find Java NetBeans Learning Sites?

  • Raghav Gupta
  • · Replies 9 ·
Replies
9

Understanding LR(0) Parser: Constructing Parsing Tables

  • 22990atinesh
  • · Replies 3 ·
Replies
3

Algorithm with time complexity o(n^2)

  • evinda
  • · Replies 4 ·
Replies
4

Is Bubblesort Algorithm Correct?

  • evinda
  • · Replies 2 ·
Replies
2

Java Java: Questions About Music & App Store Program

  • MarcL
  • · Replies 4 ·
Replies
4

Topological Sort: Finding a Contradiction

  • evinda
  • · Replies 2 ·
Replies
2

Decision Properties of Languages

  • 22990atinesh
  • · Replies 3 ·
Replies
3

Will AI ever achieve self awareness?

  • ElliotSmith
  • · Replies 83 ·
3
Replies
83

How is this decision tree constructed?

  • evinda
  • · Replies 1 ·
Replies
1

A mathematical way to analyze code?

  • jack476
  • · Replies 5 ·
Replies
5

Python Python 2.7.3 or 3.4.1? Which to Learn for Physics/Math

  • Cake
  • · Replies 5 ·
Replies
5

Are Elements of Sets Close Enough?

  • evinda
  • · Replies 9 ·
Replies
9

A' should be asymptotically faster than A

  • evinda
  • · Replies 1 ·
Replies
1

Python Computational physics textbook using python

  • DrClaude
  • · Replies 1 ·
Replies
1

Troubleshooting: Android Studio Not Opening on Windows 8 - No JDK Found

  • Math10
  • · Replies 22 ·
Replies
22

Things that should be designed as singletons

  • Silicon Waffle
  • · Replies 5 ·
Replies
5

C/C++ How can I easily install a C++ plot library on a Mac?

  • KleZMeR
  • · Replies 6 ·
Replies
6

How do I free memory when a program ends?

  • mathmari
  • · Replies 11 ·
Replies
11

Can we merge two unsorted lists in constant time?

  • evinda
  • · Replies 31 ·
2
Replies
31

How do I sort a list using insertion sort?

  • evinda
  • · Replies 59 ·
2
Replies
59

How to insert an element in an array in O(1) time

  • mathmari
  • · Replies 98 ·
4
Replies
98

Destruction function for planetary system in C with asteroids

  • mathmari
  • · Replies 2 ·
Replies
2

Java (Java) How to make a program that will reload

  • icecubebeast
  • · Replies 6 ·
Replies
6

Cellular automaton books for beginners with only trigonometry knowledge

  • OzRamos
  • · Replies 2 ·
Replies
2

Java Can you recommend some good Java books?

  • Math10
  • · Replies 6 ·
Replies
6

Efficently drawing 100 000 models in 3D without lag

  • Superposed_Cat
  • · Replies 14 ·
Replies
14

Finding the $j^{th}$ Smallest Element in an AVL Tree

  • evinda
  • · Replies 7 ·
Replies
7

Python Should I learn Python and C# simultaneously or master one first?

  • adjacent
  • · Replies 14 ·
Replies
14

Which one earns more money: free iOS app or free iPhone app?

  • Math10
  • · Replies 16 ·
Replies
16

Zorich's "Mathematical Analysis I" Problem 25

  • Andrei1
  • · Replies 1 ·
Replies
1

Golang Concurrency: Ignoring request from channel

  • TheDemx27
  • · Replies 1 ·
Replies
1

Java (Java) I don't get how ".this" works?

  • icecubebeast
  • · Replies 10 ·
Replies
10

Does a kernel-free OS make any sense?

  • Mickey93
  • · Replies 9 ·
Replies
9
Replies
1

Why Does Bit Shifting in Win32 API and C# BitConverter.ToInt32 Act Differently?

  • Silicon Waffle
  • · Replies 1 ·
Replies
1

Union of Disjoint Sets with at Most k Sets - Algorithm

  • evinda
  • · Replies 2 ·
Replies
2

C/C++ Including Boost filesystem.hpp in C++

  • Jamin2112
  • · Replies 3 ·
Replies
3

Python Can't install Python 3.4.2 after downloading it?

  • Kostas Tzim
  • · Replies 10 ·
Replies
10

Java Should the project name of my Java application ?

  • Math10
  • · Replies 4 ·
Replies
4

Java [Java] How come I can't compile this?

  • Math10
  • · Replies 25 ·
Replies
25

Why Is Total Parity of Bits Important in Computing?

  • Callaghan
  • · Replies 3 ·
Replies
3

Java How to write a Java application in Netbeans IDE 8.0.2?

  • Math10
  • · Replies 1 ·
Replies
1

Understanding Instruction Cycle?

  • 22990atinesh
  • · Replies 7 ·
Replies
7

C/C++ [C#][C++] BitArray class object

  • Silicon Waffle
  • · Replies 1 ·
Replies
1

Finding two array elements with quotient equal to y in O(m log m)

  • evinda
  • · Replies 20 ·
Replies
20

How to delete an element from a heap

  • evinda
  • · Replies 9 ·
Replies
9

C/C++ [C++] Quickly finding directory files using boostfilesystem

  • PPeter
  • · Replies 2 ·
Replies
2

In Miller-Rabin, what is the probability to get a witness?

  • nomadreid
  • · Replies 2 ·
Replies
2

Physics courses with modeling and simulation beyond ZHAW Aviatik

  • Moossameli
  • · Replies 5 ·
Replies
5

The knapsack problem is NP-complete

  • mathmari
  • · Replies 14 ·
Replies
14

C# Where Can I Find a Comprehensive C# Math Library?

  • DivergentSpectrum
  • · Replies 5 ·
Replies
5

8051 Microcontroller Descending Order

  • tyogav
  • · Replies 12 ·
Replies
12

Constructing a Star System with O(1) Complexity

  • mathmari
  • · Replies 20 ·
Replies
20

Function to delete colliding free-floating and asteroid planets from trees

  • mathmari
  • · Replies 1 ·
Replies
1

C/C++ What does this C++ loop output with i and counter?

  • ineedhelpnow
  • · Replies 11 ·
Replies
11

C/C++ How can we print odd numbers up to 99 using nested for loops in C++?

  • ineedhelpnow
  • · Replies 7 ·
Replies
7

NP-complete Proof: 3-SAT is Polynomially Transformable

  • mathmari
  • · Replies 3 ·
Replies
3

C/C++ C++ Programming Problem: Adding Streams to a Pre-Existing Code

  • PleaseHelp
  • · Replies 2 ·
Replies
2

Segmentation fault in planetary system destruction function

  • mathmari
  • · Replies 119 ·
4
Replies
119

Python Systems simulated by a simple percolation model using python

  • dilloncyh
  • · Replies 3 ·
Replies
3

C/C++ [C++] Reading a binary file into a byte array

  • Silicon Waffle
  • · Replies 3 ·
Replies
3

Sorting $m$ Integers in $O(m)$ Time

  • evinda
  • · Replies 9 ·
Replies
9

How does radix sort work with counting sort?

  • evinda
  • · Replies 3 ·
Replies
3

Java Java selection sort code crashes on array access

  • tshet
  • · Replies 4 ·
Replies
4

Finding the $p$ Closest Elements to Median of Set $M$ in $O(m)$ Time

  • evinda
  • · Replies 5 ·
Replies
5

Fortran Can You Implement a Column-Major Matrix Storage Data Structure in C?

  • mafagafo
  • · Replies 35 ·
2
Replies
35

C/C++ [C++] Similar method of bitconverter -- ToInt16

  • Silicon Waffle
  • · Replies 1 ·
Replies
1

Python Python - trajectory of a mass in a gravitational frield

  • wigglywoogly
  • · Replies 5 ·
Replies
5

How to Build a Binary Search Tree with Given Data?

  • Henry R
  • · Replies 6 ·
Replies
6

Is the Complexity of Satisfiable Boolean Expressions in NP?

  • mathmari
  • · Replies 1 ·
Replies
1
Replies
12

Sort 22 85 43 28 65 35 using selection sort and insertion sort

  • Henry R
  • · Replies 3 ·
Replies
3

How can we implement this sort?

  • mathmari
  • · Replies 1 ·
Replies
1

Java Performance leak in my program (JavaScript)

  • Jamin2112
  • · Replies 12 ·
Replies
12

What are the array contents after these operations?

  • Henry R
  • · Replies 8 ·
Replies
8

Could someone give me a basic lesson/project to do in C

  • Niaboc67
  • · Replies 8 ·
Replies
8

How Do You Write a Function for Depth First Search in Graph Traversal?

  • Henry R
  • · Replies 3 ·
Replies
3

How programming interacts with transistors

  • Niaboc67
  • · Replies 6 ·
Replies
6

C/C++ What are recursive functions used for?

  • ineedhelpnow
  • · Replies 1 ·
Replies
1

What is the meaning of this job ad?

  • Jamin2112
  • · Replies 7 ·
Replies
7

C/C++ C++ String Functions with Pointers

  • ineedhelpnow
  • · Replies 4 ·
Replies
4

Dijkstra's algorithm: choosing which point to begin with

  • nomadreid
  • · Replies 4 ·
Replies
4

C/C++ How can a C++ function return two values to the caller without using a class?

  • ineedhelpnow
  • · Replies 3 ·
Replies
3

What is the Google Foobar Challenge?

  • TheDemx27
  • · Replies 2 ·
Replies
2

C/C++ Haversine formula in C++ returning half expected distance

  • DeepSeaBiscuit
  • · Replies 4 ·
Replies
4

C/C++ C++ *Pointer vs. Pointer* and Member Access Operator

  • ineedhelpnow
  • · Replies 2 ·
Replies
2

C/C++ C++ Pointers and the Flush function

  • ineedhelpnow
  • · Replies 1 ·
Replies
1

Java Where do I compile and run Java after installing JDK

  • Math10
  • · Replies 2 ·
Replies
2