Top new questions this week:
|
I was searching for a implementation of a Linked List with the same power as a native List.
I wanted functionality closer to a List. The System.Collections.Generic.LinkedList misses some methods I'm ...
|
I am currently using an implementation of the A* algorithm described here.
Currently, when I run my algorithm, my IDE lags horribly and the .exe generated also lags terribly. Using the CPU analyzer, ...
|
A solution for the August 2016 Community Challenge (Rainfall).
I've intentionally left out error checking on the file formatting.
This seems like a very obvious graph problem to me - we want to ...
|
In this program, I have to check the range of a given age and then print a message as per the age. I want to optimize the if else logic.
/* Sample code to read in test cases:*/
import java.io.*;
...
|
I've recently started working on making my own programming language and I just wrapped up its lexer. I'm too young to take any official training in C, compiler construction, or computer science so I'm ...
|
I just implement Dijkstra's algorithm in C99. Can you review my code please? I'm looking for any mistake, performance improvement or coding style errors.
main.c
#include "src/map.h"
#include ...
|
Randal Schwartz stole LISP's decorate-sort-undecorate idiom when he came up with what we'd later call the Schwartzian Transform. With all of my LISP knowledge disappeared through nine half lives, but ...
|
Greatest hits from previous weeks:
|
Is it possible to create dynamic TR and TD elements in an HTML table? Something similar but better than this:
jQuery(document).ready(function() {
$('button[name="new-title"]').on('click', ...
|
I was recently given a coding test to complete for a potential client. It was a FizzBuzz-type of thing with a two-hour time limit. I had a request to write basic FizzBuzz, then add a special case, ...
|
Can you answer these?
|
I am fairly new to AngularJS and I am trying to improve my knowledge of this JavaScript Framework by building small real-world web-apps.
In this case, I have built a currency converter app with ...
|
I implemented Kosaraju's algorithm on a graph with 800k vertices and 5100k edges.
The time taken by various operations are:
building graph took 11.84 seconds
ordering took 2.54 seconds
...
|
I'm writing a sub-routine in AppleScript to get text from a file and insert that text in a list of lists forming a dictionary.
Text File:
a:b
c:d
e:f
Expected list:
{{"a", "b"}, {"c", "d"}, ...
|