Tags » Linked List

328. Odd Even Linked List

Difficulty: Easy

Frequency: N/A

Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in the nodes. 179 more words

Leetcode

206. Reverse Linked List

Difficulty: Easy

Frequency: N/A

Reverse a singly linked list.

click to show more hints.

Hint:A linked list can be reversed either iteratively or recursively. Could you implement both? 70 more words

Leetcode

138. Copy List with Random Pointer

Difficulty:  Hard

Frequency: N/A

A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. 131 more words

Leetcode

The middle of linked list

Problem statement:

You’re given a linked list without knowing the length. How to find the value of the middle of this linked list? 180 more words

Linked List

Skip List

Intro :- Skip list is a data structure that can be used as a alternative to balanced trees.Skip list built in layers as shown below. 168 more words

Data Structure

Longest sub linked list

Problem statement:

You’re given a linked list, find the longest sub linked list that if the sequence start with node have value x and end when we meet node have value  313 more words

Amazon Interview Question

Struktur Data

Dewasa ini sudah banyak berkembang bahasa – bahasa permrograman tingkat tinggi yang pemakaiannya sangat mudah, hanya tinggal klik dan drag saja. Meskipun demikian, tetap saja programmer harus menuliskan kode-kode program agar objek-objek yang sudah dibuat dapat bertingkah laku atau bekerja sesua dengan yang diinginkan. 1,602 more words

Tugas Kampus