Problem Detail: Assume that we have a data structure which uses $O(log n)$ space to store an integer $n$ and has a function $f$ which replaces the integer $n$ stored by $2^n$, i.e. $n=2^n$. The time complexity of $f$ is $O(n_{_{old}})$ Read More …
Category: Uncategorized
[Solved]: Conceptual question about entropy and information
Problem Detail: Shannon’s entropy measures the information content by means of probability. Is it the information content or the information that increases or decreases with entropy? Increase in entropy means that we are more uncertain about what will happen next. What Read More …
[Solved]: Longest cycle in a digraph
Problem Detail: Given a directed graph $G$, we want a (simple) cycle in $G$ of maximal length. The cycle does not need to be an induced subgraph of $G$. What is known about this optimization problem? Do we know its complexity? Read More …
[Solved]: Heap-like data structure allowing peek at largest & smallest
Problem Detail: For the purpose of implementing an optimization algorithm (finding the minimum of a multivariate function) I want to create a data structure that supports the following operations: load from array Peek at maximum element (but don’t destroy it) Peek Read More …
[Solved]: The Hindley-Milner type system plus polymorphic recursion is undecidable or semidecidable?
Problem Detail: I have often read that Hindley-Milner extended to allow polymorphic recursion is undecidable. However is the term used what is actually meant? Or do people actually mean semidecidable when they mention that? I ask this before I’ve recently found Read More …
[Solved]: Algorithm to check the distance between integers
Problem Detail: I have the next problem, and I was wondering whether it exists a way to solve it without having to iterate around all the array in the worst case. I have a sorted array of pairwise distinct integers, say Read More …
[Solved]: Can we do better than $O(nlog n)$ building a balanced binary tree?
Problem Detail: I’m (foolishly it turns out) confident that the answer to this question is no. So why am I asking? Because Dr. Aleksandar Prokopec at EPFL in his parallel programming course introduces a data-structure for which he asserts various properties. Read More …
[Solved]: Does location transparency imply access transparency?
Problem Detail: In distributed systems theory, I have found the definition that a distributed system requires, among others, location and access transparency. I was wondering if location transparency does not already include access transparency. Wikipedia defines the two as follows: Access Read More …
[Solved]: Find the minimum range
Problem Detail: Given a list of numbers as L, how do you find the minimum value m such that L can be made into a strictly ascending list by adding or subtracting values from [0,m] from each element of L except Read More …
[Solved]: Can we understand SVM without knowledge of Machine Learning
Problem Detail: I was told by my adviser (future one) to look into libsvm library or any other and try to get familiar with it.. to work on a programming project (on Machine Learning) (will start in a month). my background: Read More …