instruction
stringlengths
35
29.1k
How can I prove that the language $L=\{110^n 10^{n-m} 1^m \mid 1 \le m < n \}$ is not regular using pumping lemma? I chose the word $w = 110^{2p} 10^{2p-q} 1^q$ to prove the non-regularity. Then I started partitioning the word to $xyz$ with $|y| \ge 1$, $|xy| \le p$ and for each $i\ge 0$, $xy^iz$: \begin{align*} x &=...
I want to know some stuff about translating compound statements to english: For the propositions below: p: You have the flu. q: You miss the final examination. r: You pass the course. I want to know how to translate the following compound proposition to english: 1). p or q or r. I tried something like this: You have ...
I am unsure whether I got the notion behind the pumping length correctly. I know its definition, and just want to make sure that I understood everything correctly. Suppose we have an automata that accepts $0^{*}1^{*}$. The longest word accepted is $01$ without an iteration, whose length is $2$. So $n=2$, am I correct? ...
The book "Cracking the Coding Interview , 6th ed." describes the following method to sum the values of all nodes in a balanced binary search tree, and also claims that this method runs in O(n) time. int sum(Node node) { if (node == null) { return 0; } return sum(node.left) + node.value + sum(node.ri...
I am mostly using Modelica, an equation-based simulator. I assume that block-based simulators like Simulink have their strengths and are better at some tasks, but I am wondering what those are. It seems like everything a block based simulator can do, an equation-based simulator can do nearly as well or better. For exam...
I know that variables can be categorized in two ways:- The first way is to classify them into global and local variables based on their scope. When the variable is accessible by all the functions of an instance of a class then it is known as a global variable and when it is accessible only within a block of code in an ...
How Turing machine can loop forever when input length is always finite? I think this is a basic doubt but unable to understand how TM go into infinite loop? I think it can make transition forever on empty string. What are the other cases? Can it make without any empty alphabet ?
I am reading Exploring Robotic Minds by Prof. Jun Tani, and came across the term subrecursive. Original context: Another possibility might be to assume subrecursive functions embedded in analogical processes rather than logical operations in FLB that can mimic recurssive operations for finite levels. FLB is Noam Chom...
I'm working with a problem that is similar to the box stacking problem that can be solved with a dynamic programming algorithm. I read posts here on SO about it but I have a difficult time understanding the DP approach, and would like some explanation as to how it works. Here's the problem at hand: Given $X$ objects, ...
While creating a client for a web API in C#, I ran into a problem regarding null as a value where it would represent two different things: nothing, e.g. a foo may or may not have a bar unknown: by default the API response only includes a subset of properties, you have to indicate which additional properties you want. ...
Wikipedia lists the time complexity of addition as $n$, where $n$ is the number of bits. Is this a rigid theoretical lower bound? Or is this just the complexity of the current fastest known algorithm. I want to know, because the complexity of addition, underscores all other arithmetic operations and all algorithms whi...
Why an ARM processor with 32 bits address bus can address 4 billion different bytes? I know that $2^{32}$ is equal to about 4 billions, but shouldn't it be 4 billion bits and not bytes? Hence if I want to find how many different words it can address it should be $\frac{2^{32}}{8}$ so I will have the number of bytes, a...
Bron-Kerbosch is an algorithm to find maximal cliques in a undirected graph. In pseudocode it's the following (taken from wikipedia): BronKerbosch1(R, P, X): if P and X are both empty: report R as a maximal clique for each vertex v in P: BronKerbosch1(R ⋃ {v}, P ⋂ N(v), X ⋂ N(v)) P := P \ {v}...
I have 100 football (soccer) players, each with an "expected score" (higher is better) and price (e.g. 4300 dollars). I want to select the optimal combination of players with the highest combined score (i.e. a fantasy football formation) within a $50,000 budget, where a lineup must consist of the following formation: ...
I was searching for OpenMP tutorials and I came up a video that showed some simple equations that promotes multiple core hierarchies against single core ones. The equations used are Capacitance = Ability to store energy C=q/V ⇒ q=CV Work = Moving charge across voltage W=Vq ⇒ W=CV^2 Power = Work over a period of tim...
Do nonuniform complexity classes like NP/poly have complete problems? Are there relativization barriers for separations of nonuniform complexity classes? One way to interpret the second question is by asking whether there are computable languages A and B with (P/poly)^A = (NP/poly)^A and (P/poly)^B != (NP/poly)^B). Ass...
Given a string, is it possible to determine which hashing algorithm has produced it, if any? For example, the MD5 hash of "string" is b45cffe084dd3d20d928bee85e7b0f21. Is it possible to determine whether the above hash is: 1) Indeed a genuine hash in some hashing algorithm, as opposed to a string of characters that is...
I know how to convert any Left Linear Grammar (LLG) to Right Linear Grammar (RLG) and vice versa. This can be done as follows: Reverse "LLG for L" to get "RLG for LR" by changing A → Ba to A → aB Convert "RLG for LR" directly to "FA for LR" Reverse "FA for LR" to get "FA for L" by Change starting state to final st...
I wonder how to check availability property from CAP theorem. Consistency check is conceptually easy: if at least once somehow same query at the same time returns different results, then the system may be considered inconsistent (or under some circumstances eventually consistent). But what about availability? If it tak...
In the context of rewriting systems, how does strong normalization differ from weak normalization?
I've been looking into AI research and I've noticed a nontrivial amount of individuals either received a PhD in math or had advisors who received a PhD in math. Some names include (Ben Goertzel, Marvin Minsky, Jürgen Schmidhuber). I can see how a formal (arguably more difficult) training in math would help tackle issue...
Suppose I have a relation R How many tuples are returned by SQL query SELECT distinct manager FROM R Is it $2$ or $4$ ?
I’m a high school senior who's gone through quite the self-introspection the past few months while applying for college, and I have a bit of a dilemma. All my life, I've loved & excelled at mathematics, and wants to study & explore it very much in depth in college. I get very excited when I read up on fields such as nu...
There are $\log n$ sublists each of size $\frac{n}{\log n}$. Write a recurrence relation for merging these lists into an $n$ element list. My Approach Let $m = \log n$. Then, $T(m) = 2T(m/2) + O(n)$, where $O(n)$ is for merge algorithm. We get $T(m) = 2T(m/2) + O(2^{m})$. Now solving we get $T(m) = O(n)$. But intuiti...
Why is the word "calculus" used in this context? The reason I ask is because these usages of "calculus" seem unrelated to the far more popular use of "calculus" in "differential calculus" and "integral calculus" to which something like λ-calculus seems only very distantly related. This word choice seems very misleading...
One of the main benefits of algorithm analysis, is that it offers asymptotic improvements to complexity as opposed to hardware, which offers only constant improvements. E.g switching to a super computer from a workstation might give a $\times 1,000,000$ increase in speed, but if that supercomputer is running a linear s...
Given an array of $N$ integers, having the option to increase or decrease its elements, the problem is to find the closest integer arithmetic progression. That corresponds to the smallest difference between the elements of the array and the elements of progression. Thus one needs to minimize the sum of absolute differe...
I have $m$ points $D = \{x_1, \dots, x_m\}$ with $x_i \in \mathbb{R}^n$. After some preprocessing / building up data structures for those points, I get $T$ queries $y_i \in \mathbb{R}^n$ with $i=1, \dots, T$. Each query comes at a time and independently. The datastructures for the queries should not be modified by the ...
I wanna ask about Adaptive Neuro Fuzzy Inference System (ANFIS) method. I used clustering to find fuzzy rules and used the mean and deviation standard of each cluster for initialization of the first premise parameters (c and a) of membership function. c is from the mean, and a is from the deviation standard Now, my pro...
Given an even $N$, is it possible to procedurally construct a 3-regular graph $G$ with $N$ vertices such that the maximum distance between any pair of vertexes is the minimum possible for that $N$? I know that a cube, for example, is the solution for $N = 8$, but what about other N's?
Suppose I want to draw a NFA that doesn't accept a language containing $aba$. Would this work:
According to this German Wikipedia article, the time required to merge relations $R$ and $S$ is $\in \mathcal{O}(|R| + |S|)$ if both relations are already sorted. [Note: You don't really need to read the text and the link jumps right to where the time complexity is stated. But I added a translation of that section to ...
A cellular automaton consists of a sequence of cells, each with a state, and a globally symmetric transition rule based on the neighbors of a cell. They can be interpreted as graphs where each cell is a node, and each node has an edge to a neighbor. Is there any field studying that system, but generalized to arbitrary ...
I am in trouble , I searched a lot about how to solve this kind of questions but I did not get any answers. I understand how can I know when the sentences is valid and Unsatisfiable in propositional logic, but in FOL I can't. Can someone help me how can I solve this kind of questions? Because it comes always in the p...
Suppose that we read a sequence of $n$ numbers, one by one. How to find $k$'th smallest element just with using $O(k)$ cell memory and in linear time ($O(n)$). I think we should save first $k$ terms of sequence and when get the $k+1$'th term, delete a term which we sure that it cannot be the $k$'th smallest element and...
I'm found this claim in something I was reading and I'm having trouble working out the logic. Can someone help me out?
I have an exam and in preparation I found this language. We are supposed to determine where in Chomsky hierarchy it stands. The language is $L=\{a^ib^jc^k : i\leq j\leq k\}$. I can easily build a linear turing machine, that would delete a, b and c for each a and then b and c for each b and if the only thing left, will ...
I decided to try my hand at solving the knapsack problem. My idea involved generating $i$ tables, where $i: 1 \le i \lt n$, and each cell of an $i$ table contains one of the possible sums of the objects to fit into the knapsack. The $i$ tables will then be sorted. Then for each of the $k$ numbers to be tested, I'll ru...
According to https://www.tensorflow.org/tutorials/word2vec/, the standard approach for predicting the next word in a word sequence is maximum likelihood. The predicted next word is the word that maximizes $$P(w_t|h)=\frac{\exp(\text{score}(w_t,h))}{\sum_{w'}\exp(\text{score}(w',h))}.$$ To me, it seems that the word pre...
I was hoping someone would be able to help me with this question. The Maximum Independent Set search problem is, given an undirected graph G, to output an independent set in G of maximum size. Give a polynomial time algorithm for the Maximum Independent Set search problem which can use an oracle that solves instances o...
Is the Minimum Steiner Tree problem $NP$-hard even on (2D, unweighted) grid graph ? A proof (for either case) will be very appreciated.
I am scanning Wikipedia's DB and retrieving topics (page names, mostly) and their relationships. I want to use it later to create a visual map. A topic table stores the id and the label of each topic. A relationship table has an id, a weight, and the two ids of both topics it references. There are usually two rows in t...
The city council would like to place trash bins around the city and has a list of suitable spots (street crossroads, supermarkets etc.) but the number of these spots is greater than the number of available bins. The council's goal is to place the limited number of bins so that the distance from each house to a bin is ...
So if we have a problem in NP, does that mean that we can create, by definition, a NDTM that always accepts or rejects in polynomial time? The alternative I'm thinking of would be if the NDTM could only be guaranteed to accept in polynomial time. Rejecting could take longer or forever.
We have been reading about algorithms for MST, strong-connectivity, routing, etc. in directed graphs. Also recently people have been doing research for dynamic and fault tolerant algorithms for directed graphs. But I was wondering if there are any practical applications where the underlining graph network is "Directed"...
Is there a way to use median-of-medians to find a median in, simultaneously, ​ ​O(log n) ​ ​memory and O(n) comparisons? The user orlp on this site seems to claim that there is. Getting ​ ​O(log n) ​ ​auxiliary memory seems to be straightforward, but I have no clue how that can be improved to O(log n) memory.
A per, from my understanding, instruction decode is a subcycle of Instruction fetch. Now say I have a three-word instruction to be fetched from memory(1 word opcode and remaining words operand address). My doubt here is: will fetch cycle makes one memory reference and remaining instruction will be fetched in ID stage o...
In resolution if we have a set S composed of three clause C1, C2 and C3 and we want to proof that C4 is derivable from S using refutation: suppose we've resolved C1 and C2 to C5, can we resolve C1 with C5 or C3 or C4 or C2 cause even it has been resolved? and if we want to conceive an algorithm for that do we have to d...
I have to design PDA accepting language: set of strings over ∑ {a, b} starting and ending with the same symbol. From that moment i think good way is to remember only first element because the last one should be the same, but how make push and pop properly to achieve the final state.
Please bear with my unhelpful typesetting. My question is regarding well known FLP paper Impossibility of Distributed Consensus with One Faulty Process by Fischer, Lynch and Patterson While discussing Lemma 3, in 4th paragraph, authors make an assumption I am unable to understand. The assumptions are - 1) There exist...
In the context of formal grammars, is there a standard terminology to distinguish words (i.e., finite sequences of letters/tokens) which only contain terminal letters/tokens, and words which may contain nonterminals? I prefer to use the term "word", unqualified, to refer to the former, because I am discussing various...
A little context. First of all gather index in my case contains position to sorted an array. For example for an array array = [3, 2, 0, 1] gather index will be gather_index = [2, 3, 1, 0] the following operation will produce sorted array sorted_array[i] = array[gather_index[i]] I need to do a sort by all pairs of ...
A cache-aware sorting algorithm sorts an array of size $ 2^{k} $ with each key of size 4 bytes. The size of the cache memory is 128 bytes and algorithm is the combinations of merge sort and insertion sort to exploit the locality of reference for the cache memory (i.e. will use insertion sort when problem size equals c...
I have recently implemented Dijkstra's Algorithm to the shortest path between all pairs of nodes in the graph. I have implemented this code in Java. As instructed I am using a linked list to represent the adjacency matrix. As instructed, I am running my algorithm for a complete graph. The running time for a 1000 node c...
I've seen this question in a past exam paper, and I know that the answer given is (b), but I'm not sure why. Which one of the following hash functions on integers will distribute keys most uniformly over 10 buckets numbered 0 to 9 for i ranging from 0 to 2020? (a) h(i) = i2 mod 10 (b) h(i) = i3 mod 10 (c) h(i) = (...
Given a string $S$ of length $n$, and a number $k$, count the number of substrings (regardless of their length) that contain exactly $k$ different characters. The obvious solution takes $O(n^2)$ time (fix substring start point, and move its end point while keeping track of the set of seen characters). Is there a way to...
Consider the following algorithm that computes the sum of two integers (toy example): INPUT: Integers (a,b) 1. Toss a coin c 2. If c = 0, then loop forever 3. If c = 1, then compute and output a+b What is the running time of this algorithm? The "strict" running time (defined as a strict upper bound on the running ...
I've read a few papers (searched by Google Scholar) about $(2+p)$-SAT, but they're all quite old (2001 and earlier). Do newer publications exist? I'm looking for solvers, theorems and so on. I want to examine this topic thoroughly.
I am very well-aware of how optimal substructure for pairwise global sequence alignment using the Needleman-Wunsch algorithm works. However, I have merely seen hand-waving explanations for the optimal substructure property for sequence alignment using a general/arbitrary gap penalty function (I realize that concave pen...
Let's assume we have an arbitrary language $L'$ and let's define the language $L = \{1^n | \text{The number of strings in } L' \text{ of length } n \text{ is odd }\}$. Is $L\in PSPACE^{L'}$? I tried saying that I can define a determinstic machine that holds a counter and that goes over all possible strings of length $n...
I am working on edge detectors: Canny, Sobel, Prewitt, and Roberts. These edge detectors work with conventional kernels to compute the edge. The kernel values are multiplied with the pixel values of an image, and then we compute an average value. Suppose my average pixel value is 12, while the old value (of the origina...
I am working on a simulated annealing algorithm for graph coloring. The model I follow is the following: http://riad.pk.edu.pl/~zk/pubs/PPAM07_2.pdf. I have troubles understanding the cooling schedule and more particularly, the part with the variable M. In my understanding M represents the number of iterations after wh...
It comes from big data perspective. Basically, many frameworks (like Apache Spark) "compensate" lack of relational operations by providing Functor/Monad-like interfaces and there is a similar movement towards cats-to-SQL conversions (Slick in Scala). For instance, we need natural join (assuming no repetitions on indexe...
I am fine-tuning the inception-v3 network(pretrained on ILSVRC) of tensorflow in a binary classification problem. I want to recognize if an image contains food or not. My dataset is imbalanced, the non-food class contains 5 times more images than the food class. I read that in an imbalanced dataset, I should train the ...
The real-world problem I'm trying to solve is to create an algorithm which finds the ideal channels where I can transmit radio traffic, inside a radio frequency band that could contain various disturbances. These n ideal channels are those who are furthest away from any of the disturbances, but also the furthest away f...
I'm given the following language: L = {w∈{0,1}* | w ends in 010 and contains 011} The task is to find a regular expression R that describes this language and prove L = L(R). I have found the regular expression : ^([011])[01]*010$. But have no idea how to prove L=L(R)?
I have gone through this particular problem in hackerrank. You are given an array of $n$ integers, $a_0, a_1, a_2 , \ldots, a_n$, and a positive integer $k$. Find and print the number of pairs $(i, j)$ such that $i < j$ and $a_i + a_j$ is evenly divisible by $k$. I wanted to make this work in $O(n)$ time. After lots...
While doing some bibliography on term-rewriting, I often found these two properties to define a term rewrite rule (see for example here and this one): A term rewrite rule is a pair $\langle l,r\rangle$ of terms, written $l \rightarrow r$, such that 1) $l$ is not a variable 2) all variables in $r$ occur also in $l$. I...
For the purposes of this question, please forget about computers being unable to perform as expected due to excess workloads, exceeded capacities, or general bad hardware/devious software (e.g. a calculator programmed . I'm only concerned with a perfectly "healthy" computer's not what was expected of it. What are some ...
I have been studying compilers for a while, and I have been searching what's meant by "context" in grammar and what it means for grammar to be "context-free", but with no result. So can anyone help with this ?
I am stuck with the following task: Show that the Decision Problem "Vertex Cover" is polynomial-time reducible to the Decision Problem "Binary Integer programming". I have the feeling that there must be a very easy way. My approach until now: We can convert any decision problem to an optimization problem in polynomial...
Given this algorithm: int foo(int num) { if (num == 0){ return 0; } else { return 1 + foo(num/10); } } Me and my friend are debating how you should treat "N" as the size of the input. If I'm considering N to be the number of digits: then my analysis will say O(n) However, if I'm considering...
I honestly haven't an idea how to proof that eventhough I can understand the background, could someone help me?
How do you search related works for your papers? To be concrete I have implemented few techniques of indirect call promotion for pure C and want to share my results. But at first I want to understand if there are some existing papers about it. I searched with Google, Google shcolar, citeseerx, microsoft academic search...
Let's us the following definition: Tu·ring test noun A test for intelligence in a computer, requiring that a human being should be unable to distinguish the machine from another human being by using the replies to questions put to both. Also observe from Wikipedia: The Turing test is a test, developed by Alan Turing...
Expert systems seem to have been left at the wayside a little bit in the 21st century. In fact, expert-systems was not even a tag on this site (until I just created it). The traditional focus in expert systems has been on rule based systems and logical resolution via, for example, 2-SAT backward chaining. Have there be...
Trying to learn more about compression techniques and found something in the wikipedia article on arithmetic coding that I'm not sure I fully grok. In describing how Huffman Coding can sometimes be inefficient, the author refers to an 'optimal compression ratio' that seems to be a function of the probabilities of a giv...
In the article http://floating-point-gui.de/errors/comparison/, a method for comparing floating-point numbers is suggested: There is an alternative to heaping conceptual complexity onto such an apparently simple task: instead of comparing a and b as real numbers, we can think about them as discrete steps and define th...
I have found in a book the example of how to make a FA that accepts those numbers that are divisible by 3, that means that n mod 3=0. In the example the author used the binary representation of the number to be evaluated. The resulting automata is: The states represent the probable remainders, that could be 0, 1 or 2....
I have a question about the logic circuit performing the division ( http://userpages.umbc.edu/~squire/cs313_l20.html ). I implemented it to some software but does not work. I drew the schematic circuit blocks of four CAS (2x2). Drawn circuit implements the division number of 3-bits by the number of 2-bits. I'm interest...
Here you can find the following lemma with its proof. Lemma: In a network with unit edge capacities, Dinitz algorithm terminates after $O(\sqrt{m})$ blocking flow computations. Proof: Consider the layered network after $\sqrt{m}$ iterations. It has at most m edges. The average number of edges between any two layers is ...
If, for example, there is a problem B which have exponential time verifier - a verifier that verify on exponential time - Does it 100% means that B decidable? On one hand I thought - If there is a verifier - why can't I just decide for each input - using the verifier? On the other hand - from what I know - if it doesn'...
I'm designing an in-place sorting algorithm to sort a collection of size $n$. Near the end of the sorting, it may end up with with $\log{n}$ sorted sub-sequences of size $\frac{n}{\log{n}}$. At this point, I use a very simple $k$-way merge algorithm that merges the sub-sequences pairwise until everything has been merge...
I'm learning natural language processing and I can't understand the difference between Shift-Reduce parser and LR parser. As I've understood from Wikipedia, shift-reduce is just a name of a class of parsing algorithms which includes LR, LALR, SLR and other. But some articles describe algorithm of shift-reduce parsing ...
Given the following definition of binary search tree: $$\text{size}(t)=\cases{0\qquad\qquad\qquad\qquad\qquad\qquad t=\text{ null}\\ 1+\text{size(t.left)+size(t.right)}\qquad\text{otherwise}}$$ for each vertex in the tree t.size contain the size of it's subtree Write an algorithm selection(T,i) that gets a Tree with ...
I am trying to find out from this visualization how does the AVL trees work. But I am not able to find out how is the algorithm choosing which vertex is the right one to use as "partial root". The simple rotation is actually very simple, but when it comes to the double rotation it is much worse. There are some tricks...
Is there a technical term for a pair $(u,v)$ of algorithms, such that $u$ and $v$ have an identical output for each input (I include the option if not halting as a possible output), but they have different complexity (either time or space) as a function of their input? An example of such a pair is (bubble sort, quickso...
I'm trying to be ahead of the game by studying some Theory of Computation concepts before class starts at the end of this month. There's this question I came across that I don't understand below. Let L be the language defined by the regular expression: (c U ab U b)*bb(c U ab) (U = union) A. Write 10 distinct string...
How can I prove this language is regular using just closures and homomorphism? $$ L = \{a_1b_1a_2b_2\dotsm a_nb_n \mid a_i \in L_1 , b_i \in L_2\} $$ and we know $L_1$ and $L_2$ are regular.
I'm given a B-tree where the delete-operation is not implemented, but instead keys are deleted using tombstones (so they stay in the tree, but are marked as deleted). Now when at least 90% of all keys are tombstones and there are less than 400 active (so non-deleted) keys, the B-tree is completely replaced by a new one...
I'm relatively new to type theory and dependent programming. I've been studying the calculus of constructions (CoC) and other pure type systems. I'm particularly interested in using it as a proof-preserving intermediate representation for a compiler system. I understand that (co-)recursive types are representable, comp...
It is my understanding that quantum computers have gained interest, because some interesting problems are suspected to be in the BQP-class, but not in the P-class (integer factorization, ...). Quantum computers would then be able to solve these problems efficiently, while classical computers are not. However, I'm wonde...
I have the following question. Is the SAT solvers are deterministic? I mean, for example, about miniSAT and DPLL algorithm. Are they completely deterministic? If these algorithms will return unSAT it means that certainly the solution does not exist?
Are there any known algorithms for formulated problems that require a SPACE complexity of O(sqrt(N))? I know that algorithms with that big-O time complexity exist.
I'm looking for the most efficient spatial-indexing data-structure for storing and querying bounding boxes which contain individual points. The points represent 2D coordinates on a grid, while the bounding boxes represent regions of the grid. The bounding boxes may vary greatly in size, and multiple bounding boxes may ...
Trees are pretty linear in nature, since the number of edges is always one less than the number of vertices. Furthermore, the absence of cycles can sometimes drastically reduce the computational complexity of otherwise pretty hard problems. For example, the longest path problem is NP-hard for general graphs, but is eas...
A middlebox consumes some resources (CPU ticks, RAM, etc.) to process a traffic, e.g., a IDS consume 50% CPU and 20% RAM to process a 100M bps flow. Here is the problem. 100M bps flow may consume more resource if the flow is processed by a lot computationally expensive rules. Therefore, my question is that are there an...
I have a very complicated formula logical (CNF) in the file DIMACS. The question is as follows. The formula has hundreds of millions of clauses (assume billion) and a lot of variables. It is a reconstruction of a logic circuit. MiniSAT returns me the result for the SAT problem very quickly (a few seconds). Can I increa...
I am now reading two modern books on machine learning theory. Both of them emphasize that, in order to succeed in supervised learning, one must choose a good hypothesis class. "Good" means that it is sufficiently simple (formally, has a low VC dimension) and that it contains the true hypothesis or sufficiently close hy...
I have to proof this theorem: "An extendible hashing table always contains at least one bucket where only one pointer points to after an element is added". I made this proof, but I'm not completely sure if it's correct. Note: The expand-operation on an extendible hashing table works by first doubling the pointer array....