Skip to content

Commit

Permalink
updating the package structure for better understanding
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishektripathi66 committed Nov 14, 2024
1 parent e2f9062 commit e17f580
Show file tree
Hide file tree
Showing 182 changed files with 17 additions and 116 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package arrayproject;

import java.util.Scanner;

public class averagetemp {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,20 @@ In a linked list of size n, where n is even, the ith node (0-indexed) of the lin
* ListNode(int val, ListNode next) { this.val = val; this.next = next; }
* }
*/


import java.util.*;

class ListNode {
int val;
ListNode next;
ListNode() {}
ListNode(int val) { this.val = val; }
ListNode(int val, ListNode next) { this.val = val; this.next = next; }
}

/** My Solution **/
class Solution {
public class MaximumTwinSumofaLinkedList {
public int pairSum(ListNode head) {
List<Integer> a = new ArrayList<>();
while(head!=null){
Expand All @@ -42,7 +54,7 @@ public int pairSum(ListNode head) {
}

/** best solution **/
class Solution {
class Solution1 {
private static int [] a = new int[100000];
public int pairSum(ListNode head) {

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions queue/queue.java → Data Structures/queue/Queue.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
package queue;


// Queue class implemented using an array
public class Queue {
int[] queue;
Expand Down
File renamed without changes.
File renamed without changes.
55 changes: 0 additions & 55 deletions LeetcodeLeaf/SimilarTrees.java

This file was deleted.

23 changes: 0 additions & 23 deletions NLP/it_mlnlpmdj_02_enus_03.py

This file was deleted.

28 changes: 0 additions & 28 deletions NLP/mlnlpmdj_02_02.py

This file was deleted.

Binary file removed arrayproject/averagetemp.class
Binary file not shown.
6 changes: 0 additions & 6 deletions hello.java

This file was deleted.

0 comments on commit e17f580

Please sign in to comment.