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
#User-defined settings | |
export PATH=~/Qt/5.5/gcc_64/bin/:$PATH | |
alias oecore='. /opt/trik-sdk/environment-setup-arm926ejste-oe-linux-gnueabi && xdotool key --delay 100 Alt+t p Down Down Return' | |
alias sublime='/home/yurii/Sublime\ Text\ 2/sublime_text 1> /dev/null 2>/dev/null' | |
alias creator='~/Qt/Tools/QtCreator/bin/qtcreator.sh 1>/dev/null 2>/dev/null &' | |
build() { |
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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Queue_ | |
{ | |
class Program | |
{ |
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
template <typename T> | |
class BST | |
{ | |
public: | |
struct Node | |
{ | |
T item; | |
Node* left; | |
Node* right; | |
Node(T value) : left(nullptr), right(nullptr) {item = value;} |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
namespace ParseTree | |
{ | |
public class Tree | |
{ |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ParseTree | |
{ | |
public interface Node | |
{ | |
double Calculate(); |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ParseTree | |
{ | |
public class NodeOperand : Node | |
{ | |
private double value; |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ParseTree | |
{ | |
public class NodeOperation : Node | |
{ | |
private Node left; |
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; | |
import java.util.Collection; | |
import java.util.Iterator; | |
import java.util.Set; | |
public interface Multiset<E> extends Collection<E> { | |
/** | |
* Returns the number of occurrences of an element in this multiset. |
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; | |
import org.junit.Test; | |
import java.util.*; | |
import static org.hamcrest.CoreMatchers.is; | |
import static org.hamcrest.Matchers.greaterThanOrEqualTo; | |
import static org.junit.Assert.*; |
OlderNewer