Gang Of Coders
Home
About Us
Contact Us
All Language Agnostic Solutions on Gang of Coders
Total of 367 Language Agnostic Solutions
What and where are the stack and heap?
Memory Management
Stack
Language Agnostic
Dynamic Memory-Allocation
Heap Memory
The definitive guide to form-based website authentication
Forms
Http
Security
Authentication
Language Agnostic
How can I pair socks from a pile efficiently?
Algorithm
Sorting
Language Agnostic
Matching
What is the difference between concurrency and parallelism?
Language Agnostic
Concurrency
Parallel Processing
Practical non-image based CAPTCHA approaches?
Security
Language Agnostic
Captcha
How to check if the given string is palindrome?
String
Language Agnostic
Why do newbie programmers seem to shy away from libraries?
Language Agnostic
Convert a string into Morse code
Language Agnostic
Code Golf
Is there an O(n) integer sorting algorithm?
Algorithm
Language Agnostic
Sorting
Time Complexity
Purpose of singletons in programming
Language Agnostic
Singleton
Theory
The type system in Scala is Turing complete. Proof? Example? Benefits?
Language Agnostic
Scala
Type Systems
Turing Complete
Why do people say there is modulo bias when using a random number generator?
C++
Random
Language Agnostic
Modulo
Calculate largest inscribed rectangle in a rotated rectangle
Algorithm
Math
Language Agnostic
Geometry
Check if a binary tree is a mirror image or symmetric
Algorithm
Language Agnostic
Data Structures
Binary Tree
Algorithm to generate anagrams
Algorithm
Language Agnostic
Puzzle
Whose responsibility is it to check data validity?
Language Agnostic
Whats the difference between objects and data structures?
Java
Oop
Object
Data Structures
Language Agnostic
How should I Test a Genetic Algorithm
Unit Testing
Language Agnostic
Genetic Algorithm
Non Deterministic
What is the difference between "keyword" and "reserved word"?
Language Agnostic
Programming Languages
Syntax
Keyword
Reserved Words
How to get ID in create when applying CQRS?
Language Agnostic
Cqrs
Why is it recommended to have empty line in the end of a source file?
Language Agnostic
Coding Style
Eof
Hash string into RGB color
Hash
Colors
Language Agnostic
Code Golf: Running Water
Language Agnostic
Code Golf
Rosetta Stone
How to count each digit in a range of integers?
Algorithm
Language Agnostic
Count
Clarion
Code Golf: Regex parser
Regex
Language Agnostic
Code Golf
Rosetta Stone
GOTO still considered harmful?
Language Agnostic
Goto
Find 2 numbers in an unsorted array equal to a given sum
Algorithm
Language Agnostic
Pass by reference or pass by value?
Language Agnostic
Oop
Parameters
Pass by-Reference
Pass by-Value
What is a bubble sort good for?
Algorithm
Language Agnostic
Sorting
Bubble Sort
Monostate vs. Singleton
Design Patterns
Language Agnostic
Singleton
Do write-only properties have practical applications?
Oop
Properties
Language Agnostic
When should the Singleton pattern NOT be used? (Besides the obvious)
Language Agnostic
Singleton
Design Patterns
What is the difference between bucket sort and radix sort?
Algorithm
Language Agnostic
Sorting
Radix Sort
Bucket
How to read values from numbers written as words?
Algorithm
Language Agnostic
Parsing
Numbers
Nlp
Allen Holub wrote "You should never use get/set functions", is he correct?
Language Agnostic
Oop
Immutability
Setter
Getter
Code Golf: Hourglass
Language Agnostic
Code Golf
Rosetta Stone
How does this work? Weird Towers of Hanoi Solution
Algorithm
Language Agnostic
Bit Manipulation
Towers of-Hanoi
When to make a method static?
Language Agnostic
Oop
Static Methods
Domain Driven Design vs Model Driven Architecture
Language Agnostic
Domain Driven-Design
Modeling
Finding all possible combinations of numbers to reach a given sum
Algorithm
Search
Language Agnostic
Combinations
Subset Sum
Followup: Finding an accurate "distance" between colors
Language Agnostic
Colors
What is the design pattern for processing command line arguments
Design Patterns
Command Line
Arguments
Language Agnostic
Hardest types of bugs to track?
Debugging
Language Agnostic
Testing
What do you mean by the expressiveness of a programming language?
Language Agnostic
Programming Languages
Getting N random numbers whose sum is M
Random
Language Agnostic
Sum
git diff algorithm that does not rip functions apart? (language-aware diff)
Git
Language Agnostic
Diff
Semantic Diff
Ukkonen's suffix tree algorithm in plain English
String
Algorithm
Data Structures
Language Agnostic
Suffix Tree
Determine font color based on background color
Algorithm
Language Agnostic
Colors
Using an ORM or plain SQL?
Sql
Language Agnostic
Orm
What is the naming standard for path components?
Path
Language Agnostic
Cross Platform
Filenames
Terminology
Ball to Ball Collision - Detection and Handling
Graphics
Language Agnostic
Collision Detection
Physics
How many bytes does one Unicode character take?
String
Language Agnostic
Unicode
Encoding
How does Stack Overflow generate its SEO-friendly URLs?
Regex
Language Agnostic
Seo
Friendly Url
Slug
Real world use cases of bitwise operators
Language Agnostic
Bitwise Operators
What is a coroutine?
Concurrency
Language Agnostic
Terminology
Coroutine
What is an idempotent operation?
Language Agnostic
Definition
Idempotent
Recursion or Iteration?
Performance
Algorithm
Language Agnostic
Recursion
Skip List vs. Binary Search Tree
Algorithm
Language Agnostic
Data Structures
Binary Tree
Skip Lists
Why is processing a sorted array slower than an unsorted array?
C#
.Net
Performance
Language Agnostic
When is it right for a constructor to throw an exception?
Exception
Language Agnostic
Constructor
When should I use Debug.Assert()?
Language Agnostic
Exception
Testing
Assertions
Defensive Programming
Match linebreaks - \n or \r\n?
Regex
Language Agnostic
Line Breaks
What is the difference between a map and a dictionary?
Dictionary
Data Structures
Language Agnostic
Key Value
What are "first-class" objects?
Python
Language Agnostic
What does 'foo' really mean?
Language Agnostic
Coding Style
Is there a difference between foreach and map?
Foreach
Language Agnostic
Computer Science
Map Function
What's the best name for a non-mutating "add" method on an immutable collection?
Language Agnostic
Naming Conventions
List
Immutability
Why are floating point numbers inaccurate?
Floating Point
Language Agnostic
Precision
What is the difference between a framework and a library?
Frameworks
Language Agnostic
Libraries
Terminology
What is tail call optimization?
Algorithm
Recursion
Language Agnostic
Tail Recursion
Tail Call-Optimization
Strangest language feature
Language Agnostic
Programming Languages
What is an ORM, how does it work, and how should I use one?
Database
Orm
Language Agnostic
How many parameters are too many?
Parameters
Language Agnostic
IOException: The process cannot access the file 'file path' because it is being used by another process
C#
.Net
Language Agnostic
Ioexception
Can I read the hash portion of the URL on my server-side application (PHP, Ruby, Python, etc.)?
Http
Language Agnostic
Uri Fragment
Design Patterns: Factory vs Factory method vs Abstract Factory
Java
Design Patterns
Language Agnostic
Factory
Factory Method
What is the best regular expression to check if a string is a valid URL?
Regex
Url
Language Agnostic
Can every recursion be converted into iteration?
Language Agnostic
Recursion
Iteration
Are there any legitimate use-cases for "goto" in a language that supports loops and functions?
Language Agnostic
Goto
Bomb dropping algorithm
Algorithm
Language Agnostic
Matrix
What's the difference between an argument and a parameter?
Parameters
Language Agnostic
Arguments
Terminology
Array versus linked-list
Arrays
Data Structures
Linked List
Language Agnostic
Why not use exceptions as regular flow of control?
Exception
Language Agnostic
What should every developer know about databases?
Database
Language Agnostic
Database Design
In-Place Radix Sort
Algorithm
Language Agnostic
Sorting
Radix Sort
In Place
What happens when there's insufficient memory to throw an OutOfMemoryError?
Java
Language Agnostic
What does it mean to "program to an interface"?
Language Agnostic
Oop
Interface
Picking a random element from a set
Java
Algorithm
Language Agnostic
Random
Set
What is opinionated software?
Architecture
Language Agnostic
Terminology
What is an existential type?
Language Agnostic
Types
Type Systems
Existential Type
Is floating point math broken?
Math
Language Agnostic
Floating Point
Floating Accuracy
What is dependency injection?
Design Patterns
Language Agnostic
Dependency Injection
Terminology
Database, Table and Column Naming Conventions?
Database
Database Design
Language Agnostic
Naming Conventions
What's the difference between faking, mocking, and stubbing?
Unit Testing
Mocking
Language Agnostic
Terminology
Definition
Can you explain the concept of streams?
Java
.Net
Stream
Language Agnostic
Iostream
Arguments or parameters?
Language Agnostic
Parameters
Function
Arguments
Terminology
How do I choose a HTTP status code in REST API for "Not Ready Yet, Try Again Later"?
Http
Rest
Language Agnostic
Batch Processing
Http Status-Codes
Understanding "randomness"
Math
Language Agnostic
Random
What's your favorite "programmer" cartoon?
Language Agnostic
The term "Context" in programming?
Language Agnostic
Programming Languages
Terminology
How to efficiently build a tree from a flat structure?
Algorithm
Tree
Language Agnostic
Hierarchical Data
Unique (non-repeating) random numbers in O(1)?
Algorithm
Math
Random
Language Agnostic
Interface vs Base class
Oop
Interface
Language Agnostic
Base Class
Static Typing
What is a lambda (function)?
Lambda
Language Agnostic
Computer Science
Terminology
Theory
What is "loose coupling?" Please provide examples
Oop
Language Agnostic
Loose Coupling
What is eager loading?
Language Agnostic
What is the difference between Type and Class?
Language Agnostic
Class
Programming Languages
Types
Glossary
What are the lesser known but useful data structures?
Language Agnostic
Data Structures
Computer Science
What is a callback function?
Language Agnostic
Callback
Nearest neighbors in high-dimensional data?
Algorithm
Language Agnostic
Search
Machine Learning
Nearest Neighbor
Best general SVN Ignore Pattern?
Svn
Language Agnostic
Version Control
Development Environment
Environment
Why are variables "i" and "j" used for counters?
Variables
Language Agnostic
What is an invariant?
Language Agnostic
Invariants
When should I mock?
Unit Testing
Language Agnostic
Mocking
How do I determine whether my calculation of pi is accurate?
Algorithm
Math
Language Agnostic
Pi
Should a function have only one return statement?
Language Agnostic
Coding Style
How can I find the difference between two angles?
Language Agnostic
Geometry
Angle
What are important languages to learn to understand different approaches and concepts?
Language Agnostic
Programming Languages
How To Create a Flexible Plug-In Architecture?
Plugins
Architecture
Language Agnostic
Plugin Architecture
What is the difference between a deep copy and a shallow copy?
Language Agnostic
Copy
Deep Copy
Shallow Copy
Generate list of all possible permutations of a string
String
Language Agnostic
Cross Platform
What's the shortest code to cause a stack overflow?
Language Agnostic
Code Golf
Difference between Hashing a Password and Encrypting it
Security
Language Agnostic
Encryption
Hash
Passwords
Private vs Protected - Visibility Good-Practice Concern
Oop
Language Agnostic
Coding Style
What is the "Execute Around" idiom?
Java
Language Agnostic
Design Patterns
Idioms
Observer Design Pattern vs "Listeners"
Design Patterns
Language Agnostic
Listener
Observer Pattern
Has anyone actually implemented a Fibonacci-Heap efficiently?
Performance
Algorithm
Language Agnostic
Data Structures
Fibonacci Heap
Build an ASCII chart of the most commonly used words in a given text
Language Agnostic
Code Golf
Inheritance vs. Aggregation
Oop
Inheritance
Language Agnostic
Aggregation
What is "Orthogonality"?
Language Agnostic
Terminology
Lexicon
Learning to write a compiler
Compiler Construction
Language Agnostic
"Parameter" vs "Argument"
Function
Parameters
Language Agnostic
Arguments
Terminology
Code Golf: Lasers
Language Agnostic
Code Golf
Rosetta Stone
Why is NaN not equal to NaN?
Floating Point
Language Agnostic
Nan
Ieee 754
Throwing cats out of windows
Algorithm
Language Agnostic
Dynamic Programming
Asymptotic Complexity
If condition A is matched, condition B needs to be matched in order to do action C
If Statement
Language Agnostic
Conditional Statements
Boolean Logic
Favorite (Clever) Defensive Programming Best Practices
Language Agnostic
What is the opposite of 'parse'?
Parsing
Language Agnostic
Semantics
Naming
Getting parts of a URL (Regex)
Regex
Language Agnostic
Url
What is a good Hash Function?
Algorithm
Language Agnostic
Hash
What is thread contention?
Multithreading
Language Agnostic
How does the Amazon Recommendation feature work?
Algorithm
Language Agnostic
Data Mining
What is boxing and unboxing and what are the trade offs?
Language Agnostic
Boxing
Glossary
Unboxing
Converting RGB to grayscale/intensity
Image Processing
Colors
Computer Vision
Language Agnostic
Rgb
Design Patterns: Abstract Factory vs Factory Method
Design Patterns
Language Agnostic
Uml
Factory Method
Abstract Factory
Data structures for loaded dice?
Algorithm
Language Agnostic
Data Structures
Random
Probability
Generate colors between red and green for a power meter?
Language Agnostic
Graphics
Colors
Interpolation
Asynchronous vs Multithreading - Is there a difference?
Multithreading
Language Agnostic
Asynchronous
What is the difference between the Facade and Adapter Pattern?
Design Patterns
Language Agnostic
Adapter
Facade
What's the difference between passing by reference vs. passing by value?
Language Agnostic
Pass by-Reference
Pass by-Value
What does it mean for a data structure to be "intrusive"?
C++
C
Language Agnostic
Data Structures
Terminology
Does any language have a unary boolean toggle operator?
Language Agnostic
Bitwise Operators
Negation
Modelling an elevator using Object-Oriented Analysis and Design
Oop
Design Patterns
Language Agnostic
Hash Code and Checksum - what's the difference?
Language Agnostic
Hash
Computer Science
Checksum
Why it's not possible to use regex to parse HTML/XML: a formal explanation in layman's terms
Regex
Language Agnostic
Performance optimization strategies of last resort
Performance
Optimization
Language Agnostic
What is difference between monolithic and micro kernel?
Language Agnostic
Terminology
Kernel
Conventions for exceptions or error codes
Language Agnostic
Language Design
Convert light frequency to RGB?
Algorithm
Language Agnostic
Rgb
Formula
Approximation
How do I check if a number is a palindrome?
Algorithm
Language Agnostic
Is a GUID unique 100% of the time?
Language Agnostic
Guid
How to develop and test an app that sends emails (without filling someone's mailbox with test data)?
Language Agnostic
Email
Testing
Smtp
Solving "Who owns the Zebra" programmatically?
Language Agnostic
Logic
Constraint Programming
Zebra Puzzle
Algorithm to generate a crossword
Algorithm
Crossword
Language Agnostic
Under what circumstances are linked lists useful?
Language Agnostic
Data Structures
Linked List
Can hash tables really be O(1)?
Algorithm
Performance
Language Agnostic
Big O
Hashtable
File I/O in Every Programming Language
File Io
Language Agnostic
Programming Languages
What's the point of OOP?
Language Agnostic
Oop
What is a debugger and how can it help me diagnose problems?
Debugging
Language Agnostic
Converting a Uniform Distribution to a Normal Distribution
Algorithm
Language Agnostic
design a stack such that getMinimum( ) should be O(1)
Algorithm
Language Agnostic
Data Structures
Stack
How do you detect Credit card type based on number?
Algorithm
Language Agnostic
E Commerce
Why shouldn't I use "Hungarian Notation"?
Language Agnostic
Naming Conventions
Hungarian Notation
What is the optimal Jewish toenail cutting algorithm?
Algorithm
Language Agnostic
What is a magic number, and why is it bad?
Language Agnostic
Terminology
Magic Numbers
Graph Algorithm To Find All Connections Between Two Arbitrary Vertices
Algorithm
Language Agnostic
Graph Theory
What algorithm gives suggestions in a spell checker?
Algorithm
Language Agnostic
Spell Checking
Levenshtein Distance
Is "IF" expensive?
If Statement
Language Agnostic
Branch Prediction
Is using a lot of static methods a bad thing?
Language Agnostic
Static Methods
TDD vs. Unit testing
Unit Testing
Language Agnostic
Tdd
How Does Modulus Divison Work
Language Agnostic
Math
Modulo
Division
Understanding how recursive functions work
Function
Recursion
Language Agnostic
Difference between parameter and argument
Language Agnostic
Parameters
Arguments
Terminology
What is a trampoline function?
C
Language Agnostic
Programming Languages
Trampolines
The "backspace" escape character '\b': unexpected behavior?
C
Language Agnostic
Printf
Special Characters
Backspace
Enums and Constants. Which to use when?
C#
Language Agnostic
Enums
Are "data races" and "race condition" actually the same thing in context of concurrent programming
Multithreading
Concurrency
Language Agnostic
Data Race
How to convert floats to human-readable fractions?
Algorithm
Language Agnostic
Numbers
Semantic Diff Utilities
Language Agnostic
Diff
Semantics
Why is the knapsack problem pseudo-polynomial?
Language Agnostic
Complexity Theory
Dynamic Programming
Knapsack Problem
How do you know when to use fold-left and when to use fold-right?
Language Agnostic
Functional Programming
Fold
What are greenfield and brownfield applications?
Language Agnostic
Terminology
Why are const parameters not allowed in C#?
C#
Language Agnostic
Language Design
Computed read-only property vs function in Swift
Swift
Methods
Properties
Language Agnostic
Semantics
Calculating a 2D Vector's Cross Product
Language Agnostic
Math
Vector
2d
How should you build your database from source control?
Database
Language Agnostic
Version Control
Algorithm for creating a school timetable
Algorithm
Language Agnostic
Np
How should I do floating point comparison?
Language Agnostic
Comparison
Floating Point
How can I measure the similarity between two images?
Algorithm
Language Agnostic
Image
Image Processing
When, if ever, is loop unrolling still useful?
Performance
Optimization
Language Agnostic
Micro Optimization
Loop Unrolling
What's the difference between a method and a function?
Oop
Language Agnostic
Terminology
Which, and why, do you prefer Exceptions or Return codes?
Language Agnostic
Exception
How are nested capturing groups numbered in regular expressions?
Java
.Net
Regex
Perl
Language Agnostic
Zero-based month numbering
Date
Language Agnostic
Language Design
Programmer Puzzle: Encoding a chess board state throughout a game
Algorithm
Language Agnostic
Puzzle
Chess
What are the advantages of memory-mapped files?
Language Agnostic
Memory
Filesystems
When to use a functional programming language?
Functional Programming
Language Agnostic
What programming practice that you once liked have you since changed your mind about?
Language Agnostic
Should it be "Arrange-Assert-Act-Assert"?
Unit Testing
Language Agnostic
Arrange Act-Assert
An algorithm to space out overlapping rectangles?
Algorithm
User Interface
Language Agnostic
Graphics
What is an NP-complete in computer science?
Algorithm
Language Agnostic
Mathematical Optimization
Theory
Np Complete
When to throw an exception?
Exception
Language Agnostic
What Makes a Good Unit Test?
Unit Testing
Language Agnostic
Tdd
Integration Testing
Testing Strategies
Why does the JVM still not support tail-call optimization?
Java
Language Agnostic
Optimization
Jvm
Tail Call-Optimization
Simple Deadlock Examples
Multithreading
Language Agnostic
Deadlock
What is the difference between currying and partial application?
Language Agnostic
Terminology
Definition
Currying
Partial Application
Upper vs Lower Case
String
Language Agnostic
Uppercase
Am I immoral for using a variable name that differs from its type only by case?
Language Agnostic
Coding Style
Naming Conventions
Variable Names
Code Golf - π day
Language Agnostic
Code Golf
Rosetta Stone
What is a Lambda?
Language Agnostic
Lambda
Computer Science
Terminology
Tool for adding license headers to source files?
Header
Language Agnostic
Buffered vs unbuffered IO
Language Agnostic
Io
Buffering
Why do programming competition contestants use C++ and Java?
Language Agnostic
Best way to format if statement with multiple conditions
If Statement
Formatting
Language Agnostic
An Ideal Keyboard Layout for Programming
Language Agnostic
Keyboard Layout
Dvorak
Qwerty
Why is vectorization, faster in general, than loops?
Performance
Language Agnostic
Vectorization
Simd
Low Level
Expression Versus Statement
Language Agnostic
Expression
Language Features
how to always round up to the next integer
C#
Language Agnostic
Rounding
Does any other language other than JavaScript have a difference between brace start locations (same line and next line)?
Javascript
Language Agnostic
Programming Languages
Language Design
Why should I not wrap every block in "try"-"catch"?
Exception
Language Agnostic
Try Catch
Runtime vs. Compile time
Language Agnostic
Runtime
Compile Time
Where can I learn the basics of writing a lexer?
Language Agnostic
Lexer
Compiler Construction
Does anyone know of a good library for mapping a person's name to his or her gender?
Database
Language Agnostic
Why is base128 not used?
Encoding
Language Agnostic
Binary
Why would you use an assignment in a condition?
Conditional Statements
Language Agnostic
Variable Assignment
What does the word "literal" mean?
C#
Language Agnostic
Terminology
Glossary
Code Golf: Piano
Language Agnostic
Code Golf
Rosetta Stone
Fast rectangle to rectangle intersection
Javascript
C++
Language Agnostic
Graphics
Code Golf: Four is magic
Language Agnostic
Code Golf
Rosetta Stone
Why is Math.pow(0, 0) === 1?
Javascript
C++
Language Agnostic
Pow
Is it a bad practice to have multiple classes in the same file?
File
Class
Oop
Language Agnostic
What exactly is GUID? Why and where I should use it?
Language Agnostic
Guid
What is tail recursion?
Algorithm
Language Agnostic
Functional Programming
Recursion
Tail Recursion
Prefer composition over inheritance?
Language Agnostic
Oop
Inheritance
Composition
Aggregation
Choice of programming language for learning data structures and algorithms
Algorithm
Data Structures
Language Agnostic
When to use unsigned values over signed ones?
Language Agnostic
Types
Code Golf: Collatz Conjecture
Language Agnostic
Code Golf
Rosetta Stone
Collatz
How does differential execution work?
Model View-Controller
Language Agnostic
Differential Execution
What is Map/Reduce?
Language Agnostic
Mapreduce
How much abstraction is too much?
Language Agnostic
Oop
Abstraction
What is the meaning of the term "thread-safe"?
Multithreading
Language Agnostic
Programming Languages
Concurrency
What is "vendoring"?
Language Agnostic
Terminology
Vendor
How do you plan an application's architecture before writing any code?
Language Agnostic
Architecture
Oop
O(N log N) Complexity - Similar to linear?
Language Agnostic
Complexity Theory
Quicksort
Getting the closest string match
Algorithm
Language Agnostic
String Comparison
Levenshtein Distance
How to detect patterns in (electrocardiography) waves?
Algorithm
Language Agnostic
Machine Learning
Signal Processing
Pattern Recognition
Code Golf: Playing Tetris
Language Agnostic
Code Golf
Rosetta Stone
Way to go from recursion to iteration
Recursion
Iteration
Language Agnostic
Computer Science
Theory
Why does cache locality matter for array performance?
Arrays
Language Agnostic
Linked List
Difference between red-black trees and AVL trees
Data Structures
Tree
Language Agnostic
Avl Tree
Red Black-Tree
Anemic Domain Model: Pros/Cons
Language Agnostic
Design Patterns
What is a predicate?
Language Agnostic
Get the application's path
Language Agnostic
Path
How does XOR variable swapping work?
Language Agnostic
Bit Manipulation
Xor
Why is reflection called reflection instead of introspection?
Language Agnostic
Reflection
Algorithm for finding the fewest rectangles to cover a set of rectangles without overlapping
Algorithm
Language Agnostic
Geometry
Rectangles
Shortest distance between a point and a line segment
Language Agnostic
Geometry
Distance
Line Segment
How do you stop interim solutions from lasting forever?
Language Agnostic
How to design extensible software (plugin architecture)?
Language Agnostic
Plugins
Resources
Extensibility
What is the coolest thing you can do in <10 lines of simple code? Help me inspire beginners!
Language Agnostic
Simple way to understand Encapsulation and Abstraction
Oop
Language Agnostic
Encapsulation
Abstraction
What is a programming idiom?
Language Agnostic
Idioms
What are five things you hate about your favorite language?
Programming Languages
Language Agnostic
What is a cache hit and a cache miss? Why would context-switching cause cache miss?
Concurrency
Language Agnostic
Cpu
Cpu Architecture
Cpu Cache
UML relationships - dashed line vs solid line
Language Agnostic
Uml
Relationship
Class Diagram
Smart progress bar ETA computation
Algorithm
User Interface
Language Agnostic
What is the difference between an abstract method and a virtual method?
Oop
Language Agnostic
Abstract
Virtual Functions
What are some algorithms for comparing how similar two strings are?
Algorithm
Language Agnostic
String Comparison
Stdstring
Heuristics
What is stability in sorting algorithms and why is it important?
Algorithm
Sorting
Language Agnostic
Stability
What are sessions? How do they work?
Language Agnostic
Session
Getting started with Version Control System
Git
Svn
Version Control
Language Agnostic
Dvcs
How can I lookup data about a book from its barcode number?
Api
Language Agnostic
Amazon
Barcode
Programmatically Lighten a Color
User Interface
Language Agnostic
Colors
What is Cyclomatic Complexity?
Language Agnostic
Architecture
Cyclomatic Complexity
What's the use of metaprogramming?
Language Agnostic
Code Generation
Metaprogramming
Code Golf: Conway's Game of Life
Language Agnostic
Code Golf
Rosetta Stone
Conways Game-of-Life
Why is quicksort better than mergesort?
Algorithm
Sorting
Language Agnostic
Quicksort
Mergesort
Is "Out Of Memory" A Recoverable Error?
Language Agnostic
Exception
Memory
Memory Management
Error Recovery
What is the difference between signed and unsigned variables?
Language Agnostic
Variables
Unsigned
Given an integer, how do I find the next largest power of two using bit-twiddling?
Language Agnostic
Bit Manipulation
How to merge two files consistently line by line
Language Agnostic
What is the difference between concurrent programming and parallel programming?
Language Agnostic
Parallel Processing
Concurrency
registers vs stacks
Language Agnostic
Vm Implementation
Stack Based
Difference between event handlers and callbacks
Architecture
Callback
Event Handling
Language Agnostic
How do you reproduce bugs that occur sporadically?
Debugging
Language Agnostic
Logging
What is composition as it relates to object oriented design?
Oop
Design Patterns
Language Agnostic
Composition
Why should hash functions use a prime number modulus?
Language Agnostic
Data Structures
Hash
How to detect and debug multi-threading problems?
Multithreading
Debugging
Language Agnostic
How do I distinguish between 'binary' and 'text' files?
Unix
Language Agnostic
Ascii
Binaryfiles
File Format
What is the difference between "image/png" and "image/x-png"?
Language Agnostic
Mime Types
Purity vs Referential transparency
Language Agnostic
Functional Programming
Side Effects
Referential Transparency
Purely Functional
How to explain callbacks in plain english? How are they different from calling one function from another function?
Function
Callback
Language Agnostic
Terminology
Should I test private methods or only public ones?
Unit Testing
Testing
Language Agnostic
What distribution do you get from this broken random shuffle?
Algorithm
Language Agnostic
Math
Random
Shuffle
What is out of bag error in Random Forests?
Language Agnostic
Machine Learning
Classification
Random Forest
Conditional logging with minimal cyclomatic complexity
Language Agnostic
Logging
Coding Style
Cyclomatic Complexity
Is a double really unsuitable for money?
C#
Language Agnostic
Decimal
Currency
Is it OK to use DYLD_LIBRARY_PATH on Mac OS X? And, what's the dynamic library search algorithm with it?
Language Agnostic
Macos
Dynamic Linking
Dll
Monads vs. Arrows
Language Agnostic
Haskell
Functional Programming
Monads
Arrows
Function for creating color wheels
Algorithm
Language Agnostic
Colors
Color Space
Is there an algorithm for color mixing that works like mixing real colors?
Algorithm
Colors
Language Agnostic
Blending
Color Space
How are mutexes implemented?
Language Agnostic
Concurrency
Mutex
What does bitwise XOR (exclusive OR) mean?
Math
Language Agnostic
Bit Manipulation
Operators
Xor
How do you mock a Sealed class?
Unit Testing
Language Agnostic
Tdd
Mocking
Can you explain the Context design pattern?
Design Patterns
Language Agnostic
What USEFUL bitwise operator code tricks should a developer know about?
Language Agnostic
Bit Manipulation
Bit
What is the fastest integer factorization algorithm?
Algorithm
Math
Language Agnostic
Maple
Factorization
Equation for testing if a point is inside a circle
Algorithm
Language Agnostic
Geometry
Can you provide examples of parsing HTML?
Html
Language Agnostic
Html Parsing
What are bitwise shift (bit-shift) operators and how do they work?
Language Agnostic
Bit Manipulation
Operators
Bit Shift
Binary Operators
What's your most controversial programming opinion?
Language Agnostic
Singletons: good design or a crutch?
Language Agnostic
Design Patterns
Singleton
Generate all unique substrings for given string
Algorithm
Language Agnostic
Which coding style you use for ternary operator?
Php
Language Agnostic
Coding Style
Ternary Operator
Training a Neural Network with Reinforcement learning
Algorithm
Language Agnostic
Machine Learning
Neural Network
Reinforcement Learning
Peak signal detection in realtime timeseries data
Algorithm
Language Agnostic
Time Series
Signal Processing
Data Analysis
When have you come upon the halting problem in the field?
Language Agnostic
Field
Theory
Turing Machines
Halting Problem
How do you cope with coders coma?
Language Agnostic
Algorithm to calculate number of intersecting discs
Algorithm
Language Agnostic
Pseudorandom Number Generator - Exponential Distribution
Algorithm
Language Agnostic
Random
Exponential Distribution
Why use inheritance at all?
Java
Oop
Language Agnostic
Inheritance
Composition
Find the row representing the smallest integer in row wise sorted matrix
Arrays
Algorithm
Language Agnostic
Matrix
What does a double colon followed by an equals sign (::=) mean in programming documentation?
Language Agnostic
Symbols
Factorial Algorithms in different languages
Algorithm
Language Agnostic
How to determine what log level to use?
Language Agnostic
Logging
Verbosity
What is name mangling, and how does it work?
Language Agnostic
Name Mangling
What's the difference between application layer and business logic layer?
Language Agnostic
Architecture
What is the fastest way to get the value of π?
Performance
Algorithm
Language Agnostic
Unix
Pi
Algorithm to find articles with similar text
String
Algorithm
Text
Language Agnostic
Similarity
How to round floats to integers while preserving their sum?
Algorithm
Language Agnostic
Rounding
Code Golf: New Year's Fireworks
Language Agnostic
How are text editors generally implemented?
User Interface
Language Agnostic
String
Text Editor
Achieving polymorphism in functional programming
Oop
Language Agnostic
Prototype
Functional Programming
Polymorphism
Determine Whether Two Date Ranges Overlap
Datetime
Math
Language Agnostic
What are the core mathematical concepts a good developer should know?
Algorithm
Math
Language Agnostic
Do fluent interfaces violate the Law of Demeter?
Language Agnostic
Oop
Api Design
Any Real-World Experience Using Software Transactional Memory?
Scala
Haskell
Clojure
Language Agnostic
Stm
Why the switch statement and not if-else?
If Statement
Language Agnostic
Switch Statement
Why should recursion be preferred over iteration?
Performance
Language Agnostic
Recursion
Iteration
How can I print out all possible letter combinations a given phone number can represent?
Algorithm
Language Agnostic
Combinatorics
What is the cause of "This application has requested the Runtime to terminate it in an unusual way"?
Windows
Language Agnostic
Msvcrt
What is a language binding?
Language Agnostic
Glossary
Language Binding
Try to describe polymorphism as easy as you can
Language Agnostic
Oop
Polymorphism
Code Golf: Playing Cubes
Language Agnostic
Code Golf
Rosetta Stone
How to find two most distant points?
Algorithm
Language Agnostic
Geometry
Difference between pre-increment and post-increment in a loop?
For Loop
Language Agnostic
Post Increment
Pre Increment
Compiler vs Interpreter vs Transpiler
Compiler Construction
Language Agnostic
Terminology
Interpreter
Transpiler
What is the difference between introspection and reflection?
Reflection
Language Agnostic
Introspection
Acronyms in CamelCase
Language Agnostic
Coding Style
Camelcasing
Acronym
Peak detection of measured signal
Algorithm
Language Agnostic
Print two-dimensional array in spiral order
Arrays
Algorithm
Language Agnostic
Math
What should NOT be under source control?
Language Agnostic
Version Control
what is natural ordering when we talk about sorting?
Sorting
Language Agnostic
Best ways to teach a beginner to program?
Python
Language Agnostic
What is ADT? (Abstract Data Type)
Language Agnostic
Terminology
Abstract Data-Type
How do language bindings work?
Language Agnostic
Binding
What is Type-safe?
Language Agnostic
Programming Languages
Computer Science
Terminology
Type Safety