This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "List.h" | |
#include <stdlib.h> | |
typedef struct ListElement | |
{ | |
int value; | |
struct ListElement* next; | |
} ListElement; | |
typedef struct List |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {Component} from 'react'; | |
import ControlWrapper from "../ControlWrapper/ControlWrapper"; | |
import TextField from '@material-ui/core/TextField'; | |
import Table from '@material-ui/core/Table'; | |
import TableBody from '@material-ui/core/TableBody'; | |
import TableCell from '@material-ui/core/TableCell'; | |
import TableContainer from '@material-ui/core/TableContainer'; | |
import TableHead from '@material-ui/core/TableHead'; | |
import TableRow from '@material-ui/core/TableRow'; | |
import Paper from '@material-ui/core/Paper'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open FParsec | |
type Expression = | |
| Plus of Expression * Expression | |
| Minus of Expression * Expression | |
| Multiplication of Expression * Expression | |
| Division of Expression * Expression | |
| Negation of Expression | |
| Number of int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <malloc.h> | |
bool isEven(int num) | |
{ | |
return num % 2 == 0; | |
} | |
void insertionSort(int num, int mass[]) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "DoubleList.h" | |
struct DoubleListElement | |
{ | |
double value = 0.0; | |
DoubleListElement* prev = nullptr; | |
DoubleListElement* next = nullptr; | |
}; | |
struct DoubleList |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
import java.lang.reflect.InvocationTargetException; | |
import java.util.*; | |
import static org.junit.Assert.*; | |
public class SmartListTest { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package task; | |
public class AmbiguousImplementationException extends Exception { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.streams; | |
import java.util.Arrays; | |
import java.util.List; | |
public class Album { | |
private final String name; | |
private final List<Track> tracks; | |
private final Artist artist; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Iterator; | |
import java.util.Set; | |
import java.util.TreeSet; | |
public interface MyTreeSet<E> extends Set<E> { | |
/** {@link TreeSet#descendingIterator()} **/ | |
Iterator<E> descendingIterator(); | |
/** {@link TreeSet#descendingSet()} **/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example; | |
import org.jetbrains.annotations.NotNull; | |
import java.util.*; | |
/** | |
* Implements multiset based on LinkedHashMap class. | |
* @param <E> Type of stored elements. | |
*/ |
NewerOlder