I uploaded a table in a Jupyter notebook (ipynb file). The table contains some pipes '|', and it is in a markdown-formatted cell of course. It looks normal on my local Jupyter notebook:
The codes for the table are:
||**hash table**|**direct-address table**|
|:-|:--------------:|:------------------------:|
|Storage requirement|$\Theta(|K|)$|$|U|$|
|Search time| $O(1)$ time for *average-case*|$O(1)$ time for *worst-case*|
|Location of an element with key $k$|slot $h(k)$|slot $k$|
However, it seems to be a problem when I open it after uploading to Github (I suspect errors with the '|' symbol):
The center alignment also failed.
I apologise if the question has been asked before, but I tried other answers on SO: escape-pipe. Unfortunately, the \| they recommended did not work. The link to the GitHub page is: this one, where you can see the edited full codes.
Could anyone help? I am rather new in Github and Markdown.

