Linked Questions

608 votes
19 answers
161k views

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
140 votes
8 answers
9k views

... or are they unnecessary in such a high-level language? I've been thinking about programming style, coding standards and the like quite a bit lately, the result of my current work on a mixed .Net/...
Verbeia's user avatar
  • 34.5k
38 votes
8 answers
4k views

Insert $+$, $-$, $\times$, $/$, $($, $)$ into $123456789$ to make it equal to $100$. Looks like a question for pupils, right? In fact, if the available math symbols are limited to addition ($+$), ...
xzczd's user avatar
  • 71.6k
65 votes
2 answers
11k views

Boggle is a word game played with 16 dice and a 4x4 tray. This question is inspired by a Stack Overflow question about Boggle that I decided to solve using Mathematica. In addition to Mathematica, I ...
Pillsy's user avatar
  • 18.8k
29 votes
8 answers
2k views

I am looking into splitting words into a succession of chemical elements symbols, where possible. For example: Titanic = Ti Ta Ni C (titanium, tantalum, nickel, carbon) A word may or may not be ...
F'x's user avatar
  • 10.9k
18 votes
6 answers
2k views

Given a string of alphanumerical characters, how to split it simply and quickly at the center of continuous letter-substrings? Is there an elegant and fast solutions out there in the "computational ...
István Zachar's user avatar
20 votes
3 answers
12k views

As one learns from a course on data structures, hash maps or dictionaries can be efficient when applied to appropriate tasks. I need a hash map in Mathematica and I've never found it. I'm scratching ...
Jonathan Prieto-Cubides's user avatar
13 votes
5 answers
1k views

Given a list of word characters, such as this one, I'd like to build a tree, similar to this makeTree function, but with the tree in a different format. So, for an input such as ...
Rojo's user avatar
  • 43.1k
17 votes
3 answers
1k views

How do I plot the content of a directory and all its subdirectories into infinity using TreeForm? I've tried using a mix of ...
C. E.'s user avatar
  • 71.7k
16 votes
3 answers
2k views

Given a directed acyclic graph, there is always a possibility to plot the graph as layers, where nodes always send edges into one direction (usually down), to successive layers, and never backwards. ...
István Zachar's user avatar
11 votes
4 answers
688 views

Is there any shorter / more handy / more flexible way to get directory tree as a nested Rules/Associations list? I tried to incorporate ...
Kuba's user avatar
  • 139k
10 votes
2 answers
635 views

Exploring methods to index and search tree-structured key:value pairs via named-entity index (key paths) as opposed to Position-based indexing. Using Rule as ...
alancalvitti's user avatar
  • 15.3k
15 votes
1 answer
2k views

As a C programmer, I have used Mathematica for a month. In this process, I discovered that some problems cannot be solved via the built-ins, owing to lacking of data structure like ...
mma's user avatar
  • 317
6 votes
4 answers
540 views

Given a list of values such as vals = {{{{0., 633.25}, {642.96, 677.34}}, {{591.56, 632.45}, {634.9, 715.6}}}} and a list of "Dimensions" such as ...
Carl Lange's user avatar
  • 13.3k
7 votes
5 answers
377 views

I have a list of folders and files in my current working directory as a result of a built-in function FileNames: FileNames["*", "", Infinity]]. ...
floyd17's user avatar
  • 121

15 30 50 per page