Table Widget

The table is an efficient tool for organizing data in rows and columns. The ‘Table widget’ lets you enter content in a tabular form.

This is what it looks like:

Edit mode
Edit mode

Several formatting options are available to help you create the table of your preference.

How to add or delete rows/columns

  • To add or delete a row, hover over the leftmost edge.

  • To add or delete a column, hover over the topmost edge.

Click the ‘three dots’ icon and select the required action from the drop-down menu.

Row-related operations
Row-related operations
Column-related operations
Column-related operations

How to adjust the column’s width

You can adjust the column’s width by dragging the edge until you get the desired width.

How to merge cells

To merge cells, select all the desired empty cells. A “Merge cells” option will be displayed subsequently.

A merged cell can be unmerged by selecting it and then right-clicking. The “Remove merge” option will appear subsequently.

Example

Below, you can find some examples of the Table widget in action.

Singly-Linked List Operations

Operation

Time Complexity

insertAtHead()

O(1)

deleteAtTail()

O(n) with no tail pointer

O(1) with tail pointer

search()

O(n)